diff options
| author | Aldrik Ramaekers <aldrik@amftech.nl> | 2022-12-08 13:05:51 +0100 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrik@amftech.nl> | 2022-12-08 13:05:51 +0100 |
| commit | f8b97f2450bb789ae54a1d8d3845110342ff6134 (patch) | |
| tree | 92d25a57f60ead33c7209879e181bc01206fed69 /include/players.h | |
| parent | 0c44af8f6c45e5bb957f38cc3e9784ca69524261 (diff) | |
work
Diffstat (limited to 'include/players.h')
| -rw-r--r-- | include/players.h | 10 |
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; |
