add TestInitialScreen, remove ScreenTestMode. It's more convenient to enable/disable testing with one Prefrence than having to change 1 Preference + 1 metric

This commit is contained in:
Chris Danford
2008-08-16 10:42:50 +00:00
parent 10955b39cd
commit a4c8c66d10
14 changed files with 20 additions and 26 deletions
-13
View File
@@ -706,18 +706,6 @@ class DebugLineAllowMultitexture : public IDebugLine
}
};
class DebugLineScreenTestMode : public IDebugLine
{
virtual RString GetDisplayTitle() { return SCREEN_TEST_MODE.GetValue(); }
virtual bool IsEnabled() { return PREFSMAN->m_bScreenTestMode.Get(); }
virtual RString GetPageName() const { return "Theme"; }
virtual void DoAndMakeSystemMessage( RString &sMessageOut )
{
PREFSMAN->m_bScreenTestMode.Set( !PREFSMAN->m_bScreenTestMode );
IDebugLine::DoAndMakeSystemMessage( sMessageOut );
}
};
class DebugLineShowMasks : public IDebugLine
{
virtual RString GetDisplayTitle() { return SCREEN_SHOW_MASKS.GetValue(); }
@@ -1146,7 +1134,6 @@ DECLARE_ONE( DebugLineMonkeyInput );
DECLARE_ONE( DebugLineStats );
DECLARE_ONE( DebugLineVsync );
DECLARE_ONE( DebugLineAllowMultitexture );
DECLARE_ONE( DebugLineScreenTestMode );
DECLARE_ONE( DebugLineShowMasks );
DECLARE_ONE( DebugLineProfileSlot );
DECLARE_ONE( DebugLineClearProfileStats );