diff options
Diffstat (limited to 'inc')
-rw-r--r-- | inc/cub3d.h | 2 | ||||
-rw-r--r-- | inc/cub3d_structs.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/inc/cub3d.h b/inc/cub3d.h index a691023..eacb997 100644 --- a/inc/cub3d.h +++ b/inc/cub3d.h @@ -74,6 +74,8 @@ int ft_d_key(t_cub *clist); int ft_f1_key(t_cub *clist); int ft_left_key(t_cub *clist); int ft_right_key(t_cub *clist); +int ft_key_release(int keycode, t_cub *clist); int8_t ft_check_ext(const char *filep, const char *ext); +int32_t ft_convert_keycode(const int32_t tmp_code); # endif diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h index 38472a6..83b38a7 100644 --- a/inc/cub3d_structs.h +++ b/inc/cub3d_structs.h @@ -111,6 +111,7 @@ typedef struct s_cub uint8_t w_side; uint8_t minimap; char errmsg[40]; + int32_t key_input[5]; struct s_win *wlist; struct s_player *plist; struct s_map *mlist; |