aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2023-07-15 18:55:06 +0100
committerJuan J. Martinez <jjm@usebox.net>2023-07-15 18:55:06 +0100
commit52184a396ecd124bf3b304ac026ff07c84414971 (patch)
treecc035bcf3586fa6827b39e48c917120c192d3839 /src
parentbb7ec5e1b79dabaca52656572d8ec17673f7d35e (diff)
downloadgold-mine-run-52184a396ecd124bf3b304ac026ff07c84414971.tar.gz
gold-mine-run-52184a396ecd124bf3b304ac026ff07c84414971.zip
Stage 5 reviewed, stage 6
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 9f35f35..d5b5f04 100644
--- a/src/data.h
+++ b/src/data.h
@@ -19,6 +19,7 @@ extern const uint8_t binary_stage02_start[];
extern const uint8_t binary_stage03_start[];
extern const uint8_t binary_stage04_start[];
extern const uint8_t binary_stage05_start[];
+extern const uint8_t binary_stage06_start[];
/* sound */
extern const uint8_t binary_music_start[];
diff --git a/src/game.c b/src/game.c
index 8c619ed..43e6c21 100644
--- a/src/game.c
+++ b/src/game.c
@@ -50,11 +50,11 @@ static Entity *tmonster;
/* 0-index */
#define START_STAGE 0
-#define STAGES_LEN 5
+#define STAGES_LEN 6
static const uint8_t *stages[STAGES_LEN] = {
binary_stage01_start, binary_stage02_start, binary_stage03_start, binary_stage04_start,
- binary_stage05_start
+ binary_stage05_start, binary_stage06_start
};
static void hud_render()