diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-22 19:22:34 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-22 19:22:34 +0100 |
commit | 953381e5c1c9ebecc2f43ae0065b0cb381a85cb0 (patch) | |
tree | ae245f1eb4be9041f8233b22f6d8eb8e651cdd58 /inc | |
parent | Now regimp and sound (diff) | |
download | 42-cub3d-953381e5c1c9ebecc2f43ae0065b0cb381a85cb0.tar.gz 42-cub3d-953381e5c1c9ebecc2f43ae0065b0cb381a85cb0.tar.bz2 42-cub3d-953381e5c1c9ebecc2f43ae0065b0cb381a85cb0.tar.xz 42-cub3d-953381e5c1c9ebecc2f43ae0065b0cb381a85cb0.tar.zst 42-cub3d-953381e5c1c9ebecc2f43ae0065b0cb381a85cb0.zip |
Bug fixes, now gimp and sound
Diffstat (limited to 'inc')
-rw-r--r-- | inc/cub3d.h | 1 | ||||
-rw-r--r-- | inc/cub3d_defines.h | 2 |
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 /* |