summaryrefslogtreecommitdiff
path: root/src/target
diff options
context:
space:
mode:
authorOxore <oxore@protonmail.com>2018-12-06 11:09:44 +0300
committerOxore <oxore@protonmail.com>2018-12-06 11:15:59 +0300
commit14f2aadae65713192f1ef722050353c4d781f17e (patch)
treed37920436c0d07fe37601eee8965b14da9e3b519 /src/target
parent80ff7b315a6b5a9f9c62de5c6b03f52ddf099837 (diff)
Implement "game over" state (scene)
Also rename arrKeys variable to keys.
Diffstat (limited to 'src/target')
-rw-r--r--src/target/tetris.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/target/tetris.c b/src/target/tetris.c
index eab3c7d..81b2afc 100644
--- a/src/target/tetris.c
+++ b/src/target/tetris.c
@@ -48,6 +48,7 @@ int main()
{
srand(time(NULL));
game.gameTick = sfClock_create();
+ game.over_wait_tick = sfClock_create();
game.putTick = sfClock_create();
game.mTick = sfClock_create();
game.repPushDown = sfClock_create();