diff options
| author | Aldrik Ramaekers <aldrik@amftech.nl> | 2022-12-12 18:06:53 +0100 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrik@amftech.nl> | 2022-12-12 18:06:53 +0100 |
| commit | 9528c0c69dba57117f38f84f576af2c81a3b435b (patch) | |
| tree | 14f3b21a19f3733e05d64e1fc4113af52516a441 /include/zombies.h | |
| parent | 10ae402862df4337772fe8e35f68ee8ab5bfc224 (diff) | |
multiplayer
Diffstat (limited to 'include/zombies.h')
| -rw-r--r-- | include/zombies.h | 5 |
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); |
