aboutsummaryrefslogtreecommitdiffstats
path: root/inc/cub3d_structs.h
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-02 00:17:42 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-02 00:17:42 +0100
commit7f450e0664b7eb103358b0eeb0667033f7fead85 (patch)
tree024a02d21a47074344a2905280e5c4fd78c6eb8b /inc/cub3d_structs.h
parentPreparing music (diff)
download42-cub3d-7f450e0664b7eb103358b0eeb0667033f7fead85.tar.gz
42-cub3d-7f450e0664b7eb103358b0eeb0667033f7fead85.tar.bz2
42-cub3d-7f450e0664b7eb103358b0eeb0667033f7fead85.tar.xz
42-cub3d-7f450e0664b7eb103358b0eeb0667033f7fead85.tar.zst
42-cub3d-7f450e0664b7eb103358b0eeb0667033f7fead85.zip
Another song
Diffstat (limited to '')
-rw-r--r--inc/cub3d_structs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h
index f6b42e6..5bd5616 100644
--- a/inc/cub3d_structs.h
+++ b/inc/cub3d_structs.h
@@ -112,6 +112,7 @@ typedef struct s_map
char *sprite_path;
char *nl_tex_path;
char *nlevel_path;
+ char *music_path;
char *mapl;
char **map;
int8_t x_step;
@@ -122,6 +123,7 @@ typedef struct s_map
size_t map_start;
uint8_t isspawn;
uint8_t isnlvl;
+ uint8_t ismusic;
uint8_t scale;
uint32_t nlx;
uint32_t nly;
@@ -137,6 +139,7 @@ typedef struct s_cub
char errmsg[64];
int32_t key_input[5];
int (*key_ptr[6])(struct s_cub*);
+ int8_t (*get_ptr[11])(char**, t_cub*);
struct s_win *wlist;
struct s_player *plist;
struct s_map *mlist;