diff options
author | Juan J. Martinez <jjm@usebox.net> | 2023-07-16 22:21:51 +0100 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2023-07-16 22:22:10 +0100 |
commit | bf565300d6a71975f120097028bcba7065ea7a4d (patch) | |
tree | 570dc8d5ad1c9f0c8d762d02b407c14d6ba3cb2a /src | |
parent | 60d0d1e4d0941b6742af594c9fa3658124d0e29a (diff) | |
download | gold-mine-run-bf565300d6a71975f120097028bcba7065ea7a4d.tar.gz gold-mine-run-bf565300d6a71975f120097028bcba7065ea7a4d.zip |
Stage 11
Diffstat (limited to 'src')
-rw-r--r-- | src/data.h | 1 | ||||
-rw-r--r-- | src/game.c | 5 |
2 files changed, 4 insertions, 2 deletions
@@ -24,6 +24,7 @@ extern const uint8_t binary_stage07_start[]; extern const uint8_t binary_stage08_start[]; extern const uint8_t binary_stage09_start[]; extern const uint8_t binary_stage10_start[]; +extern const uint8_t binary_stage11_start[]; /* sound */ extern const uint8_t binary_music_start[]; @@ -53,12 +53,12 @@ static Entity *tmonster; /* 0-index */ #define START_STAGE 0 -#define STAGES_LEN 10 +#define STAGES_LEN 11 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_stage09_start, binary_stage10_start + binary_stage09_start, binary_stage10_start, binary_stage11_start }; static void hud_render() @@ -317,6 +317,7 @@ next_stage: tmonster = NULL; entities_warp_out_all(); sound_play_efx(EFX_WARP); + player_stageclear(); stageclear = STAGECLEAR_DELAY; } |