add F2 to force metrics and textures reload

This commit is contained in:
Chris Danford
2003-11-17 11:48:12 +00:00
parent e2907f7803
commit 2ab65cf3ad
+6
View File
@@ -1011,6 +1011,12 @@ bool HandleGlobalInputs( DeviceInput DeviceI, InputEventType type, GameInput Gam
return false; // Attract need to know because they go to TitleMenu on > 1 credit
}
if(DeviceI == DeviceInput(DEVICE_KEYBOARD, SDLK_F2))
{
THEME->ReloadMetrics();
TEXTUREMAN->ReloadAll();
return true;
}
#ifndef DARWIN
if(DeviceI == DeviceInput(DEVICE_KEYBOARD, SDLK_F4))
{