From 5798c414690561950b53a3c9f9478891e75ec91f Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Thu, 19 Mar 2020 20:25:54 +0100 Subject: New images, that'll do the trick --- inc/cub3d_defines.h | 4 ++-- inc/cub3d_structs.h | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'inc') diff --git a/inc/cub3d_defines.h b/inc/cub3d_defines.h index 1e25302..cf0d627 100644 --- a/inc/cub3d_defines.h +++ b/inc/cub3d_defines.h @@ -110,8 +110,8 @@ enum # define FT_WEAPON_TWO_SPR_PATH "./media/img/sprites/colt_s.xpm" # define FT_WEAPON_ONE_PATH "./media/img/weapons/sword_w.xpm" # define FT_WEAPON_ONE_FIRE_PATH "./media/img/weapons/sword_w_fire.xpm" -# define FT_WEAPON_TWO_PATH "./media/img/weapons/sword_w.xpm" -# define FT_WEAPON_TWO_FIRE_PATH "./media/img/weapons/sword_w_fire.xpm" +# define FT_WEAPON_TWO_PATH "./media/img/weapons/colt_w.xpm" +# define FT_WEAPON_TWO_FIRE_PATH "./media/img/weapons/colt_w_fire.xpm" # define FT_HEAL_PACK_PATH "./media/img/sprites/first_aid.xpm" /* diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h index c2e1d4a..1f20f8c 100644 --- a/inc/cub3d_structs.h +++ b/inc/cub3d_structs.h @@ -250,6 +250,7 @@ typedef struct s_cub int32_t key_input[5]; char fps_count[9]; pthread_t mtid; + int8_t isdead; int (*key_ptr[6])(struct s_cub*); int8_t (*get_ptr[14])(char**, struct s_cub*); char ref[22][3]; -- cgit v1.2.3