aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2023-07-15 22:13:06 +0100
committerJuan J. Martinez <jjm@usebox.net>2023-07-15 22:13:06 +0100
commit41044ad3f9ee7430963e81ad38bd1cf27c714d21 (patch)
treeb0011a6dcac1f221f3fc7be3653a1903bf21baac /src
parent9c910552f551ec9bff014c6b2741756283ccb506 (diff)
downloadgold-mine-run-41044ad3f9ee7430963e81ad38bd1cf27c714d21.tar.gz
gold-mine-run-41044ad3f9ee7430963e81ad38bd1cf27c714d21.zip
Stage 9
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 2ed9805..1ea2bda 100644
--- a/src/data.h
+++ b/src/data.h
@@ -22,6 +22,7 @@ extern const uint8_t binary_stage05_start[];
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[];
/* sound */
extern const uint8_t binary_music_start[];
diff --git a/src/game.c b/src/game.c
index 4f9e44f..b5f94dd 100644
--- a/src/game.c
+++ b/src/game.c
@@ -50,11 +50,12 @@ static Entity *tmonster;
/* 0-index */
#define START_STAGE 0
-#define STAGES_LEN 8
+#define STAGES_LEN 9
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_stage05_start, binary_stage06_start, binary_stage07_start, binary_stage08_start,
+ binary_stage09_start
};
static void hud_render()