aboutsummaryrefslogtreecommitdiffstats
path: root/inc
diff options
context:
space:
mode:
authorRudy Bousset <rbousset@z2r5p6.le-101.fr>2020-03-09 17:41:08 +0100
committerRudy Bousset <rbousset@z2r5p6.le-101.fr>2020-03-09 17:41:08 +0100
commitfffd37b3423720af58c416221ffbdbc5960b1439 (patch)
treed5f8c2946fff86e5bcc533484cf886bfd92c048e /inc
parentPerf (diff)
download42-cub3d-fffd37b3423720af58c416221ffbdbc5960b1439.tar.gz
42-cub3d-fffd37b3423720af58c416221ffbdbc5960b1439.tar.bz2
42-cub3d-fffd37b3423720af58c416221ffbdbc5960b1439.tar.xz
42-cub3d-fffd37b3423720af58c416221ffbdbc5960b1439.tar.zst
42-cub3d-fffd37b3423720af58c416221ffbdbc5960b1439.zip
Norme
Diffstat (limited to 'inc')
-rw-r--r--inc/cub3d.h2
-rw-r--r--inc/cub3d_structs.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/inc/cub3d.h b/inc/cub3d.h
index 39df1ea..a961dcb 100644
--- a/inc/cub3d.h
+++ b/inc/cub3d.h
@@ -23,6 +23,7 @@
*/
void ft_init_funptr(t_cub *clist);
+void ft_init_ref(t_cub *clist);
int8_t ft_init_cub3d(t_cub *clist);
int ft_init_winlx(t_cub *clist);
int ft_init_winptr(t_cub *clist);
@@ -56,7 +57,6 @@ int32_t ft_convert_keycode(const int32_t tmp_code);
void ft_wall_tex_init(t_cub *clist);
void ft_choose_tex(t_cub *clist);
-void ft_calc_tex(t_cub *clist);
/*
** ====== DRAW ======
diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h
index 7149b4d..1160015 100644
--- a/inc/cub3d_structs.h
+++ b/inc/cub3d_structs.h
@@ -201,6 +201,7 @@ typedef struct s_cub
pid_t mpid;
int (*key_ptr[6])(struct s_cub*);
int8_t (*get_ptr[12])(char**, struct s_cub*);
+ char ref[13][3];
struct s_win wlist;
struct s_player plist;
struct s_map mlist;