add Tab plus Caps for 16x menu speed
This commit is contained in:
@@ -795,11 +795,15 @@ static void GameLoop()
|
||||
if( INPUTFILTER->IsBeingPressed( DeviceInput(DEVICE_KEYBOARD, SDLK_TAB) ) ) {
|
||||
if( INPUTFILTER->IsBeingPressed( DeviceInput(DEVICE_KEYBOARD, SDLK_BACKQUOTE) ) )
|
||||
fDeltaTime = 0; /* both; stop time */
|
||||
else if( INPUTFILTER->IsBeingPressed( DeviceInput(DEVICE_KEYBOARD, SDLK_CAPSLOCK) ) )
|
||||
fDeltaTime *= 16;
|
||||
else
|
||||
fDeltaTime *= 4;
|
||||
} else
|
||||
if( INPUTFILTER->IsBeingPressed( DeviceInput(DEVICE_KEYBOARD, SDLK_BACKQUOTE) ) )
|
||||
fDeltaTime /= 4;
|
||||
}
|
||||
else if( INPUTFILTER->IsBeingPressed( DeviceInput(DEVICE_KEYBOARD, SDLK_BACKQUOTE) ) )
|
||||
{
|
||||
fDeltaTime /= 4;
|
||||
}
|
||||
|
||||
DISPLAY->Update( fDeltaTime );
|
||||
TEXTUREMAN->Update( fDeltaTime );
|
||||
|
||||
Reference in New Issue
Block a user