aboutsummaryrefslogtreecommitdiff
path: root/wave.h
diff options
context:
space:
mode:
authorquou <quou@disroot.org>2023-05-07 12:53:46 +1000
committerquou <quou@disroot.org>2023-05-07 12:54:06 +1000
commit5f341eacdf0d75a4b334969a2d8a4701d61e4d9e (patch)
treeee3a4c44b92e975530e1e6fed18c8852a6f70a93 /wave.h
parent5ef6a71e935e2c3d1e5f9828e8cdbd78403a06a0 (diff)
Add waves and stuff.
Diffstat (limited to 'wave.h')
-rw-r--r--wave.h4
1 files changed, 4 insertions, 0 deletions
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