aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2023-07-22 21:53:08 +0100
committerJuan J. Martinez <jjm@usebox.net>2023-07-22 21:53:08 +0100
commita26f820e8f63238ad57e91062e7d0d22195598cd (patch)
tree69e44ed6d43fd246df691f052f09fd02e457d318 /src
parentd11a8ff7daf064f2015a0e270ebee900e6088e45 (diff)
downloadgold-mine-run-a26f820e8f63238ad57e91062e7d0d22195598cd.tar.gz
gold-mine-run-a26f820e8f63238ad57e91062e7d0d22195598cd.zip
Stage 20
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 a0d93d2..d45dc96 100644
--- a/src/data.h
+++ b/src/data.h
@@ -33,6 +33,7 @@ extern const uint8_t binary_stage16_start[];
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[];
/* sound */
extern const uint8_t binary_music_start[];
diff --git a/src/game.c b/src/game.c
index b561795..080e330 100644
--- a/src/game.c
+++ b/src/game.c
@@ -53,14 +53,14 @@ static Entity *tmonster;
/* 0-index */
#define START_STAGE 0
-#define STAGES_LEN 19
+#define STAGES_LEN 20
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_stage16_start,
- binary_stage17_start, binary_stage18_start, binary_stage19_start,
+ binary_stage17_start, binary_stage18_start, binary_stage19_start, binary_stage20_start,
};
static void hud_render()