summaryrefslogtreecommitdiff
path: root/include/zombies.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/zombies.h')
-rw-r--r--include/zombies.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/zombies.h b/include/zombies.h
index a8a58fe..f5df00e 100644
--- a/include/zombies.h
+++ b/include/zombies.h
@@ -16,6 +16,7 @@ typedef struct t_zombie {
array next_path;
float time_since_last_path;
pathfinding_request request;
+ vec2f next2tiles[2];
} zombie;
typedef struct t_spawner {
@@ -29,8 +30,8 @@ spawner spawner_tiles[2] = {
{3, 8, 999},
};
-zombie zombies[50] = {0};
-int max_zombies = 50;
+zombie zombies[20] = {0};
+int max_zombies = 20;
void draw_spawners(platform_window* window);
void draw_zombies_at_tile(platform_window* window, int x, int y);