diff options
Diffstat (limited to 'include/common.h')
-rw-r--r-- | include/common.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/include/common.h b/include/common.h index 275547a..7a85dbc 100644 --- a/include/common.h +++ b/include/common.h @@ -1,13 +1,13 @@ -struct window { - sfVideoMode mode; - sfRenderWindow *window; - sfEvent event; -}; - struct game { - int isStarted; - int scoreCurrent; - int level; - int moveLatency; - int lines; + int isStarted; + int scoreCurrent; + int level; + int moveLatency; + int lines; + sfClock *gameTick; + sfClock *putTick; + sfClock *mTick; + sfClock *repPushDown; // Clock for repeat latency when Down arrow long push + sfClock *repKeyLeft; // Clock for repeat latency when Left arrow long push + sfClock *repKeyRight; // Clock for repeat latency when Left arrow long push }; |