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