From 41044ad3f9ee7430963e81ad38bd1cf27c714d21 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Sat, 15 Jul 2023 22:13:06 +0100 Subject: Stage 9 --- src/data.h | 1 + src/game.c | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'src') 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() -- cgit v1.2.3