diff options
Diffstat (limited to 'src/types.c')
-rw-r--r-- | src/types.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/types.c b/src/types.c index bfe0d7d..b50228c 100644 --- a/src/types.c +++ b/src/types.c @@ -56,6 +56,7 @@ enum { typedef struct { int width, height; + int mousex, mousey; } UI; typedef enum { @@ -82,13 +83,13 @@ enum { INPUT_CLICK, INPUT_RCLICK, INPUT_PAUSE_PLAY, + INPUT_MOVE, }; typedef struct { State state; UI ui; int input; - int mousex, mousey; } Game; #define new(a, c, t) ((t *) alloc(a, c, sizeof(t), _Alignof(t))) |