aboutsummaryrefslogtreecommitdiffstats
path: root/inc/cub3d.h
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-23 18:48:21 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-23 18:48:21 +0100
commit093e84b76c597015e89dddae8e51faae16feaf62 (patch)
tree66587b79153af48fb2aa8729ba8ca2c8d2d011e1 /inc/cub3d.h
parentFixed sprite shadows (diff)
parentGonna merge (diff)
download42-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.h3
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