diff --git a/src/gui/game/GameView.cpp b/src/gui/game/GameView.cpp index 41dc24834..4f434acb1 100644 --- a/src/gui/game/GameView.cpp +++ b/src/gui/game/GameView.cpp @@ -1347,8 +1347,15 @@ void GameView::OnKeyPress(int key, Uint16 character, bool shift, bool ctrl, bool c->ShowConsole(); break; case 'p': + case KEY_F2: screenshot(); break; + case KEY_F3: + SetDebugHUD(!GetDebugHUD()); + break; + case KEY_F5: + c->ReloadSim(); + break; case 'r': if (ctrl) c->ReloadSim(); diff --git a/src/gui/interface/Keys.h b/src/gui/interface/Keys.h index c42a89441..b74042f34 100644 --- a/src/gui/interface/Keys.h +++ b/src/gui/interface/Keys.h @@ -45,6 +45,9 @@ #define KEY_w SDLK_w #define KEY_F1 SDLK_F1 +#define KEY_F2 SDLK_F2 +#define KEY_F3 SDLK_F3 +#define KEY_F5 SDLK_F5 #define BUTTON_LEFT SDL_BUTTON_LEFT #define BUTTON_MIDDLE SDL_BUTTON_MIDDLE @@ -83,5 +86,8 @@ #define KEY_w 25 #define KEY_F1 26 +#define KEY_F2 27 +#define KEY_F3 28 +#define KEY_F5 29 #endif