mirror of
https://codeberg.org/ACME-Corporation/cub3d.git
synced 2025-12-06 09:58:09 +01:00
???
This commit is contained in:
parent
83fc0d7d35
commit
a8abe903cb
7 changed files with 56 additions and 21 deletions
|
|
@ -6,7 +6,7 @@
|
|||
/* By: tchampio <tchampio@student.42lehavre.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/06/21 19:46:20 by tchampio #+# #+# */
|
||||
/* Updated: 2025/06/25 17:52:35 by tchampio ### ########.fr */
|
||||
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
@ -52,12 +52,21 @@ typedef struct s_mapdata
|
|||
char error[1024];
|
||||
} t_mapdata;
|
||||
|
||||
typedef struct s_player
|
||||
{
|
||||
float x;
|
||||
float y;
|
||||
double yaw;
|
||||
int health;
|
||||
} t_player;
|
||||
|
||||
typedef struct s_cub3d_data
|
||||
{
|
||||
void *mlx;
|
||||
void *mlx_win;
|
||||
t_mlx_data *mlx_data;
|
||||
t_mapdata *map;
|
||||
t_player player;
|
||||
} t_cub3d_data;
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue