summaryrefslogtreecommitdiff
path: root/include/players.h
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrik@amftech.nl>2022-12-08 15:41:08 +0100
committerAldrik Ramaekers <aldrik@amftech.nl>2022-12-08 15:41:08 +0100
commitf84639d4b1eda622bf7667a7223a4a335c093437 (patch)
treefa78998a68bfaac01b1be34ab1b354b86516d6fd /include/players.h
parentf8b97f2450bb789ae54a1d8d3845110342ff6134 (diff)
work
Diffstat (limited to 'include/players.h')
-rw-r--r--include/players.h13
1 files changed, 2 insertions, 11 deletions
diff --git a/include/players.h b/include/players.h
index 844cb17..ef94489 100644
--- a/include/players.h
+++ b/include/players.h
@@ -5,17 +5,8 @@
#include "map.h"
#include "objects.h"
-
-typedef struct t_bullet {
- bool active;
- vec3f position;
- float endx;
- float endy;
- float alive_time;
-} bullet;
-
-bullet bullets[500] = {0};
-int max_bullets = 500;
+#include "zombies.h"
+#include "math_helper.h"
float sec_since_last_shot = 10.0f;
float playerx = 3;