aboutsummaryrefslogtreecommitdiffstats
path: root/inc
diff options
context:
space:
mode:
Diffstat (limited to 'inc')
-rw-r--r--inc/cub3d_defines.h19
-rw-r--r--inc/cub3d_structs.h1
2 files changed, 11 insertions, 9 deletions
diff --git a/inc/cub3d_defines.h b/inc/cub3d_defines.h
index b129206..e6c98c5 100644
--- a/inc/cub3d_defines.h
+++ b/inc/cub3d_defines.h
@@ -6,28 +6,31 @@
*/
# ifndef FT_W_KEY
-# define FT_W_KEY 13
+# define FT_W_KEY 13
# endif
# ifndef FT_A_KEY
-# define FT_A_KEY 0
+# define FT_A_KEY 0
# endif
# ifndef FT_S_KEY
-# define FT_S_KEY 1
+# define FT_S_KEY 1
# endif
# ifndef FT_D_KEY
-# define FT_D_KEY 2
+# define FT_D_KEY 2
# endif
# ifndef FT_L_ARR_KEY
-# define FT_L_ARR_KEY 123
+# define FT_L_ARR_KEY 123
# endif
# ifndef FT_R_ARR_KEY
-# define FT_R_ARR_KEY 124
+# define FT_R_ARR_KEY 124
# endif
# ifndef FT_ESC_KEY
-# define FT_ESC_KEY 53
+# define FT_ESC_KEY 53
# endif
# ifndef FT_F1_KEY
-# define FT_F1_KEY 122
+# define FT_F1_KEY 122
+# endif
+# ifndef FT_TAB_KEY
+# define FT_TAB_KEY 48
# endif
/*
diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h
index 9dae0be..eee6188 100644
--- a/inc/cub3d_structs.h
+++ b/inc/cub3d_structs.h
@@ -55,7 +55,6 @@ typedef struct s_player
{
float pos_x;
float pos_y;
- float view_side;
float dir_x;
float dir_y;
float cam_x;