aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2023-07-15 19:13:48 +0100
committerJuan J. Martinez <jjm@usebox.net>2023-07-15 19:13:48 +0100
commit31259bbbcddaeecd50bafd8de1a5f1ef1bd7a8a2 (patch)
tree62563403f704e0946d4f17a7af6accb2b7343d2a /src
parent9f7bd4ccfc1adb1fb98744a0ac0d344a40c23121 (diff)
downloadgold-mine-run-31259bbbcddaeecd50bafd8de1a5f1ef1bd7a8a2.tar.gz
gold-mine-run-31259bbbcddaeecd50bafd8de1a5f1ef1bd7a8a2.zip
Stage 7
Diffstat (limited to 'src')
-rw-r--r--src/data.h1
-rw-r--r--src/game.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/src/data.h b/src/data.h
index d5b5f04..a0b0459 100644
--- a/src/data.h
+++ b/src/data.h
@@ -20,6 +20,7 @@ extern const uint8_t binary_stage03_start[];
extern const uint8_t binary_stage04_start[];
extern const uint8_t binary_stage05_start[];
extern const uint8_t binary_stage06_start[];
+extern const uint8_t binary_stage07_start[];
/* sound */
extern const uint8_t binary_music_start[];
diff --git a/src/game.c b/src/game.c
index 43e6c21..9539ffc 100644
--- a/src/game.c
+++ b/src/game.c
@@ -50,11 +50,11 @@ static Entity *tmonster;
/* 0-index */
#define START_STAGE 0
-#define STAGES_LEN 6
+#define STAGES_LEN 7
static const uint8_t *stages[STAGES_LEN] = {
binary_stage01_start, binary_stage02_start, binary_stage03_start, binary_stage04_start,
- binary_stage05_start, binary_stage06_start
+ binary_stage05_start, binary_stage06_start, binary_stage07_start
};
static void hud_render()