summaryrefslogtreecommitdiff
path: root/include/players.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/players.h')
-rw-r--r--include/players.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/players.h b/include/players.h
index b74ce7e..844cb17 100644
--- a/include/players.h
+++ b/include/players.h
@@ -8,16 +8,16 @@
typedef struct t_bullet {
bool active;
- float x;
- float y;
- float h;
- float xacceleration;
- float yacceleration;
+ vec3f position;
+ float endx;
+ float endy;
+ float alive_time;
} bullet;
bullet bullets[500] = {0};
int max_bullets = 500;
+float sec_since_last_shot = 10.0f;
float playerx = 3;
float playery = 3;