aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2023-07-20 21:02:04 +0100
committerJuan J. Martinez <jjm@usebox.net>2023-07-20 21:02:04 +0100
commit756e425585ba717915b74573741c52020b1b724a (patch)
treed90aa252a037143eb6ac328eedf8c1e8d7280f45 /src
parent21d5ae817f2c59815b89014413a73084dfa47133 (diff)
downloadgold-mine-run-756e425585ba717915b74573741c52020b1b724a.tar.gz
gold-mine-run-756e425585ba717915b74573741c52020b1b724a.zip
Stage 16
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 24bd449..5b2d118 100644
--- a/src/data.h
+++ b/src/data.h
@@ -29,6 +29,7 @@ extern const uint8_t binary_stage12_start[];
extern const uint8_t binary_stage13_start[];
extern const uint8_t binary_stage14_start[];
extern const uint8_t binary_stage15_start[];
+extern const uint8_t binary_stage16_start[];
/* sound */
extern const uint8_t binary_music_start[];
diff --git a/src/game.c b/src/game.c
index 52ea64c..9f9b8e3 100644
--- a/src/game.c
+++ b/src/game.c
@@ -53,13 +53,13 @@ static Entity *tmonster;
/* 0-index */
#define START_STAGE 0
-#define STAGES_LEN 15
+#define STAGES_LEN 16
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_stage08_start,
binary_stage09_start, binary_stage10_start, binary_stage11_start, binary_stage12_start,
- binary_stage13_start, binary_stage14_start, binary_stage15_start,
+ binary_stage13_start, binary_stage14_start, binary_stage15_start, binary_stage16_start,
};
static void hud_render()