From 40eb179043b77f011fb1048c386ee187f64569d0 Mon Sep 17 00:00:00 2001 From: quou Date: Sun, 7 May 2023 09:37:45 +1000 Subject: Add waves and some more polish. --- world.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'world.h') diff --git a/world.h b/world.h index 5f324a8..6749dbc 100644 --- a/world.h +++ b/world.h @@ -5,11 +5,13 @@ #include "config.h" #include "map.h" #include "player.h" +#include "wave.h" typedef int Entity; typedef struct World World; +/* Keep as POD. */ struct World { int entity_count; int recycle_bin_count; @@ -27,8 +29,10 @@ struct World { Player player; Map map; + Waver waver; int cam_x, cam_y; + int enemy_count; int gmemory, oom; }; -- cgit v1.2.3-54-g00ecf