aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2023-07-17 21:38:43 +0100
committerJuan J. Martinez <jjm@usebox.net>2023-07-17 21:38:43 +0100
commit8cd2b20ac5bd4b3c0f779753f5fe1c9acf57b5dd (patch)
treedf2224f125f0526b0c4c34f0efc6eca34effe33e /src
parente4b1975a1fd47cd8920f903bd208879a9ebb4042 (diff)
downloadgold-mine-run-8cd2b20ac5bd4b3c0f779753f5fe1c9acf57b5dd.tar.gz
gold-mine-run-8cd2b20ac5bd4b3c0f779753f5fe1c9acf57b5dd.zip
Stage 12
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 3c97c07..2987f7b 100644
--- a/src/data.h
+++ b/src/data.h
@@ -25,6 +25,7 @@ extern const uint8_t binary_stage08_start[];
extern const uint8_t binary_stage09_start[];
extern const uint8_t binary_stage10_start[];
extern const uint8_t binary_stage11_start[];
+extern const uint8_t binary_stage12_start[];
/* sound */
extern const uint8_t binary_music_start[];
diff --git a/src/game.c b/src/game.c
index 8f837a7..535f985 100644
--- a/src/game.c
+++ b/src/game.c
@@ -53,12 +53,12 @@ static Entity *tmonster;
/* 0-index */
#define START_STAGE 0
-#define STAGES_LEN 11
+#define STAGES_LEN 12
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_stage09_start, binary_stage10_start, binary_stage11_start, binary_stage12_start
};
static void hud_render()