diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-19 15:45:21 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-19 15:45:21 +0100 |
commit | 8de2979008fa200c48d714b0407653f49d69cdac (patch) | |
tree | 4b9e42e426106cc731c3d07270e5cdb52e8cc26f /src | |
parent | ft_exit normed (diff) | |
download | 42-cub3d-8de2979008fa200c48d714b0407653f49d69cdac.tar.gz 42-cub3d-8de2979008fa200c48d714b0407653f49d69cdac.tar.bz2 42-cub3d-8de2979008fa200c48d714b0407653f49d69cdac.tar.xz 42-cub3d-8de2979008fa200c48d714b0407653f49d69cdac.tar.zst 42-cub3d-8de2979008fa200c48d714b0407653f49d69cdac.zip |
Added sfx defines for weapons
Diffstat (limited to '')
-rw-r--r-- | src/ft_check_missing.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/ft_check_missing.c b/src/ft_check_missing.c index 4b4a3ef..8619c9d 100644 --- a/src/ft_check_missing.c +++ b/src/ft_check_missing.c @@ -32,6 +32,18 @@ static int if (ft_check_not_found(FT_SFX_TRAP_PATH) < 0 || ft_check_ext(FT_SFX_TRAP_PATH, ".wav") < 0) return (ft_missing_error(FT_ERR_MISS_SFX_TRAP, clist)); + if (ft_check_not_found(FT_SFX_W_ONE_LOAD_PATH) < 0 || + ft_check_ext(FT_SFX_W_ONE_LOAD_PATH, ".wav") < 0) + return (ft_missing_error(FT_ERR_MISS_SFX_W_ONE_LOAD, clist)); + if (ft_check_not_found(FT_SFX_W_ONE_FIRE_PATH) < 0 || + ft_check_ext(FT_SFX_W_ONE_FIRE_PATH, ".wav") < 0) + return (ft_missing_error(FT_ERR_MISS_SFX_W_ONE_FIRE, clist)); + if (ft_check_not_found(FT_SFX_W_TWO_LOAD_PATH) < 0 || + ft_check_ext(FT_SFX_W_TWO_LOAD_PATH, ".wav") < 0) + return (ft_missing_error(FT_ERR_MISS_SFX_W_TWO_LOAD, clist)); + if (ft_check_not_found(FT_SFX_W_TWO_FIRE_PATH) < 0 || + ft_check_ext(FT_SFX_W_TWO_FIRE_PATH, ".wav") < 0) + return (ft_missing_error(FT_ERR_MISS_SFX_W_TWO_FIRE, clist)); return (0); } |