mirror of
https://codeberg.org/ACME-Corporation/cub3d.git
synced 2025-12-06 09:58:09 +01:00
started to move all variables to a struct
This commit is contained in:
parent
f9825feeea
commit
c1484d2d3c
6 changed files with 74 additions and 31 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue