diff options
Diffstat (limited to 'src/game/client/components/menus.hpp')
| -rw-r--r-- | src/game/client/components/menus.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game/client/components/menus.hpp b/src/game/client/components/menus.hpp index 4d45c65a..6caaa479 100644 --- a/src/game/client/components/menus.hpp +++ b/src/game/client/components/menus.hpp @@ -60,6 +60,11 @@ class MENUS : public COMPONENT int active_page; bool menu_active; vec2 mouse_pos; + + // TODO: this is a bit ugly but.. well.. yeah + enum { MAX_INPUTEVENTS = 32 }; + static INPUT_EVENT inputevents[MAX_INPUTEVENTS]; + static int num_inputevents; // for graphic settings bool need_restart; |