aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2023-07-15 22:46:39 +0100
committerJuan J. Martinez <jjm@usebox.net>2023-07-15 22:46:39 +0100
commitffb12588e9af6435306a1cdfabc1bf67e8e33dfd (patch)
tree12ce6c979f395a8c41529229ea55bd86db4d6a5a /src
parent941c43575d1e335371a6a109222fe542136d442a (diff)
downloadgold-mine-run-ffb12588e9af6435306a1cdfabc1bf67e8e33dfd.tar.gz
gold-mine-run-ffb12588e9af6435306a1cdfabc1bf67e8e33dfd.zip
Stage 10
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 1ea2bda..0006a4a 100644
--- a/src/data.h
+++ b/src/data.h
@@ -23,6 +23,7 @@ extern const uint8_t binary_stage06_start[];
extern const uint8_t binary_stage07_start[];
extern const uint8_t binary_stage08_start[];
extern const uint8_t binary_stage09_start[];
+extern const uint8_t binary_stage10_start[];
/* sound */
extern const uint8_t binary_music_start[];
diff --git a/src/game.c b/src/game.c
index b5f94dd..06cea08 100644
--- a/src/game.c
+++ b/src/game.c
@@ -50,12 +50,12 @@ static Entity *tmonster;
/* 0-index */
#define START_STAGE 0
-#define STAGES_LEN 9
+#define STAGES_LEN 10
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_stage09_start, binary_stage10_start
};
static void hud_render()