diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/common.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/include/common.h b/include/common.h index 140044d..36a2d21 100644 --- a/include/common.h +++ b/include/common.h @@ -1,11 +1,17 @@ struct field; +struct idlist; + +enum game_state { + GS_MAIN_MENU, + GS_STARTED, + GS_GAME_OVER, + GS_GAME_OVER_WAIT, + GS_PAUSED +}; struct game { + enum game_state state; size_t level; - int started; - int paused; - int over_wait; - int over; int scoreCurrent; int moveLatency; int lines; |