From 7a26634744e67c48eda6e7eb23241b9d37c62b5d Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Mon, 9 Mar 2020 15:00:25 +0100 Subject: Preparing to parse the darkness --- inc/cub3d_structs.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'inc') diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h index 44cb003..7149b4d 100644 --- a/inc/cub3d_structs.h +++ b/inc/cub3d_structs.h @@ -179,6 +179,7 @@ typedef struct s_map uint8_t ismusic; uint8_t isftex; uint8_t isctex; + uint8_t darklvl; uint8_t scale; uint32_t nlx; uint32_t nly; @@ -199,7 +200,7 @@ typedef struct s_cub int32_t key_input[5]; pid_t mpid; int (*key_ptr[6])(struct s_cub*); - int8_t (*get_ptr[11])(char**, struct s_cub*); + int8_t (*get_ptr[12])(char**, struct s_cub*); struct s_win wlist; struct s_player plist; struct s_map mlist; -- cgit v1.2.3