aboutsummaryrefslogtreecommitdiffstats
path: root/inc/cub3d_structs.h
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-09 15:00:25 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-09 15:00:25 +0100
commit7a26634744e67c48eda6e7eb23241b9d37c62b5d (patch)
tree01ead6cd3f4d8edad1c854e9aade31b981ff7caa /inc/cub3d_structs.h
parentGood parse (diff)
download42-cub3d-7a26634744e67c48eda6e7eb23241b9d37c62b5d.tar.gz
42-cub3d-7a26634744e67c48eda6e7eb23241b9d37c62b5d.tar.bz2
42-cub3d-7a26634744e67c48eda6e7eb23241b9d37c62b5d.tar.xz
42-cub3d-7a26634744e67c48eda6e7eb23241b9d37c62b5d.tar.zst
42-cub3d-7a26634744e67c48eda6e7eb23241b9d37c62b5d.zip
Preparing to parse the darkness
Diffstat (limited to '')
-rw-r--r--inc/cub3d_structs.h3
1 files changed, 2 insertions, 1 deletions
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;