diff options
Diffstat (limited to 'inc/cub3d_structs.h')
-rw-r--r-- | inc/cub3d_structs.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h index f40a438..08fc814 100644 --- a/inc/cub3d_structs.h +++ b/inc/cub3d_structs.h @@ -68,11 +68,7 @@ typedef struct s_ray uint8_t hit; } t_ray; -/* typedef struct s_map */ -/* { */ -/* } t_map; */ - -typedef struct s_cub +typedef struct s_map { char *no_tex_path; char *so_tex_path; @@ -89,9 +85,14 @@ typedef struct s_cub size_t map_start; uint8_t isspawn; uint8_t scale; +} t_map; + +typedef struct s_cub +{ uint8_t minimap; struct s_win *wlist; struct s_player *plist; + struct s_map *mlist; struct s_ray rlist; struct s_img img; struct s_rgb f_rgb; |