aboutsummaryrefslogtreecommitdiffstats
path: root/inc
diff options
context:
space:
mode:
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;