#ifndef ACTION_H #define ACTION_H #include typedef enum { ACTION_NONE, ACTION_QUIT, ACTION_MOVE, ACTION_WARP, ACTION_WARP_BUF_PUSH, ACTION_WARP_BUF_POP, ACTION_ZOOM_IN, ACTION_ZOOM_OUT, ACTION_ZOOM_RESET, ACTION_UNDO, ACTION_NEXT, ACTION_SOLVE, ACTION_RESET, ACTION_FULLSCREEN, ACTION_LAST, } action_type_t; typedef struct { action_type_t type; uint64_t data; } action_t; action_t get_action(const SDL_Event * const); #endif /* ACTION_H */