From c466fba954d150b8ce79d8e642957b3719f3a8a9 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 24 Jan 2006 04:41:47 +0000 Subject: [PATCH] cleanup --- stepmania/src/ScreenDebugOverlay.cpp | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/stepmania/src/ScreenDebugOverlay.cpp b/stepmania/src/ScreenDebugOverlay.cpp index c7491c6fff..1c898552d1 100644 --- a/stepmania/src/ScreenDebugOverlay.cpp +++ b/stepmania/src/ScreenDebugOverlay.cpp @@ -269,8 +269,8 @@ void ScreenDebugOverlay::UpdateText() txt2.SetText( s1 + s2 ); } - if( g_bIsHalt ) - { + if( g_bIsHalt ) + { /* More than once I've paused the game accidentally and wasted time * figuring out why, so warn. */ if( g_HaltTimer.Ago() >= 5.0f ) @@ -278,7 +278,7 @@ void ScreenDebugOverlay::UpdateText() g_HaltTimer.Touch(); LOG->Warn( "Game halted" ); } - } + } } bool ScreenDebugOverlay::OverlayInput( const InputEventPlus &input ) @@ -332,23 +332,23 @@ bool ScreenDebugOverlay::OverlayInput( const InputEventPlus &input ) // static void SetSpeed() { - if( g_bIsHalt ) - { + if( g_bIsHalt ) + { INPUTFILTER->ButtonPressed( DeviceInput(DEVICE_KEYBOARD, KEY_TAB), true ); INPUTFILTER->ButtonPressed( DeviceInput(DEVICE_KEYBOARD, KEY_ACCENT), true ); - } - else if( g_bIsSlow ) - { + } + else if( g_bIsSlow ) + { INPUTFILTER->ButtonPressed( DeviceInput(DEVICE_KEYBOARD, KEY_TAB), false ); INPUTFILTER->ButtonPressed( DeviceInput(DEVICE_KEYBOARD, KEY_ACCENT), true ); - } - else - { + } + else + { INPUTFILTER->ButtonPressed( DeviceInput(DEVICE_KEYBOARD, KEY_TAB), false ); INPUTFILTER->ButtonPressed( DeviceInput(DEVICE_KEYBOARD, KEY_ACCENT), false ); - } + } - // PauseMusic( g_bIsHalt ); + // PauseMusic( g_bIsHalt ); } void ChangeVolume( float fDelta )