diff options
author | Oxore <oxore@protonmail.com> | 2018-12-06 11:09:44 +0300 |
---|---|---|
committer | Oxore <oxore@protonmail.com> | 2018-12-06 11:15:59 +0300 |
commit | 14f2aadae65713192f1ef722050353c4d781f17e (patch) | |
tree | d37920436c0d07fe37601eee8965b14da9e3b519 /include/common.h | |
parent | 80ff7b315a6b5a9f9c62de5c6b03f52ddf099837 (diff) |
Implement "game over" state (scene)
Also rename arrKeys variable to keys.
Diffstat (limited to 'include/common.h')
-rw-r--r-- | include/common.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h index 76293c5..2273e4d 100644 --- a/include/common.h +++ b/include/common.h @@ -2,10 +2,13 @@ struct game { size_t level; int started; int paused; + int over_wait; + int over; int scoreCurrent; int moveLatency; int lines; sfClock *gameTick; + sfClock *over_wait_tick; sfClock *putTick; sfClock *mTick; sfClock *repPushDown; // repeat latency when hold Down arrow |