feat: load and destroy wall textures

This commit is contained in:
Khaïs COLIN 2025-07-31 13:43:08 +02:00
parent 184ecc7eb3
commit c4a867b054
Signed by: logistic-bot
SSH key fingerprint: SHA256:RlpiqKeXpcPFZZ4y9Ou4xi2M8OhRJovIwDlbCaMsuAo
4 changed files with 49 additions and 7 deletions

View file

@ -6,7 +6,7 @@
/* By: kcolin <kcolin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/07/17 14:59:37 by kcolin #+# #+# */
/* Updated: 2025/07/31 13:55:08 by tchampio ### ########.fr */
/* Updated: 2025/07/31 14:17:28 by kcolin ### ########.fr */
/* */
/* ************************************************************************** */
@ -23,6 +23,10 @@ typedef struct s_cub3d_data
{
void *mlx;
void *mlx_win;
void *no_texture;
void *so_texture;
void *we_texture;
void *ea_texture;
t_img_data *img_data;
t_mapdata *map;
t_player player;