diff options
Diffstat (limited to 'inc')
-rw-r--r-- | inc/cub3d.h | 2 | ||||
-rw-r--r-- | inc/cub3d_structs.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/inc/cub3d.h b/inc/cub3d.h index 33c8bba..79079e6 100644 --- a/inc/cub3d.h +++ b/inc/cub3d.h @@ -87,6 +87,8 @@ void ft_calc_trap(t_cub *cl); void ft_draw_traps(t_cub *cl, t_sprite *sprite); void ft_calc_heal(t_cub *cl); void ft_draw_heals(t_cub *cl, t_sprite *sprite); +void ft_calc_weaps(t_cub *cl); +void ft_draw_weapon(t_cub *cl, t_sprite *sprite); void ft_draw_skybox(t_cub *cl); void ft_macos_suffer_animation(t_cub *cl); void ft_linux_suffer_animation(t_cub *cl); 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; |