diff options
| author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-11 00:00:07 +0100 | 
|---|---|---|
| committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-11 00:00:07 +0100 | 
| commit | 25247ca1f3ffc9485b02686f616c41a52f8eb82a (patch) | |
| tree | 38897a8228b34f4b77a3b506c278ced62514ff68 /inc | |
| parent | Freed multiple leaks (diff) | |
| download | 42-cub3d-25247ca1f3ffc9485b02686f616c41a52f8eb82a.tar.gz 42-cub3d-25247ca1f3ffc9485b02686f616c41a52f8eb82a.tar.bz2 42-cub3d-25247ca1f3ffc9485b02686f616c41a52f8eb82a.tar.xz 42-cub3d-25247ca1f3ffc9485b02686f616c41a52f8eb82a.tar.zst 42-cub3d-25247ca1f3ffc9485b02686f616c41a52f8eb82a.zip | |
Pas trop ecole opti memoire mais ok
Diffstat (limited to '')
| -rw-r--r-- | inc/cub3d.h | 2 | ||||
| -rw-r--r-- | inc/cub3d_structs.h | 1 | 
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; | 
