aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2023-07-20 22:59:06 +0100
committerJuan J. Martinez <jjm@usebox.net>2023-07-20 22:59:06 +0100
commit29b9ec683ff6f47db4f4535fec3c79eee6fb4837 (patch)
tree3db98f1e66f55936b2c369afecaffe585dfb29ec /src
parent682d82725691def05939062005f25c0073983b33 (diff)
downloadgold-mine-run-29b9ec683ff6f47db4f4535fec3c79eee6fb4837.tar.gz
gold-mine-run-29b9ec683ff6f47db4f4535fec3c79eee6fb4837.zip
Stage 18
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 d87640e..adac22d 100644
--- a/src/data.h
+++ b/src/data.h
@@ -31,6 +31,7 @@ extern const uint8_t binary_stage14_start[];
extern const uint8_t binary_stage15_start[];
extern const uint8_t binary_stage16_start[];
extern const uint8_t binary_stage17_start[];
+extern const uint8_t binary_stage18_start[];
/* sound */
extern const uint8_t binary_music_start[];
diff --git a/src/game.c b/src/game.c
index 28c0cca..9d7d1ed 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 17
+#define STAGES_LEN 18
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_stage17_start, binary_stage18_start,
};
static void hud_render()