diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-23 18:48:21 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-23 18:48:21 +0100 |
commit | 093e84b76c597015e89dddae8e51faae16feaf62 (patch) | |
tree | 66587b79153af48fb2aa8729ba8ca2c8d2d011e1 /inc/cub3d.h | |
parent | Fixed sprite shadows (diff) | |
parent | Gonna merge (diff) | |
download | 42-cub3d-093e84b76c597015e89dddae8e51faae16feaf62.tar.gz 42-cub3d-093e84b76c597015e89dddae8e51faae16feaf62.tar.bz2 42-cub3d-093e84b76c597015e89dddae8e51faae16feaf62.tar.xz 42-cub3d-093e84b76c597015e89dddae8e51faae16feaf62.tar.zst 42-cub3d-093e84b76c597015e89dddae8e51faae16feaf62.zip |
Merge branch 'hitscan'
Diffstat (limited to 'inc/cub3d.h')
-rw-r--r-- | inc/cub3d.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/inc/cub3d.h b/inc/cub3d.h index faf990b..25b80ee 100644 --- a/inc/cub3d.h +++ b/inc/cub3d.h @@ -162,6 +162,8 @@ uint8_t ft_use_args(int argc, const char *argv[], t_cub *clist); void ft_castray(t_cub *cl); void ft_choose_tex(t_cub *clist); void ft_detect(t_cub *cl); +void ft_detection_init_x(t_cub *cl); +void ft_detection_init_y(t_cub *cl); void ft_floor_cast(t_cub *cl); void ft_floor_cast_inits(uint16_t y, t_ray *rl, t_cub *cl); @@ -227,5 +229,6 @@ void ft_find_item(t_player *pl, t_map *ml, t_cub *cl); int8_t ft_switch_weap_one(t_cub *cl); int8_t ft_switch_weap_two(t_cub *cl); int8_t ft_switch_weap_three(t_cub *cl); +void ft_shoot(t_cub *cl, uint16_t center); # endif |