From 2ab65cf3ad4f4b7b3de14f01c365e4c743d921a0 Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Mon, 17 Nov 2003 11:48:12 +0000 Subject: [PATCH] add F2 to force metrics and textures reload --- stepmania/src/StepMania.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/stepmania/src/StepMania.cpp b/stepmania/src/StepMania.cpp index 16bf7fc5d8..ab0022cd32 100644 --- a/stepmania/src/StepMania.cpp +++ b/stepmania/src/StepMania.cpp @@ -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)) {