started to move all variables to a struct

This commit is contained in:
Theo Champion 2025-06-24 11:51:49 +02:00
parent f9825feeea
commit c1484d2d3c
6 changed files with 74 additions and 31 deletions

View file

@ -6,7 +6,7 @@
/* By: tchampio <tchampio@student.42lehavre.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/06/21 19:46:20 by tchampio #+# #+# */
/* Updated: 2025/06/21 19:48:20 by tchampio ### ########.fr */
/* Updated: 2025/06/24 11:47:02 by tchampio ### ########.fr */
/* */
/* ************************************************************************** */
@ -50,4 +50,12 @@ typedef struct s_mapdata
char error[1024];
} t_mapdata;
typedef struct s_cub3d_data
{
void *mlx;
void *mlx_win;
t_mlx_data *mlx_data;
t_mapdata *map;
} t_cub3d_data;
#endif