aboutsummaryrefslogtreecommitdiffstats
path: root/inc/cub3d_structs.h
diff options
context:
space:
mode:
authorsalaaad2 <arthudurant263@gmail.com>2020-03-10 16:16:08 +0100
committersalaaad2 <arthudurant263@gmail.com>2020-03-10 16:16:08 +0100
commit0d589d0038624e3123e6166f6521d1421dd69b23 (patch)
tree26db0ad344a9c730192eea0bff01bb410ba225b7 /inc/cub3d_structs.h
parentstill retard (diff)
parentok now (diff)
download42-cub3d-0d589d0038624e3123e6166f6521d1421dd69b23.tar.gz
42-cub3d-0d589d0038624e3123e6166f6521d1421dd69b23.tar.bz2
42-cub3d-0d589d0038624e3123e6166f6521d1421dd69b23.tar.xz
42-cub3d-0d589d0038624e3123e6166f6521d1421dd69b23.tar.zst
42-cub3d-0d589d0038624e3123e6166f6521d1421dd69b23.zip
merge master
Diffstat (limited to 'inc/cub3d_structs.h')
-rw-r--r--inc/cub3d_structs.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h
index a2cf5b5..20b64b5 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;
@@ -187,6 +188,7 @@ typedef struct s_map
uint8_t ismusic;
uint8_t isftex;
uint8_t isctex;
+ uint8_t isskybox;
uint8_t darklvl;
uint8_t scale;
uint32_t nlx;
@@ -208,8 +210,8 @@ 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*);
- char ref[13][3];
+ int8_t (*get_ptr[13])(char**, struct s_cub*);
+ char ref[14][3];
struct s_win wlist;
struct s_player plist;
struct s_map mlist;