aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_extra_keys.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ft_extra_keys.c')
-rw-r--r--src/ft_extra_keys.c18
1 files changed, 15 insertions, 3 deletions
diff --git a/src/ft_extra_keys.c b/src/ft_extra_keys.c
index c920b48..3ca8fd8 100644
--- a/src/ft_extra_keys.c
+++ b/src/ft_extra_keys.c
@@ -1,8 +1,20 @@
+/* ************************************************************************** */
+/* */
+/* ::: :::::::: */
+/* ft_extra_keys.c :+: :+: :+: */
+/* +:+ +:+ +:+ */
+/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */
+/* +#+#+#+#+#+ +#+ */
+/* Created: 2020/02/14 17:22:32 by rbousset #+# #+# */
+/* Updated: 2020/02/14 17:23:42 by rbousset ### ########lyon.fr */
+/* */
+/* ************************************************************************** */
+
#include <cub3d.h>
#include <stdint.h>
#include <math.h>
-int8_t
+int
ft_left_key(t_cub *clist)
{
t_player *pl;
@@ -21,7 +33,7 @@ int8_t
return (0);
}
-int8_t
+int
ft_right_key(t_cub *clist)
{
t_player *pl;
@@ -40,7 +52,7 @@ int8_t
return (0);
}
-int8_t
+int
ft_f1_key(t_cub *clist)
{
if (clist->minimap == 0)