aboutsummaryrefslogtreecommitdiffstats
path: root/inc
diff options
context:
space:
mode:
Diffstat (limited to 'inc')
-rw-r--r--inc/cub3d.h1
-rw-r--r--inc/cub3d_defines.h2
2 files changed, 3 insertions, 0 deletions
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
/*