fuck, I committed this?
This commit is contained in:
@@ -569,7 +569,6 @@ static LocalizedString WRITE_PREFERENCES ( "ScreenDebugOverlay", "Write Preferen
|
|||||||
static LocalizedString MENU_TIMER ( "ScreenDebugOverlay", "Menu Timer" );
|
static LocalizedString MENU_TIMER ( "ScreenDebugOverlay", "Menu Timer" );
|
||||||
static LocalizedString FLUSH_LOG ( "ScreenDebugOverlay", "Flush Log" );
|
static LocalizedString FLUSH_LOG ( "ScreenDebugOverlay", "Flush Log" );
|
||||||
static LocalizedString PULL_BACK_CAMERA ( "ScreenDebugOverlay", "Pull Back Camera" );
|
static LocalizedString PULL_BACK_CAMERA ( "ScreenDebugOverlay", "Pull Back Camera" );
|
||||||
static LocalizedString ZOOM_IN_CAMERA ( "ScreenDebugOverlay", "Zoom In Camera" );
|
|
||||||
static LocalizedString VISUAL_DELAY_UP ( "ScreenDebugOverlay", "Visual Delay Up" );
|
static LocalizedString VISUAL_DELAY_UP ( "ScreenDebugOverlay", "Visual Delay Up" );
|
||||||
static LocalizedString VISUAL_DELAY_DOWN ( "ScreenDebugOverlay", "Visual Delay Down" );
|
static LocalizedString VISUAL_DELAY_DOWN ( "ScreenDebugOverlay", "Visual Delay Down" );
|
||||||
static LocalizedString VOLUME_UP ( "ScreenDebugOverlay", "Volume Up" );
|
static LocalizedString VOLUME_UP ( "ScreenDebugOverlay", "Volume Up" );
|
||||||
@@ -1102,7 +1101,7 @@ class DebugLinePullBackCamera : public IDebugLine
|
|||||||
{
|
{
|
||||||
virtual RString GetDisplayTitle() { return PULL_BACK_CAMERA.GetValue(); }
|
virtual RString GetDisplayTitle() { return PULL_BACK_CAMERA.GetValue(); }
|
||||||
virtual RString GetDisplayValue() { return RString(); }
|
virtual RString GetDisplayValue() { return RString(); }
|
||||||
virtual bool IsEnabled() { return g_fImageScaleDestination < 1.0f; }
|
virtual bool IsEnabled() { return g_fImageScaleDestination != 1; }
|
||||||
virtual void DoAndLog( RString &sMessageOut )
|
virtual void DoAndLog( RString &sMessageOut )
|
||||||
{
|
{
|
||||||
if( g_fImageScaleDestination == 1 )
|
if( g_fImageScaleDestination == 1 )
|
||||||
@@ -1113,21 +1112,6 @@ class DebugLinePullBackCamera : public IDebugLine
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
class DebugLineZoomInCamera : public IDebugLine
|
|
||||||
{
|
|
||||||
virtual RString GetDisplayTitle() { return ZOOM_IN_CAMERA.GetValue(); }
|
|
||||||
virtual RString GetDisplayValue() { return RString(); }
|
|
||||||
virtual bool IsEnabled() { return g_fImageScaleDestination > 1.0f; }
|
|
||||||
virtual void DoAndLog( RString &sMessageOut )
|
|
||||||
{
|
|
||||||
if( g_fImageScaleDestination == 1 )
|
|
||||||
g_fImageScaleDestination = 2.0f;
|
|
||||||
else
|
|
||||||
g_fImageScaleDestination = 1;
|
|
||||||
IDebugLine::DoAndLog( sMessageOut );
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
class DebugLineVolumeUp : public IDebugLine
|
class DebugLineVolumeUp : public IDebugLine
|
||||||
{
|
{
|
||||||
virtual RString GetDisplayTitle() { return VOLUME_UP.GetValue(); }
|
virtual RString GetDisplayTitle() { return VOLUME_UP.GetValue(); }
|
||||||
@@ -1242,7 +1226,6 @@ DECLARE_ONE( DebugLineWritePreferences );
|
|||||||
DECLARE_ONE( DebugLineMenuTimer );
|
DECLARE_ONE( DebugLineMenuTimer );
|
||||||
DECLARE_ONE( DebugLineFlushLog );
|
DECLARE_ONE( DebugLineFlushLog );
|
||||||
DECLARE_ONE( DebugLinePullBackCamera );
|
DECLARE_ONE( DebugLinePullBackCamera );
|
||||||
DECLARE_ONE( DebugLineZoomInCamera );
|
|
||||||
DECLARE_ONE( DebugLineVolumeUp );
|
DECLARE_ONE( DebugLineVolumeUp );
|
||||||
DECLARE_ONE( DebugLineVolumeDown );
|
DECLARE_ONE( DebugLineVolumeDown );
|
||||||
DECLARE_ONE( DebugLineVisualDelayUp );
|
DECLARE_ONE( DebugLineVisualDelayUp );
|
||||||
|
|||||||
Reference in New Issue
Block a user