From 5f341eacdf0d75a4b334969a2d8a4701d61e4d9e Mon Sep 17 00:00:00 2001 From: quou Date: Sun, 7 May 2023 12:53:46 +1000 Subject: Add waves and stuff. --- wave.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'wave.h') diff --git a/wave.h b/wave.h index 3d40981..2f642fe 100644 --- a/wave.h +++ b/wave.h @@ -22,6 +22,7 @@ typedef struct { typedef struct { Subwave subwaves[wave_max_subwaves]; int subwave_count; + int kill_requirement; } Wave; struct Waver { @@ -30,7 +31,10 @@ struct Waver { }; void init_waver(Waver* waver); +void start_wave(struct World* world); +int wave_enemy_count(const Waver* waver); void next_wave(Waver* waver); void update_waver(Waver* waver, struct World* world); +int get_wave_count(); #endif -- cgit v1.2.3-54-g00ecf