From 953381e5c1c9ebecc2f43ae0065b0cb381a85cb0 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sun, 22 Mar 2020 19:22:34 +0100 Subject: Bug fixes, now gimp and sound --- inc/cub3d.h | 1 + inc/cub3d_defines.h | 2 ++ 2 files changed, 3 insertions(+) (limited to 'inc') diff --git a/inc/cub3d.h b/inc/cub3d.h index ceee453..b9e0667 100644 --- a/inc/cub3d.h +++ b/inc/cub3d.h @@ -218,5 +218,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); +int8_t ft_switch_weap_three(t_cub *cl); # endif diff --git a/inc/cub3d_defines.h b/inc/cub3d_defines.h index 1e71801..ca0cead 100644 --- a/inc/cub3d_defines.h +++ b/inc/cub3d_defines.h @@ -72,6 +72,7 @@ enum # define FT_SPC_KEY 49 # define FT_ONE_KEY 18 # define FT_TWO_KEY 19 +# define FT_THREE_KEY 20 # else # define FT_W_KEY 119 # define FT_A_KEY 97 @@ -86,6 +87,7 @@ enum # define FT_SPC_KEY 32 # define FT_ONE_KEY 49 # define FT_TWO_KEY 50 +# define FT_THREE_KEY 51 # endif /* -- cgit v1.2.3