diff options
Diffstat (limited to 'include/ui.hpp')
-rw-r--r-- | include/ui.hpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/ui.hpp b/include/ui.hpp index 56c484c..f276882 100644 --- a/include/ui.hpp +++ b/include/ui.hpp @@ -43,8 +43,18 @@ void setControl(unsigned int index, SDL_Keycode key); SDL_Keycode getControl(unsigned int index); +#include <entityx/entityx.h> + +class InputSystem : public entityx::System<InputSystem> { +public: + void update(entityx::EntityManager &en, entityx::EventManager &ev, entityx::TimeDelta dt) override; +}; + namespace ui { + extern bool fadeEnable; + extern int fadeIntensity; + // the pixel-coordinates of the mouse extern vec2 mouse; @@ -155,6 +165,7 @@ namespace ui { void toggleWhite(void); void toggleWhiteFast(void); void waitForCover(void); + void waitForUncover(void); } |