summaryrefslogtreecommitdiff
path: root/player.h
diff options
context:
space:
mode:
authorquou <quou@disroot.org>2024-08-10 19:21:55 +1000
committerquou <quou@disroot.org>2024-08-10 19:37:58 +1000
commitcfc86e984f965285094fca91fee7d9098423b4cb (patch)
tree2bec7b29e35ae56d9061931ec984d25d4f7b75ba /player.h
parentdb26f27bbeea7de759c8f5a30fa79789bed066a2 (diff)
draw the gun
Diffstat (limited to 'player.h')
-rw-r--r--player.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/player.h b/player.h
index c30d9e7..74b4a75 100644
--- a/player.h
+++ b/player.h
@@ -2,16 +2,19 @@
#define player_h
struct Services;
+struct Renderer;
typedef struct {
int p[3];
int r[2];
int f[2], l[2];
+ int anim;
} Player;
void init_player(Player* p);
void update_player(Player* p, struct Services* s);
void push_player_cam(const Player* p);
void pop_player_cam(void);
+void draw_player_world(struct Renderer* r, const Player* p);
#endif