aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2023-07-15 21:00:20 +0100
committerJuan J. Martinez <jjm@usebox.net>2023-07-15 21:00:20 +0100
commit9b811357a94f51a1dc1b2be80f470152dfbe397b (patch)
tree5db4881cc5c787774127d28a29f28fe559b94016 /src
parent4b465f9480c848d74f3127638bdce82539cb7604 (diff)
downloadgold-mine-run-9b811357a94f51a1dc1b2be80f470152dfbe397b.tar.gz
gold-mine-run-9b811357a94f51a1dc1b2be80f470152dfbe397b.zip
Stage 8
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 a0b0459..2ed9805 100644
--- a/src/data.h
+++ b/src/data.h
@@ -21,6 +21,7 @@ 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[];
+extern const uint8_t binary_stage08_start[];
/* sound */
extern const uint8_t binary_music_start[];
diff --git a/src/game.c b/src/game.c
index 9539ffc..4f9e44f 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 7
+#define STAGES_LEN 8
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_stage07_start
+ binary_stage05_start, binary_stage06_start, binary_stage07_start, binary_stage08_start
};
static void hud_render()