aboutsummaryrefslogtreecommitdiff
path: root/world.h
diff options
context:
space:
mode:
authorquou <quou@disroot.org>2023-05-07 09:37:45 +1000
committerquou <quou@disroot.org>2023-05-07 09:37:45 +1000
commit40eb179043b77f011fb1048c386ee187f64569d0 (patch)
treeebae794ec0b3b8851b8c29119ada06555f49d4b6 /world.h
parent47e7976922f5c17505c7c5a3377c3735649e3dcc (diff)
Add waves and some more polish.
Diffstat (limited to 'world.h')
-rw-r--r--world.h4
1 files changed, 4 insertions, 0 deletions
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;
};