diff options
| author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-19 20:25:54 +0100 | 
|---|---|---|
| committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-19 20:25:54 +0100 | 
| commit | 5798c414690561950b53a3c9f9478891e75ec91f (patch) | |
| tree | c068cea671eb4c80fefbebcee35460481afe8e5f /inc | |
| parent | Now making second weapon (diff) | |
| download | 42-cub3d-5798c414690561950b53a3c9f9478891e75ec91f.tar.gz 42-cub3d-5798c414690561950b53a3c9f9478891e75ec91f.tar.bz2 42-cub3d-5798c414690561950b53a3c9f9478891e75ec91f.tar.xz 42-cub3d-5798c414690561950b53a3c9f9478891e75ec91f.tar.zst 42-cub3d-5798c414690561950b53a3c9f9478891e75ec91f.zip  | |
New images, that'll do the trick
Diffstat (limited to 'inc')
| -rw-r--r-- | inc/cub3d_defines.h | 4 | ||||
| -rw-r--r-- | inc/cub3d_structs.h | 1 | 
2 files changed, 3 insertions, 2 deletions
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];  | 
