summaryrefslogtreecommitdiff
path: root/include/zombies.h
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrik@amftech.nl>2022-12-15 16:44:17 +0100
committerAldrik Ramaekers <aldrik@amftech.nl>2022-12-15 16:44:17 +0100
commit66b82a20506b53ce8dc5dde8e6ea0979a22610f0 (patch)
tree32b6e62c93e9f68a907f2095243e931614de1670 /include/zombies.h
parent8c086739e1344fb8789e89074dd962c5719ab030 (diff)
work
Diffstat (limited to 'include/zombies.h')
-rw-r--r--include/zombies.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/zombies.h b/include/zombies.h
index df5e629..c99063e 100644
--- a/include/zombies.h
+++ b/include/zombies.h
@@ -24,14 +24,16 @@ typedef struct t_spawner {
float sec_since_last_spawn;
} spawner;
+#define MAX_SPAWNERS (3)
// data data that is stored on disk
-spawner spawner_tiles[2] = {
+spawner spawner_tiles[MAX_SPAWNERS] = {
{15, 5, 999},
{3, 8, 999},
+ {11, 18, 999},
};
-zombie zombies[20] = {0};
-int max_zombies = 20;
+#define MAX_ZOMBIES (50)
+zombie zombies[MAX_ZOMBIES] = {0};
void draw_spawners(platform_window* window);
void draw_zombies(platform_window* window);