aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2023-07-22 22:10:57 +0100
committerJuan J. Martinez <jjm@usebox.net>2023-07-22 22:10:57 +0100
commite54dfef636c877fd990fb208ad5c7a3e532ef3d1 (patch)
tree9c0b5cf5d649e4147e0359235603b3b2b5fa2d12 /src
parenta26f820e8f63238ad57e91062e7d0d22195598cd (diff)
downloadgold-mine-run-e54dfef636c877fd990fb208ad5c7a3e532ef3d1.tar.gz
gold-mine-run-e54dfef636c877fd990fb208ad5c7a3e532ef3d1.zip
Stage 21
Diffstat (limited to 'src')
-rw-r--r--src/data.h1
-rw-r--r--src/game.c3
2 files changed, 3 insertions, 1 deletions
diff --git a/src/data.h b/src/data.h
index d45dc96..ed08f62 100644
--- a/src/data.h
+++ b/src/data.h
@@ -34,6 +34,7 @@ extern const uint8_t binary_stage17_start[];
extern const uint8_t binary_stage18_start[];
extern const uint8_t binary_stage19_start[];
extern const uint8_t binary_stage20_start[];
+extern const uint8_t binary_stage21_start[];
/* sound */
extern const uint8_t binary_music_start[];
diff --git a/src/game.c b/src/game.c
index 080e330..45ea97f 100644
--- a/src/game.c
+++ b/src/game.c
@@ -53,7 +53,7 @@ static Entity *tmonster;
/* 0-index */
#define START_STAGE 0
-#define STAGES_LEN 20
+#define STAGES_LEN 21
static const uint8_t *stages[STAGES_LEN] = {
binary_stage01_start, binary_stage02_start, binary_stage03_start, binary_stage04_start,
@@ -61,6 +61,7 @@ static const uint8_t *stages[STAGES_LEN] = {
binary_stage09_start, binary_stage10_start, binary_stage11_start, binary_stage12_start,
binary_stage13_start, binary_stage14_start, binary_stage15_start, binary_stage16_start,
binary_stage17_start, binary_stage18_start, binary_stage19_start, binary_stage20_start,
+ binary_stage21_start,
};
static void hud_render()