summaryrefslogtreecommitdiff
path: root/include/players.h
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrik@amftech.nl>2022-12-09 21:56:43 +0100
committerAldrik Ramaekers <aldrik@amftech.nl>2022-12-09 21:56:43 +0100
commit4933a7c038087ae465e588fafb392a57d7f92b87 (patch)
tree8c8c6cfa5525c8d76346812b2fea612df7fde3fc /include/players.h
parentac4b9bd1ce461ecd2d54b8dbed633658b0431f8b (diff)
gun angle
Diffstat (limited to 'include/players.h')
-rw-r--r--include/players.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/players.h b/include/players.h
index ef94489..7107797 100644
--- a/include/players.h
+++ b/include/players.h
@@ -11,6 +11,9 @@
float sec_since_last_shot = 10.0f;
float playerx = 3;
float playery = 3;
+float gunx = 0.0f;
+float guny = 0.0f;
+float gun_height = 0.0f;
void shoot(platform_window* window);
void draw_player(platform_window* window);