diff options
| author | arngo <[email protected]> | 2023-05-27 18:20:55 -0400 |
|---|---|---|
| committer | arngo <[email protected]> | 2023-05-27 18:20:55 -0400 |
| commit | 44b2643a58df016d9f30a3601dfd29342832baa0 (patch) | |
| tree | 18fa493788143b6c8c387690c19777552f62f12a /src/player.h | |
| parent | 95ac4162cb0b29be6d3cea07af37d0c6eafe6ac2 (diff) | |
| parent | adbd4bf423647fbab111434b08058c3c130df020 (diff) | |
| download | TOJam2023-44b2643a58df016d9f30a3601dfd29342832baa0.tar.gz TOJam2023-44b2643a58df016d9f30a3601dfd29342832baa0.zip | |
Merge branch 'master' of github.com:realtradam/TOJam2023
Diffstat (limited to 'src/player.h')
| -rw-r--r-- | src/player.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/player.h b/src/player.h index fa010eb..45c81b1 100644 --- a/src/player.h +++ b/src/player.h @@ -13,6 +13,15 @@ enum } move_state_t; +typedef +struct +{ + float x; + float y; +} +aim_position_t; + + void init_player(void); @@ -39,3 +48,11 @@ detect_player_wall_collisions(void); cvec_collision_2d_world_item_value * get_player_position(void); + +void +update_aim_position(void); + +void +draw_aim(float player_x, float player_y, float scale); + + |
