Movement file

This commit is contained in:
2025-12-09 18:40:44 +01:00
parent f693cda860
commit a7f7d77bf9
2 changed files with 116 additions and 2 deletions

View File

@@ -6,7 +6,7 @@
/* By: aortigos <aortigos@student.42malaga.com +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/11/25 19:47:02 by aortigos #+# #+# */
/* Updated: 2025/12/05 17:10:22 by aortigos ### ########.fr */
/* Updated: 2025/12/09 18:40:30 by aortigos ### ########.fr */
/* */
/* ************************************************************************** */
@@ -87,4 +87,12 @@ int valid_map(t_data *m);
void ft_delete_texture(t_texture *texture);
void ft_exit(t_mlx *mlx);
// movement.c
void rotate_player(t_mlx *mlx, int i);
void move_player(t_mlx *mlx, double move_x, double move_y);
void cub_hook(t_mlx *mlx, double move_x, double move_y);
void ft_reset_move(mlx_key_data_t keydata, t_mlx *mlx);
void key_press(mlx_key_data_t keydata, void *ml);
#endif