style: split structs.h header into multiple, remove from central dir

This commit is contained in:
Khaïs COLIN 2025-07-17 14:57:29 +02:00
parent 38a05423dd
commit 6322d05b22
Signed by: logistic-bot
SSH key fingerprint: SHA256:RlpiqKeXpcPFZZ4y9Ou4xi2M8OhRJovIwDlbCaMsuAo
19 changed files with 141 additions and 87 deletions

29
src/cub3d_data.h Normal file
View file

@ -0,0 +1,29 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* cub3d_data.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: kcolin <kcolin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/07/17 14:59:37 by kcolin #+# #+# */
/* Updated: 2025/07/17 15:54:29 by kcolin ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef CUB3D_DATA_H
# define CUB3D_DATA_H
# include "map/mapdata.h"
# include "draw/img_data.h"
# include "player/player.h"
typedef struct s_cub3d_data
{
void *mlx;
void *mlx_win;
t_img_data *img_data;
t_mapdata *map;
t_player player;
} t_cub3d_data;
#endif // CUB3D_DATA_H