aboutsummaryrefslogtreecommitdiffstats
path: root/inc/cub3d_structs.h
diff options
context:
space:
mode:
Diffstat (limited to 'inc/cub3d_structs.h')
-rw-r--r--inc/cub3d_structs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h
index 2f032e0..38472a6 100644
--- a/inc/cub3d_structs.h
+++ b/inc/cub3d_structs.h
@@ -38,7 +38,6 @@ typedef struct s_img
int img_h;
int tex_x;
int tex_y;
-
} t_img;
typedef struct s_rgb
@@ -85,6 +84,7 @@ typedef struct s_ray
size_t sqx;
size_t sqy;
uint8_t hit;
+ double wall_hit_x;
} t_ray;
typedef struct s_map
@@ -108,6 +108,7 @@ typedef struct s_map
typedef struct s_cub
{
+ uint8_t w_side;
uint8_t minimap;
char errmsg[40];
struct s_win *wlist;