summaryrefslogtreecommitdiff
path: root/include/bullets.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/bullets.h')
-rw-r--r--include/bullets.h2
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