diff options
Diffstat (limited to 'inc/cub3d_structs.h')
-rw-r--r-- | inc/cub3d_structs.h | 3 |
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; |