aboutsummaryrefslogtreecommitdiffstats
path: root/inc/cub3d_structs.h
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-23 15:07:56 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-23 15:07:56 +0100
commit6a59f0977efc8a25f98fb35b381432484efa1289 (patch)
treeebdec6004f1fdbe33c66e81724734e331db5f896 /inc/cub3d_structs.h
parentok for now (diff)
download42-cub3d-6a59f0977efc8a25f98fb35b381432484efa1289.tar.gz
42-cub3d-6a59f0977efc8a25f98fb35b381432484efa1289.tar.bz2
42-cub3d-6a59f0977efc8a25f98fb35b381432484efa1289.tar.xz
42-cub3d-6a59f0977efc8a25f98fb35b381432484efa1289.tar.zst
42-cub3d-6a59f0977efc8a25f98fb35b381432484efa1289.zip
Good start
Diffstat (limited to '')
-rw-r--r--inc/cub3d_structs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h
index 149ac7b..72796d3 100644
--- a/inc/cub3d_structs.h
+++ b/inc/cub3d_structs.h
@@ -245,6 +245,10 @@ typedef struct s_cub
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 ammo_cap_h;
+ uint16_t ammo_cap_w;
int (*key_ptr[6])(struct s_cub*);
int8_t (*get_ptr[14])(char**, struct s_cub*);
char ref[22][3];