aboutsummaryrefslogtreecommitdiffstats
path: root/inc
diff options
context:
space:
mode:
Diffstat (limited to 'inc')
-rw-r--r--inc/cub3d.h3
-rw-r--r--inc/cub3d_defines.h8
2 files changed, 10 insertions, 1 deletions
diff --git a/inc/cub3d.h b/inc/cub3d.h
index eacb997..2362d07 100644
--- a/inc/cub3d.h
+++ b/inc/cub3d.h
@@ -76,6 +76,7 @@ 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);
+int32_t ft_convert_keycode(const int32_t tmp_code);
+int ft_key_loop(t_cub *cl);
# endif
diff --git a/inc/cub3d_defines.h b/inc/cub3d_defines.h
index 0c9a294..209d0bc 100644
--- a/inc/cub3d_defines.h
+++ b/inc/cub3d_defines.h
@@ -46,6 +46,14 @@
# endif
/*
+** ====== MOVE SPEED ======
+*/
+
+# define FT_MOVE_SPEED 0.1
+# define FT_STRAFE_SPEED 0.05
+# define FT_ROT_SPEED 0.07
+
+/*
** ====== SCREEN ======
*/