From 4d26b7cfd73cef00a7295e3ec9bf021506f0838c Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Fri, 5 Feb 2021 20:31:13 -0500 Subject: Organised resources folder --- src/step_type.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'src/step_type.h') diff --git a/src/step_type.h b/src/step_type.h index c38d6f9..a961a8f 100644 --- a/src/step_type.h +++ b/src/step_type.h @@ -36,17 +36,17 @@ inline StepType stepTypeFromString(std::string_view str) { inline std::string_view runningSfxForStepType(StepType step) { switch (step) { - case StepType::wood: return "../res/running_wood.wav"; - case StepType::land_light: return "../res/running_land_light.wav"; - case StepType::land: return "../res/running_land.wav"; - case StepType::sand: return "../res/running_sand.wav"; - case StepType::water: return "../res/running_water.wav"; - case StepType::mechanical: return "../res/running_mechanical.wav"; - case StepType::grass: return "../res/running_grass.wav"; - case StepType::unknown: return "../res/running_unknown.wav"; - case StepType::paved: return "../res/running_paved.wav"; - case StepType::carpet: return "../res/running_carpet.wav"; - case StepType::weak_wood: return "../res/running_weak_wood.wav"; + case StepType::wood: return "../res/sfx/running_wood.wav"; + case StepType::land_light: return "../res/sfx/running_land_light.wav"; + case StepType::land: return "../res/sfx/running_land.wav"; + case StepType::sand: return "../res/sfx/running_sand.wav"; + case StepType::water: return "../res/sfx/running_water.wav"; + case StepType::mechanical: return "../res/sfx/running_mechanical.wav"; + case StepType::grass: return "../res/sfx/running_grass.wav"; + case StepType::unknown: return "../res/sfx/running_unknown.wav"; + case StepType::paved: return "../res/sfx/running_paved.wav"; + case StepType::carpet: return "../res/sfx/running_carpet.wav"; + case StepType::weak_wood: return "../res/sfx/running_weak_wood.wav"; case StepType::none: throw std::invalid_argument("No running sfx for none step type"); } } -- cgit 1.4.1