diff options
Diffstat (limited to '')
-rw-r--r-- | inc/cub3d_structs.h | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h index 0c3cb7c..f40a438 100644 --- a/inc/cub3d_structs.h +++ b/inc/cub3d_structs.h @@ -48,21 +48,6 @@ typedef struct s_player float plane_y; } t_player; -/* typedef struct s_ray */ -/* { */ -/* double x_ray_position; */ -/* double y_ray_position; */ -/* double x_ray_direction; */ -/* double y_ray_direction; */ -/* double x_side_distance; */ -/* double y_side_distance; */ -/* double x_delta_distance; */ -/* double y_delta_distance; */ -/* int hitX; */ -/* int hitY; */ -/* int hits[150]; */ -/* } t_ray; */ - typedef struct s_ray { uint16_t line_h; @@ -83,6 +68,10 @@ typedef struct s_ray uint8_t hit; } t_ray; +/* typedef struct s_map */ +/* { */ +/* } t_map; */ + typedef struct s_cub { char *no_tex_path; @@ -100,6 +89,7 @@ typedef struct s_cub size_t map_start; uint8_t isspawn; uint8_t scale; + uint8_t minimap; struct s_win *wlist; struct s_player *plist; struct s_ray rlist; |