summaryrefslogtreecommitdiff
path: root/catch.h
diff options
context:
space:
mode:
authorVictor Gamper <victor@wenzeslaus.de>2020-01-26 21:52:45 +0100
committerVictor Gamper <victor@wenzeslaus.de>2020-01-26 21:52:45 +0100
commit76325b786c3f36b79c39d3d467ac9faabf893863 (patch)
treebdfca6978bb05bcd740b6e043472dc4f563b8385 /catch.h
parente54eae390ef0c734b6397ec4ecdb6d1238b13288 (diff)
downloadc-catch-76325b786c3f36b79c39d3d467ac9faabf893863.tar.gz
c-catch-76325b786c3f36b79c39d3d467ac9faabf893863.zip
Added a round time
Diffstat (limited to 'catch.h')
-rw-r--r--catch.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/catch.h b/catch.h
index 0607a16..09a4c83 100644
--- a/catch.h
+++ b/catch.h
@@ -32,6 +32,10 @@
#define STATE_MAIN_MENU 1
#define STATE_GAME 2
#define STATE_GAME_OVER 3
+#define GAME_TIME 60
+
+#define TICK_SPEED 50
+#define TICKS_PER_SECOND 10000 / TICK_SPEED
// cat and bird structures
struct Cat {