aboutsummaryrefslogtreecommitdiffstats
path: root/inc/cub3d_structs.h
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-06 22:10:16 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-06 22:10:16 +0100
commit079a4b6e9389b05db2c672594cfb2f2b197e35dd (patch)
treef4a2bc882dd7667e2c9758e2be38e3484879e225 /inc/cub3d_structs.h
parentqwe (diff)
parentokok (diff)
download42-cub3d-079a4b6e9389b05db2c672594cfb2f2b197e35dd.tar.gz
42-cub3d-079a4b6e9389b05db2c672594cfb2f2b197e35dd.tar.bz2
42-cub3d-079a4b6e9389b05db2c672594cfb2f2b197e35dd.tar.xz
42-cub3d-079a4b6e9389b05db2c672594cfb2f2b197e35dd.tar.zst
42-cub3d-079a4b6e9389b05db2c672594cfb2f2b197e35dd.zip
Merge branch 'fork-music'
Diffstat (limited to '')
-rw-r--r--inc/cub3d_structs.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h
index c74a9e0..d53cdb9 100644
--- a/inc/cub3d_structs.h
+++ b/inc/cub3d_structs.h
@@ -152,6 +152,7 @@ typedef struct s_map
char *music_cmd;
char *mapl;
char **map;
+ char **mcmd_words;
int8_t x_step;
int8_t y_step;
size_t map_w;
@@ -175,9 +176,10 @@ typedef struct s_cub
uint8_t isoldmus;
uint16_t currlvl;
uint16_t i;
+ char *const *envp;
char errmsg[64];
int32_t key_input[5];
- pthread_t tid;
+ pid_t mpid;
int (*key_ptr[6])(struct s_cub*);
int8_t (*get_ptr[11])(char**, struct s_cub*);
struct s_win wlist;