From f8b97f2450bb789ae54a1d8d3845110342ff6134 Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Thu, 8 Dec 2022 13:05:51 +0100 Subject: work --- include/players.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'include/players.h') 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; -- cgit v1.2.3-70-g09d2