aboutsummaryrefslogtreecommitdiff
path: root/src/game.h
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2023-06-15 22:35:39 +0100
committerJuan J. Martinez <jjm@usebox.net>2023-06-15 22:35:39 +0100
commit07e829e591394fa182e75ecab86051f1fb850ce7 (patch)
treee3b59887aaa463400392040ccf601eab862eba82 /src/game.h
parent671803751cc9487ea781eb264ab2d76575c345e8 (diff)
downloadgold-mine-run-07e829e591394fa182e75ecab86051f1fb850ce7.tar.gz
gold-mine-run-07e829e591394fa182e75ecab86051f1fb850ce7.zip
Started with the game
Added hud (WIP)
Diffstat (limited to 'src/game.h')
-rw-r--r--src/game.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/game.h b/src/game.h
new file mode 100644
index 0000000..e8c270e
--- /dev/null
+++ b/src/game.h
@@ -0,0 +1,16 @@
+#ifndef _GAME_H
+#define _GAME_H
+
+#define GAME_LIVES_START 3
+#define GAME_LIVES_MAX 9
+
+#define HUD_CLEAN 0
+#define HUD_LIVES 1
+#define HUD_SCORE 2
+#define HUD_STAGE 4
+#define HUD_TIME 8
+#define HUD_ALL 255
+
+void run_game();
+
+#endif /* _GAME_H */