Put back Xbox centering options - needed to resize the screen manually
This commit is contained in:
@@ -236,6 +236,11 @@ void PrefsManager::Init()
|
||||
m_bPAL = false;
|
||||
#ifdef _XBOX
|
||||
m_bInterlaced = true;
|
||||
m_fScreenPosX = 0;
|
||||
m_fScreenPosY = 0;
|
||||
m_fScreenWidth = 640;
|
||||
m_fScreenHeight = 480;
|
||||
resizing = false;
|
||||
#else
|
||||
m_bInterlaced = false;
|
||||
#endif
|
||||
@@ -326,6 +331,12 @@ void PrefsManager::ReadPrefsFromFile( CString sIni )
|
||||
ini.GetValue( "Options", "Windowed", m_bWindowed );
|
||||
ini.GetValue( "Options", "Interlaced", m_bInterlaced );
|
||||
ini.GetValue( "Options", "PAL", m_bPAL );
|
||||
#ifdef _XBOX
|
||||
ini.GetValue( "Options", "ScreenPosX", m_fScreenPosX );
|
||||
ini.GetValue( "Options", "ScreenPosY", m_fScreenPosY );
|
||||
ini.GetValue( "Options", "ScreenWidth", m_fScreenWidth );
|
||||
ini.GetValue( "Options", "ScreenHeight", m_fScreenHeight );
|
||||
#endif
|
||||
ini.GetValue( "Options", "CelShadeModels", m_bCelShadeModels );
|
||||
ini.GetValue( "Options", "ConstantUpdateDeltaSeconds", m_fConstantUpdateDeltaSeconds );
|
||||
ini.GetValue( "Options", "DisplayWidth", m_iDisplayWidth );
|
||||
@@ -662,6 +673,12 @@ void PrefsManager::SaveGlobalPrefsToDisk() const
|
||||
ini.SetValue( "Options", "Vsync", m_bVsync );
|
||||
ini.SetValue( "Options", "Interlaced", m_bInterlaced );
|
||||
ini.SetValue( "Options", "PAL", m_bPAL );
|
||||
#ifdef _XBOX
|
||||
ini.SetValue( "Options", "ScreenPosX", m_fScreenPosX );
|
||||
ini.SetValue( "Options", "ScreenPosY", m_fScreenPosY );
|
||||
ini.SetValue( "Options", "ScreenWidth", m_fScreenWidth );
|
||||
ini.SetValue( "Options", "ScreenHeight", m_fScreenHeight );
|
||||
#endif
|
||||
ini.SetValue( "Options", "HowToPlay", m_bInstructions );
|
||||
ini.SetValue( "Options", "Caution", m_bShowDontDie );
|
||||
ini.SetValue( "Options", "ShowSelectGroup", m_bShowSelectGroup );
|
||||
|
||||
@@ -32,6 +32,13 @@ public:
|
||||
bool m_bVsync;
|
||||
bool m_bInterlaced;
|
||||
bool m_bPAL;
|
||||
#ifdef _XBOX
|
||||
float m_fScreenPosX;
|
||||
float m_fScreenPosY;
|
||||
float m_fScreenWidth;
|
||||
float m_fScreenHeight;
|
||||
bool resizing; // true when in the screen center screen
|
||||
#endif
|
||||
bool m_bDelayedTextureDelete;
|
||||
bool m_bTexturePreload;
|
||||
bool m_bDelayedScreenLoad;
|
||||
|
||||
Reference in New Issue
Block a user