aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2023-07-26 22:27:28 +0100
committerJuan J. Martinez <jjm@usebox.net>2023-07-26 22:27:28 +0100
commit32905d613f8c750748a8b74466b84afab490c16f (patch)
tree7c316000d80acd078ce2d173b04eb847911bc6df /src
parentd54da3f3c22eb20bbc6e32d2e000d380dfeef678 (diff)
downloadgold-mine-run-32905d613f8c750748a8b74466b84afab490c16f.tar.gz
gold-mine-run-32905d613f8c750748a8b74466b84afab490c16f.zip
Stage 25
Diffstat (limited to 'src')
-rw-r--r--src/data.h1
-rw-r--r--src/game.c3
2 files changed, 3 insertions, 1 deletions
diff --git a/src/data.h b/src/data.h
index 8ccb4ad..77ff6e0 100644
--- a/src/data.h
+++ b/src/data.h
@@ -38,6 +38,7 @@ extern const uint8_t binary_stage21_start[];
extern const uint8_t binary_stage22_start[];
extern const uint8_t binary_stage23_start[];
extern const uint8_t binary_stage24_start[];
+extern const uint8_t binary_stage25_start[];
/* sound */
extern const uint8_t binary_music_start[];
diff --git a/src/game.c b/src/game.c
index e99b6e3..7c39def 100644
--- a/src/game.c
+++ b/src/game.c
@@ -53,7 +53,7 @@ static Entity *tmonster;
/* 0-index */
#define START_STAGE 0
-#define STAGES_LEN 24
+#define STAGES_LEN 25
static const uint8_t *stages[STAGES_LEN] = {
binary_stage01_start, binary_stage02_start, binary_stage03_start, binary_stage04_start,
@@ -62,6 +62,7 @@ static const uint8_t *stages[STAGES_LEN] = {
binary_stage13_start, binary_stage14_start, binary_stage15_start, binary_stage16_start,
binary_stage17_start, binary_stage18_start, binary_stage19_start, binary_stage20_start,
binary_stage21_start, binary_stage22_start, binary_stage23_start, binary_stage24_start,
+ binary_stage25_start,
};
static void hud_render()