mirror of
https://codeberg.org/ACME-Corporation/cub3d.git
synced 2025-12-06 01:48:08 +01:00
style: split structs.h header into multiple, remove from central dir
This commit is contained in:
parent
38a05423dd
commit
6322d05b22
19 changed files with 141 additions and 87 deletions
29
src/cub3d_data.h
Normal file
29
src/cub3d_data.h
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue