aboutsummaryrefslogtreecommitdiffstats
path: root/inc/cub3d_structs.h
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-23 16:21:36 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-23 16:21:36 +0100
commit06ce772faa11c3ef38e00b85c56b6b195bf68c56 (patch)
treec77f9aaabb0d7c433dc2006dbc4f9a31fd101327 /inc/cub3d_structs.h
parentIt's going well (diff)
download42-cub3d-06ce772faa11c3ef38e00b85c56b6b195bf68c56.tar.gz
42-cub3d-06ce772faa11c3ef38e00b85c56b6b195bf68c56.tar.bz2
42-cub3d-06ce772faa11c3ef38e00b85c56b6b195bf68c56.tar.xz
42-cub3d-06ce772faa11c3ef38e00b85c56b6b195bf68c56.tar.zst
42-cub3d-06ce772faa11c3ef38e00b85c56b6b195bf68c56.zip
Stuff to fix but ok
Diffstat (limited to 'inc/cub3d_structs.h')
-rw-r--r--inc/cub3d_structs.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h
index e23d6c2..680f91a 100644
--- a/inc/cub3d_structs.h
+++ b/inc/cub3d_structs.h
@@ -239,16 +239,18 @@ typedef struct s_cub
pthread_t mtid;
int8_t isdead;
uint8_t moves;
- uint16_t life_cap_h;
- uint16_t life_cap_w;
- uint16_t life_num_h;
- uint16_t life_num_w;
uint16_t map_back_h;
uint16_t map_back_w;
uint16_t amm_back_h;
uint16_t amm_back_w;
+ uint16_t life_cap_h;
+ uint16_t life_cap_w;
+ uint16_t life_num_h;
+ uint16_t life_num_w;
uint16_t ammo_cap_h;
uint16_t ammo_cap_w;
+ uint16_t ammo_num_h;
+ uint16_t ammo_num_w;
int (*key_ptr[6])(struct s_cub*);
int8_t (*get_ptr[14])(char**, struct s_cub*);
char ref[22][3];