diff options
Diffstat (limited to 'src/ft_check_missing_defines.c')
-rw-r--r-- | src/ft_check_missing_defines.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/ft_check_missing_defines.c b/src/ft_check_missing_defines.c index 7994a8a..bc4054c 100644 --- a/src/ft_check_missing_defines.c +++ b/src/ft_check_missing_defines.c @@ -20,21 +20,21 @@ static int ft_check_ext(FT_INF_PATH, ".xpm") < 0) return (ft_missing_error(FT_ERR_MISS_NUMBER, clist)); if (ft_check_not_found(FT_CAP_HEALTH_PATH) < 0 || - ft_check_ext(FT_CAP_HEALTH_PATH, ".xpm") < 0) + ft_check_ext(FT_CAP_HEALTH_PATH, ".xpm") < 0) return (ft_missing_error(FT_ERR_MISS_H_CAPTION, clist)); if (ft_check_not_found(FT_CAP_AMMO_PATH) < 0 || - ft_check_ext(FT_CAP_AMMO_PATH, ".xpm") < 0) + ft_check_ext(FT_CAP_AMMO_PATH, ".xpm") < 0) return (ft_missing_error(FT_ERR_MISS_A_CAPTION, clist)); if (clist->mlist.enemy == 1) { if (ft_check_not_found(FT_HEAL_PACK_PATH) < 0 || - ft_check_ext(FT_HEAL_PACK_PATH, ".xpm") < 0) + ft_check_ext(FT_HEAL_PACK_PATH, ".xpm") < 0) return (ft_missing_error(FT_ERR_MISS_HEAL_PACK, clist)); } else { if (ft_check_not_found(FT_HEAL_PACK_PATH) < 0 || - ft_check_ext(FT_HEAL_PACK_PATH, ".xpm") < 0) + ft_check_ext(FT_HEAL_PACK_PATH, ".xpm") < 0) return (ft_missing_error(FT_ERR_MISS_HEAL_PACK, clist)); } return (ft_check_missing_sfx(clist)); @@ -103,28 +103,28 @@ int ft_check_missing_tex_defines(t_cub *clist) { if (ft_check_not_found(FT_DEATH_SCREEN_PATH) < 0 || - ft_check_ext(FT_DEATH_SCREEN_PATH, ".xpm") < 0) + ft_check_ext(FT_DEATH_SCREEN_PATH, ".xpm") < 0) return (ft_missing_error(FT_ERR_MISS_DEATH_SCREEN, clist)); if (ft_check_not_found(FT_HUD_BACK_PATH) < 0 || - ft_check_ext(FT_HUD_BACK_PATH, ".xpm") < 0) + ft_check_ext(FT_HUD_BACK_PATH, ".xpm") < 0) return (ft_missing_error(FT_ERR_MISS_HUD_BACK, clist)); if (ft_check_not_found(FT_WEAPON_ONE_PATH) < 0 || - ft_check_ext(FT_WEAPON_ONE_PATH, ".xpm") < 0) + ft_check_ext(FT_WEAPON_ONE_PATH, ".xpm") < 0) return (ft_missing_error(FT_ERR_MISS_W_ONE, clist)); if (ft_check_not_found(FT_WEAPON_TWO_PATH) < 0 || - ft_check_ext(FT_WEAPON_TWO_PATH, ".xpm") < 0) + ft_check_ext(FT_WEAPON_TWO_PATH, ".xpm") < 0) return (ft_missing_error(FT_ERR_MISS_W_TWO, clist)); if (ft_check_not_found(FT_WEAPON_THREE_PATH) < 0 || - ft_check_ext(FT_WEAPON_THREE_PATH, ".xpm") < 0) + ft_check_ext(FT_WEAPON_THREE_PATH, ".xpm") < 0) return (ft_missing_error(FT_ERR_MISS_W_THREE, clist)); if (ft_check_not_found(FT_WEAPON_ONE_FIRE_PATH) < 0 || - ft_check_ext(FT_WEAPON_ONE_FIRE_PATH, ".xpm") < 0) + ft_check_ext(FT_WEAPON_ONE_FIRE_PATH, ".xpm") < 0) return (ft_missing_error(FT_ERR_MISS_W_ONE_FIRE, clist)); if (ft_check_not_found(FT_WEAPON_TWO_FIRE_PATH) < 0 || - ft_check_ext(FT_WEAPON_TWO_FIRE_PATH, ".xpm") < 0) + ft_check_ext(FT_WEAPON_TWO_FIRE_PATH, ".xpm") < 0) return (ft_missing_error(FT_ERR_MISS_W_TWO_FIRE, clist)); if (ft_check_not_found(FT_WEAPON_THREE_FIRE_PATH) < 0 || - ft_check_ext(FT_WEAPON_THREE_FIRE_PATH, ".xpm") < 0) + ft_check_ext(FT_WEAPON_THREE_FIRE_PATH, ".xpm") < 0) return (ft_missing_error(FT_ERR_MISS_W_THREE_FIRE, clist)); return (ft_check_missing_more_tex_defines(clist)); } |