From fcc8d070b7e79f2a1effdba292de5284f7d21cf8 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Mon, 24 Jul 2023 22:48:39 +0100 Subject: Stage 22 --- 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 ed08f62..d3435ac 100644 --- a/src/data.h +++ b/src/data.h @@ -35,6 +35,7 @@ extern const uint8_t binary_stage18_start[]; extern const uint8_t binary_stage19_start[]; extern const uint8_t binary_stage20_start[]; extern const uint8_t binary_stage21_start[]; +extern const uint8_t binary_stage22_start[]; /* sound */ extern const uint8_t binary_music_start[]; diff --git a/src/game.c b/src/game.c index 45ea97f..fda0983 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 21 +#define STAGES_LEN 22 static const uint8_t *stages[STAGES_LEN] = { binary_stage01_start, binary_stage02_start, binary_stage03_start, binary_stage04_start, @@ -61,7 +61,7 @@ static const uint8_t *stages[STAGES_LEN] = { binary_stage09_start, binary_stage10_start, binary_stage11_start, binary_stage12_start, 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_stage21_start, binary_stage22_start, }; static void hud_render() -- cgit v1.2.3