diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-14 19:32:58 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-14 19:32:58 +0200 |
commit | c42ccd996d84a92eccf34496f647a8cdfa3ffef1 (patch) | |
tree | e5141aa4470a8cd7330f44dc5873868dfa9fe049 /src/ft_check_missing_sfx.c | |
parent | Some more norms (diff) | |
download | 42-cub3d-c42ccd996d84a92eccf34496f647a8cdfa3ffef1.tar.gz 42-cub3d-c42ccd996d84a92eccf34496f647a8cdfa3ffef1.tar.bz2 42-cub3d-c42ccd996d84a92eccf34496f647a8cdfa3ffef1.tar.xz 42-cub3d-c42ccd996d84a92eccf34496f647a8cdfa3ffef1.tar.zst 42-cub3d-c42ccd996d84a92eccf34496f647a8cdfa3ffef1.zip |
Norme norme
Diffstat (limited to '')
-rw-r--r-- | src/ft_check_missing_sfx.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/ft_check_missing_sfx.c b/src/ft_check_missing_sfx.c index 0d4411a..7790d95 100644 --- a/src/ft_check_missing_sfx.c +++ b/src/ft_check_missing_sfx.c @@ -32,25 +32,25 @@ static int ft_check_missing_weapon_sfx(t_cub *clist) { if (ft_check_not_found(FT_SFX_W_ONE_LOAD_PATH) < 0 || - ft_check_ext(FT_SFX_W_ONE_LOAD_PATH, ".wav") < 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) + 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) + 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) + ft_check_ext(FT_SFX_W_TWO_FIRE_PATH, ".wav") < 0) return (ft_missing_error(FT_ERR_MISS_SFX_W_TWO_FIRE, clist)); if (ft_check_not_found(FT_SFX_W_THREE_LOAD_PATH) < 0 || - ft_check_ext(FT_SFX_W_THREE_LOAD_PATH, ".wav") < 0) + ft_check_ext(FT_SFX_W_THREE_LOAD_PATH, ".wav") < 0) return (ft_missing_error(FT_ERR_MISS_SFX_W_THREE_LOAD, clist)); if (ft_check_not_found(FT_SFX_W_THREE_FIRE_PATH) < 0 || - ft_check_ext(FT_SFX_W_THREE_FIRE_PATH, ".wav") < 0) + ft_check_ext(FT_SFX_W_THREE_FIRE_PATH, ".wav") < 0) return (ft_missing_error(FT_ERR_MISS_SFX_W_THREE_FIRE, clist)); if (ft_check_not_found(FT_SFX_OOA_PATH) < 0 || - ft_check_ext(FT_SFX_OOA_PATH, ".wav") < 0) + ft_check_ext(FT_SFX_OOA_PATH, ".wav") < 0) return (ft_missing_error(FT_ERR_MISS_SFX_OOA, clist)); return (ft_check_missing_enemy_sfx(clist)); } @@ -59,22 +59,22 @@ int ft_check_missing_sfx(t_cub *clist) { if (ft_check_not_found(FT_SFX_DEATH_PATH) < 0 || - ft_check_ext(FT_SFX_DEATH_PATH, ".wav") < 0) + ft_check_ext(FT_SFX_DEATH_PATH, ".wav") < 0) return (ft_missing_error(FT_ERR_MISS_SFX_DEATH, clist)); if (ft_check_not_found(FT_SFX_N_LVL_PATH) < 0 || - ft_check_ext(FT_SFX_N_LVL_PATH, ".wav") < 0) + ft_check_ext(FT_SFX_N_LVL_PATH, ".wav") < 0) return (ft_missing_error(FT_ERR_MISS_SFX_N_LVL, clist)); if (ft_check_not_found(FT_SFX_SCR_ONE_PATH) < 0 || - ft_check_ext(FT_SFX_SCR_ONE_PATH, ".wav") < 0) + ft_check_ext(FT_SFX_SCR_ONE_PATH, ".wav") < 0) return (ft_missing_error(FT_ERR_MISS_SFX_SCR_ONE, clist)); if (ft_check_not_found(FT_SFX_SCR_TWO_PATH) < 0 || - ft_check_ext(FT_SFX_SCR_TWO_PATH, ".wav") < 0) + ft_check_ext(FT_SFX_SCR_TWO_PATH, ".wav") < 0) return (ft_missing_error(FT_ERR_MISS_SFX_SCR_TWO, clist)); if (ft_check_not_found(FT_SFX_TRAP_PATH) < 0 || - ft_check_ext(FT_SFX_TRAP_PATH, ".wav") < 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_HEAL_PATH) < 0 || - ft_check_ext(FT_SFX_HEAL_PATH, ".wav") < 0) + ft_check_ext(FT_SFX_HEAL_PATH, ".wav") < 0) return (ft_missing_error(FT_ERR_MISS_SFX_HEAL, clist)); return (ft_check_missing_weapon_sfx(clist)); } |