cub3d/src/cub3d_data.h

32 lines
1.2 KiB
C
Raw Normal View History

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* cub3d_data.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: kcolin <kcolin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/07/17 14:59:37 by kcolin #+# #+# */
/* Updated: 2025/07/29 12:26:32 by tchampio ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef CUB3D_DATA_H
# define CUB3D_DATA_H
# include "map/mapdata.h"
# include "draw/img_data.h"
# include "player/player.h"
#include "utils/hooks.h"
typedef struct s_cub3d_data
{
void *mlx;
void *mlx_win;
t_img_data *img_data;
t_mapdata *map;
t_player player;
t_keypresses keypresses;
} t_cub3d_data;
#endif // CUB3D_DATA_H