diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-03 16:57:36 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-03 16:57:36 +0100 |
commit | d4f853942aa2031c4bd85539ef9f3470967ffdc5 (patch) | |
tree | d2c5ffb0027860722185bf26b526757360ff1584 /inc | |
parent | tweaks (diff) | |
parent | Going full stack is bav (diff) | |
download | 42-cub3d-d4f853942aa2031c4bd85539ef9f3470967ffdc5.tar.gz 42-cub3d-d4f853942aa2031c4bd85539ef9f3470967ffdc5.tar.bz2 42-cub3d-d4f853942aa2031c4bd85539ef9f3470967ffdc5.tar.xz 42-cub3d-d4f853942aa2031c4bd85539ef9f3470967ffdc5.tar.zst 42-cub3d-d4f853942aa2031c4bd85539ef9f3470967ffdc5.zip |
Merge branch 'bmp'
Diffstat (limited to 'inc')
-rw-r--r-- | inc/cub3d.h | 4 | ||||
-rw-r--r-- | inc/cub3d_structs.h | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/inc/cub3d.h b/inc/cub3d.h index 1f8abd4..edc462f 100644 --- a/inc/cub3d.h +++ b/inc/cub3d.h @@ -23,12 +23,12 @@ */ void ft_init_funptr(t_cub *clist); -int8_t ft_init_cub3d(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); t_ray ft_init_s_ray(void); t_rgb ft_init_rgb(void); -t_map *ft_init_map(void); +int8_t ft_init_map(t_map *mlist); /* ** ====== HOOKS ====== diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h index b7d49a7..b19eae6 100644 --- a/inc/cub3d_structs.h +++ b/inc/cub3d_structs.h @@ -144,9 +144,9 @@ typedef struct s_cub pthread_t tid; int (*key_ptr[6])(struct s_cub*); int8_t (*get_ptr[11])(char**, struct s_cub*); - struct s_win *wlist; - struct s_player *plist; - struct s_map *mlist; + struct s_win wlist; + struct s_player plist; + struct s_map mlist; struct s_ray rlist; struct s_img img; struct s_rgb f_rgb; |