diff options
Diffstat (limited to 'src/sdl/action.h')
-rw-r--r-- | src/sdl/action.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/sdl/action.h b/src/sdl/action.h index e28f9ce..afe6fd3 100644 --- a/src/sdl/action.h +++ b/src/sdl/action.h @@ -2,6 +2,7 @@ #define ACTION_H #include <SDL.h> +#include "game-state.h" typedef enum { ACTION_NONE, @@ -16,6 +17,10 @@ typedef enum { ACTION_UNDO, ACTION_NEXT, ACTION_SOLVE, + ACTION_SOLVE_CANCEL, + ACTION_SOLVE_EVENT_STEP, + ACTION_SOLVE_EVENT_FAIL, + ACTION_SOLVE_EVENT_DONE, ACTION_RESET, ACTION_FULLSCREEN, ACTION_LAST, @@ -26,6 +31,10 @@ typedef struct { uint64_t data; } action_t; -action_t get_action(const SDL_Event * const); +action_t get_action( + const game_state_t, + const SDL_Event * const, + const Uint32 +); #endif /* ACTION_H */ |