aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_check_missing.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-20 15:53:34 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-20 15:53:34 +0100
commit635ffbadfe5390c5182b84ab47de3a7204309b0b (patch)
tree1becdec2f648ad9c5878af94bd6b10ce896fabd5 /src/ft_check_missing.c
parentReady to rework (diff)
download42-cub3d-635ffbadfe5390c5182b84ab47de3a7204309b0b.tar.gz
42-cub3d-635ffbadfe5390c5182b84ab47de3a7204309b0b.tar.bz2
42-cub3d-635ffbadfe5390c5182b84ab47de3a7204309b0b.tar.xz
42-cub3d-635ffbadfe5390c5182b84ab47de3a7204309b0b.tar.zst
42-cub3d-635ffbadfe5390c5182b84ab47de3a7204309b0b.zip
Added number images
Diffstat (limited to 'src/ft_check_missing.c')
-rw-r--r--src/ft_check_missing.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/ft_check_missing.c b/src/ft_check_missing.c
index 2681143..fb2da64 100644
--- a/src/ft_check_missing.c
+++ b/src/ft_check_missing.c
@@ -95,6 +95,29 @@ static int
if (ft_check_not_found(FT_WEAPON_TWO_FIRE_PATH) < 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_ZER_PATH) < 0 ||
+ ft_check_ext(FT_ZER_PATH, ".xpm") < 0 ||
+ ft_check_not_found(FT_ONE_PATH) < 0 ||
+ ft_check_ext(FT_ONE_PATH, ".xpm") < 0 ||
+ ft_check_not_found(FT_TWO_PATH) < 0 ||
+ ft_check_ext(FT_TWO_PATH, ".xpm") < 0 ||
+ ft_check_not_found(FT_THR_PATH) < 0 ||
+ ft_check_ext(FT_THR_PATH, ".xpm") < 0 ||
+ ft_check_not_found(FT_FOU_PATH) < 0 ||
+ ft_check_ext(FT_FOU_PATH, ".xpm") < 0 ||
+ ft_check_not_found(FT_FIV_PATH) < 0 ||
+ ft_check_ext(FT_FIV_PATH, ".xpm") < 0 ||
+ ft_check_not_found(FT_SIX_PATH) < 0 ||
+ ft_check_ext(FT_SIX_PATH, ".xpm") < 0 ||
+ ft_check_not_found(FT_SEV_PATH) < 0 ||
+ ft_check_ext(FT_SEV_PATH, ".xpm") < 0 ||
+ ft_check_not_found(FT_EIG_PATH) < 0 ||
+ ft_check_ext(FT_EIG_PATH, ".xpm") < 0 ||
+ ft_check_not_found(FT_NIN_PATH) < 0 ||
+ ft_check_ext(FT_NIN_PATH, ".xpm") < 0 ||
+ ft_check_not_found(FT_PER_PATH) < 0 ||
+ ft_check_ext(FT_PER_PATH, ".xpm") < 0)
+ return (ft_missing_error(FT_ERR_MISS_NUMBER, clist));
return (ft_check_missing_sprites(clist));
}