crocparty/game/game_player.h

18 lines
428 B
C
Raw Normal View History

2024-02-28 05:07:15 +00:00
#ifndef GAME_PLAYER_H
#define GAME_PLAYER_H
2024-02-29 20:08:50 +00:00
typedef struct {
sys_i32 n_cake;
sys_i32 n_dollars;
} game_player_collectibles_t;
extern game_player_collectibles_t game_player_collectibles;
2024-02-28 05:07:15 +00:00
void game_player_init();
2024-02-29 04:48:22 +00:00
void game_player_update(bool* allow_input);
2024-02-29 20:08:50 +00:00
void game_player_get_center(sys_i32* x, sys_i32* y);
2024-02-28 20:54:59 +00:00
void game_player_set_camera();
2024-02-28 05:07:15 +00:00
void game_player_draw();
2024-02-29 20:08:50 +00:00
void game_player_draw_hud();
2024-02-29 01:36:06 +00:00
2024-02-28 05:07:15 +00:00
#endif // GAME_PLAYER_H