diff options
| author | Aldrik Ramaekers <aldrik@amftech.nl> | 2022-12-11 16:14:54 +0100 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrik@amftech.nl> | 2022-12-11 16:14:54 +0100 |
| commit | 24af775b5041cbed67dfc84f3a0d67850a4b6a1b (patch) | |
| tree | 8858ba5158aa7a4b78e12ecbd17b509afda3f9d7 /include/bullets.h | |
| parent | 4933a7c038087ae465e588fafb392a57d7f92b87 (diff) | |
pathfinding
Diffstat (limited to 'include/bullets.h')
| -rw-r--r-- | include/bullets.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/bullets.h b/include/bullets.h index e8ddb86..ed64333 100644 --- a/include/bullets.h +++ b/include/bullets.h @@ -8,6 +8,7 @@ #include "map.h" typedef struct t_bullet { + int player_id; bool active; vec3f position; float endx; @@ -18,6 +19,7 @@ typedef struct t_bullet { bullet bullets[500] = {0}; int max_bullets = 500; +void shoot(platform_window* window, player p); void draw_bullets(platform_window* window); #endif
\ No newline at end of file |
