Cleanup. Make everything line up nicely with 4 space tabstops.
This commit is contained in:
@@ -50,15 +50,14 @@ IPreference *PrefsManager::GetPreferenceByName( const CString &sName )
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool g_bAutoRestart = false;
|
bool g_bAutoRestart = false;
|
||||||
|
#ifdef DEBUG
|
||||||
|
# define TRUE_IF_DEBUG true
|
||||||
|
#else
|
||||||
|
# define TRUE_IF_DEBUG false
|
||||||
|
#endif
|
||||||
|
|
||||||
PrefsManager::PrefsManager() :
|
PrefsManager::PrefsManager() :
|
||||||
m_bWindowed ( "Windowed",
|
m_bWindowed ( "Windowed", TRUE_IF_DEBUG),
|
||||||
#ifdef DEBUG
|
|
||||||
true
|
|
||||||
#else
|
|
||||||
false
|
|
||||||
#endif
|
|
||||||
),
|
|
||||||
m_iDisplayWidth ( "DisplayWidth", 640 ),
|
m_iDisplayWidth ( "DisplayWidth", 640 ),
|
||||||
m_iDisplayHeight ( "DisplayHeight", 480 ),
|
m_iDisplayHeight ( "DisplayHeight", 480 ),
|
||||||
m_iDisplayColorDepth ( "DisplayColorDepth", 16 ),
|
m_iDisplayColorDepth ( "DisplayColorDepth", 16 ),
|
||||||
@@ -67,19 +66,15 @@ PrefsManager::PrefsManager() :
|
|||||||
m_iMaxTextureResolution ( "MaxTextureResolution", 2048 ),
|
m_iMaxTextureResolution ( "MaxTextureResolution", 2048 ),
|
||||||
m_iRefreshRate ( "RefreshRate", REFRESH_DEFAULT ),
|
m_iRefreshRate ( "RefreshRate", REFRESH_DEFAULT ),
|
||||||
m_fDisplayAspectRatio ( "DisplayAspectRatio", 4/3.0f ),
|
m_fDisplayAspectRatio ( "DisplayAspectRatio", 4/3.0f ),
|
||||||
m_bShowStats ( "ShowStats",
|
m_bShowStats ( "ShowStats", TRUE_IF_DEBUG),
|
||||||
#ifdef DEBUG
|
|
||||||
true
|
|
||||||
#else
|
|
||||||
false
|
|
||||||
#endif
|
|
||||||
),
|
|
||||||
m_bShowBanners ( "ShowBanners", true ),
|
m_bShowBanners ( "ShowBanners", true ),
|
||||||
|
|
||||||
m_BackgroundMode ( "BackgroundMode", BGMODE_ANIMATIONS ),
|
m_BackgroundMode ( "BackgroundMode", BGMODE_ANIMATIONS ),
|
||||||
m_iNumBackgrounds ( "NumBackgrounds", 8 ),
|
m_iNumBackgrounds ( "NumBackgrounds", 8 ),
|
||||||
m_fBGBrightness ( "BGBrightness", 0.8f ),
|
m_fBGBrightness ( "BGBrightness", 0.8f ),
|
||||||
m_bHiddenSongs ( "HiddenSongs", false ), /* I'd rather get occasional people asking for support for this even though it's already here than lots of people asking why songs aren't being displayed. */
|
/* I'd rather get occasional people asking for support for this even though
|
||||||
|
* it's already here than lots of people asking why songs aren't being displayed. */
|
||||||
|
m_bHiddenSongs ( "HiddenSongs", false ),
|
||||||
m_bVsync ( "Vsync", true ),
|
m_bVsync ( "Vsync", true ),
|
||||||
m_bInterlaced ( "Interlaced", false ),
|
m_bInterlaced ( "Interlaced", false ),
|
||||||
/* XXX: Set these defaults for individual consoles using VideoCardDefaults.ini. */
|
/* XXX: Set these defaults for individual consoles using VideoCardDefaults.ini. */
|
||||||
@@ -324,6 +319,7 @@ PrefsManager::PrefsManager() :
|
|||||||
Init();
|
Init();
|
||||||
ReadGlobalPrefsFromDisk();
|
ReadGlobalPrefsFromDisk();
|
||||||
}
|
}
|
||||||
|
#undef TRUE_IF_DEBUG
|
||||||
|
|
||||||
void PrefsManager::Init()
|
void PrefsManager::Init()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user