aboutsummaryrefslogtreecommitdiffstats
path: root/inc/cub3d_structs.h
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-19 14:57:04 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-19 14:57:04 +0100
commitebcfbdc44e2cdc64dca661520e8d0db2652da64e (patch)
tree687b919c4b859476ed495f7a5d68dfc41fe9af96 /inc/cub3d_structs.h
parentParsed weapons spawns (diff)
download42-cub3d-ebcfbdc44e2cdc64dca661520e8d0db2652da64e.tar.gz
42-cub3d-ebcfbdc44e2cdc64dca661520e8d0db2652da64e.tar.bz2
42-cub3d-ebcfbdc44e2cdc64dca661520e8d0db2652da64e.tar.xz
42-cub3d-ebcfbdc44e2cdc64dca661520e8d0db2652da64e.tar.zst
42-cub3d-ebcfbdc44e2cdc64dca661520e8d0db2652da64e.zip
Weapons sprites do draw
Diffstat (limited to '')
-rw-r--r--inc/cub3d_structs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h
index 174493d..8e38e36 100644
--- a/inc/cub3d_structs.h
+++ b/inc/cub3d_structs.h
@@ -204,6 +204,7 @@ typedef struct s_map
size_t mapl_len;
int32_t sprite_nbr[4096];
uint8_t sprite_var;
+ uint8_t weapon_var;
int32_t sprite_order[8][4096];
int32_t traps_nbr;
int32_t heals_nbr;