aboutsummaryrefslogtreecommitdiffstats
path: root/inc
diff options
context:
space:
mode:
Diffstat (limited to 'inc')
-rw-r--r--inc/cub3d.h1
-rw-r--r--inc/cub3d_structs.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/inc/cub3d.h b/inc/cub3d.h
index f7e4d79..8625705 100644
--- a/inc/cub3d.h
+++ b/inc/cub3d.h
@@ -81,5 +81,6 @@ int ft_key_loop(t_cub *cl);
void ft_draw_circle(int32_t a, int32_t b,
int32_t color, t_cub *cl);
void ft_draw_texture(t_cub *cl, int x, int y, int tex_y);
+void ft_calc_tex(t_cub *clist);
# endif
diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h
index 18edfd8..9e19e2b 100644
--- a/inc/cub3d_structs.h
+++ b/inc/cub3d_structs.h
@@ -59,6 +59,8 @@ typedef struct s_player
{
float pos_x;
float pos_y;
+ float start_x;
+ float start_y;
float dir_x;
float dir_y;
float cam_x;