aboutsummaryrefslogtreecommitdiffstats
path: root/inc
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-11 00:29:49 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-11 00:29:49 +0100
commit22fa4e9c8b0442f43ddeb2192377ddc9cbc97ba1 (patch)
treebe72cb21f3a98b800b40d686f140bcf235b5e430 /inc
parentqwe (diff)
parentResized map (diff)
download42-cub3d-22fa4e9c8b0442f43ddeb2192377ddc9cbc97ba1.tar.gz
42-cub3d-22fa4e9c8b0442f43ddeb2192377ddc9cbc97ba1.tar.bz2
42-cub3d-22fa4e9c8b0442f43ddeb2192377ddc9cbc97ba1.tar.xz
42-cub3d-22fa4e9c8b0442f43ddeb2192377ddc9cbc97ba1.tar.zst
42-cub3d-22fa4e9c8b0442f43ddeb2192377ddc9cbc97ba1.zip
Merge branch 'floor-opti-smart'
Diffstat (limited to 'inc')
-rw-r--r--inc/cub3d.h2
-rw-r--r--inc/cub3d_structs.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/inc/cub3d.h b/inc/cub3d.h
index 7de1df7..2a9d66e 100644
--- a/inc/cub3d.h
+++ b/inc/cub3d.h
@@ -130,7 +130,7 @@ uint8_t ft_use_args(int argc, const char *argv[],
void ft_castray(t_cub *cl);
void ft_detect(t_cub *cl);
-void ft_floor_cast(uint16_t y, t_cub *cl);
+void ft_floor_cast(t_cub *cl);
/*
** ====== OTHER ======
diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h
index f1dfdfc..144de6f 100644
--- a/inc/cub3d_structs.h
+++ b/inc/cub3d_structs.h
@@ -137,6 +137,7 @@ typedef struct s_ray
float y_delta_dist;
int16_t wall_t;
int16_t wall_b;
+ int16_t *wall_bz;
uint8_t side;
size_t sqx;
size_t sqy;