summaryrefslogtreecommitdiff
path: root/player.h
diff options
context:
space:
mode:
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