aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2023-07-17 22:39:45 +0100
committerJuan J. Martinez <jjm@usebox.net>2023-07-17 22:39:45 +0100
commitb18921f9b08442c52f6bed8645199408a26061c2 (patch)
tree0e902ad32882b4df9df2c9fb5310ccb949d48156 /src
parent8cd2b20ac5bd4b3c0f779753f5fe1c9acf57b5dd (diff)
downloadgold-mine-run-b18921f9b08442c52f6bed8645199408a26061c2.tar.gz
gold-mine-run-b18921f9b08442c52f6bed8645199408a26061c2.zip
Stage 13
Diffstat (limited to 'src')
-rw-r--r--src/data.h1
-rw-r--r--src/game.c5
2 files changed, 4 insertions, 2 deletions
diff --git a/src/data.h b/src/data.h
index 2987f7b..34612d2 100644
--- a/src/data.h
+++ b/src/data.h
@@ -26,6 +26,7 @@ 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[];
+extern const uint8_t binary_stage13_start[];
/* sound */
extern const uint8_t binary_music_start[];
diff --git a/src/game.c b/src/game.c
index 535f985..9341cf0 100644
--- a/src/game.c
+++ b/src/game.c
@@ -53,12 +53,13 @@ static Entity *tmonster;
/* 0-index */
#define START_STAGE 0
-#define STAGES_LEN 12
+#define STAGES_LEN 13
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_stage09_start, binary_stage10_start, binary_stage11_start, binary_stage12_start,
+ binary_stage13_start,
};
static void hud_render()