summaryrefslogtreecommitdiff
path: root/include/bullets.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/bullets.h')
-rw-r--r--include/bullets.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/bullets.h b/include/bullets.h
index ed64333..a42e6a4 100644
--- a/include/bullets.h
+++ b/include/bullets.h
@@ -6,6 +6,7 @@
#include "players.h"
#include "objects.h"
#include "map.h"
+#include "guns.h"
typedef struct t_bullet {
int player_id;
@@ -19,7 +20,7 @@ typedef struct t_bullet {
bullet bullets[500] = {0};
int max_bullets = 500;
-void shoot(platform_window* window, player p);
+void shoot(platform_window* window, u32 id, float dirx, float diry);
void draw_bullets(platform_window* window);
#endif \ No newline at end of file