aboutsummaryrefslogtreecommitdiffstats
path: root/inc
diff options
context:
space:
mode:
authorRudy Bousset <rbousset@z2r4p3.le-101.fr>2020-03-09 20:42:04 +0100
committerRudy Bousset <rbousset@z2r4p3.le-101.fr>2020-03-09 20:42:04 +0100
commit35a7b48f99b64ddbd23eb1a264df7ea453b3f9a4 (patch)
treef7c16c9e2d31a1c6c81e82df96f9c68769c16ae9 /inc
parentin progress (diff)
download42-cub3d-35a7b48f99b64ddbd23eb1a264df7ea453b3f9a4.tar.gz
42-cub3d-35a7b48f99b64ddbd23eb1a264df7ea453b3f9a4.tar.bz2
42-cub3d-35a7b48f99b64ddbd23eb1a264df7ea453b3f9a4.tar.xz
42-cub3d-35a7b48f99b64ddbd23eb1a264df7ea453b3f9a4.tar.zst
42-cub3d-35a7b48f99b64ddbd23eb1a264df7ea453b3f9a4.zip
In progress, Makefile was bav back then
Diffstat (limited to '')
-rw-r--r--inc/cub3d.h1
-rw-r--r--inc/cub3d_structs.h3
2 files changed, 3 insertions, 1 deletions
diff --git a/inc/cub3d.h b/inc/cub3d.h
index f255b00..6201b91 100644
--- a/inc/cub3d.h
+++ b/inc/cub3d.h
@@ -99,6 +99,7 @@ int8_t ft_get_c_color(char **words, t_cub *clist);
int8_t ft_get_c_tex(char **words, t_cub *clist);
int8_t ft_get_darkness(char **words, t_cub *clist);
int8_t ft_get_path_nl(char **words, t_cub *clist);
+int8_t ft_get_skybox(char **words, t_cub *clist);
int8_t ft_get_tex_nl(char **words, t_cub *clist);
int8_t ft_get_music(char **words, t_cub *clist);
size_t ft_get_map_h(char **map);
diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h
index 845ae31..773c783 100644
--- a/inc/cub3d_structs.h
+++ b/inc/cub3d_structs.h
@@ -167,6 +167,7 @@ typedef struct s_map
char *fl_tex_path;
char *ce_tex_path;
char *nlevel_path;
+ char *skybox_path;
char *music_path;
char *music_cmd;
char *mapl;
@@ -208,7 +209,7 @@ typedef struct s_cub
int32_t key_input[5];
pid_t mpid;
int (*key_ptr[6])(struct s_cub*);
- int8_t (*get_ptr[12])(char**, struct s_cub*);
+ int8_t (*get_ptr[13])(char**, struct s_cub*);
char ref[14][3];
struct s_win wlist;
struct s_player plist;