plr moves through walls

This commit is contained in:
hugogogo
2022-04-27 00:11:55 +02:00
parent f3ced10b82
commit a0f32dee98
3 changed files with 40 additions and 9 deletions

View File

@@ -55,8 +55,8 @@ void rotate_double(t_plr *plr, t_d_coord *coord);
void plr_turn_right(t_plr *plr);
void plr_turn_left(t_plr *plr);
// player_limits.c
int plr_out_limits(t_game *game, int x, int y);
int is_wall(t_game *game, int cell_x, int cell_y);
int plr_out_limits(t_game *game, int x, int y);
// -------------------------------
// SRC/DRAW