From 4984514d2bab3b04790cba631dc7ef8bd8399eff Mon Sep 17 00:00:00 2001 From: salaaad2 Date: Wed, 19 Feb 2020 20:22:27 +0100 Subject: asdasdasd :^) --- inc/cub3d.h | 1 + inc/cub3d_structs.h | 2 ++ 2 files changed, 3 insertions(+) (limited to 'inc') 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; -- cgit v1.2.3