From 14d4e44cb54758a2e9c045bddbe74479adef9f1d Mon Sep 17 00:00:00 2001 From: salaaad2 Date: Fri, 20 Mar 2020 20:30:35 +0100 Subject: R E A L I S T I C S H O O T I N G --- inc/cub3d.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'inc/cub3d.h') diff --git a/inc/cub3d.h b/inc/cub3d.h index ee2da75..2465e48 100644 --- a/inc/cub3d.h +++ b/inc/cub3d.h @@ -152,6 +152,8 @@ uint8_t ft_use_args(int argc, const char *argv[], void ft_castray(t_cub *cl); 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); -- cgit v1.2.3 From 06538ab3ac3f2a0ef4a8199ce3292b164f5d09a5 Mon Sep 17 00:00:00 2001 From: salaaad2 Date: Fri, 20 Mar 2020 22:46:39 +0100 Subject: GAME AWARDS 2020 --- inc/cub3d.h | 1 + 1 file changed, 1 insertion(+) (limited to 'inc/cub3d.h') diff --git a/inc/cub3d.h b/inc/cub3d.h index 2465e48..d426bba 100644 --- a/inc/cub3d.h +++ b/inc/cub3d.h @@ -204,5 +204,6 @@ void ft_get_fps_count(clock_t delta_time, t_cub *cl); 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); +void ft_shoot(t_cub *cl, uint16_t center); # endif -- cgit v1.2.3