diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2021-02-05 20:31:13 -0500 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2021-02-05 20:31:13 -0500 |
commit | 4d26b7cfd73cef00a7295e3ec9bf021506f0838c (patch) | |
tree | 83386c5a522ff374da220ca838cca3453d97ddfd /src/step_type.h | |
parent | bd1a66887f00e186ab86a5195ebb3271ea732b38 (diff) | |
download | tanetane-4d26b7cfd73cef00a7295e3ec9bf021506f0838c.tar.gz tanetane-4d26b7cfd73cef00a7295e3ec9bf021506f0838c.tar.bz2 tanetane-4d26b7cfd73cef00a7295e3ec9bf021506f0838c.zip |
Organised resources folder
Diffstat (limited to 'src/step_type.h')
-rw-r--r-- | src/step_type.h | 22 |
1 files changed, 11 insertions, 11 deletions
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) { | |||
36 | 36 | ||
37 | inline std::string_view runningSfxForStepType(StepType step) { | 37 | inline std::string_view runningSfxForStepType(StepType step) { |
38 | switch (step) { | 38 | switch (step) { |
39 | case StepType::wood: return "../res/running_wood.wav"; | 39 | case StepType::wood: return "../res/sfx/running_wood.wav"; |
40 | case StepType::land_light: return "../res/running_land_light.wav"; | 40 | case StepType::land_light: return "../res/sfx/running_land_light.wav"; |
41 | case StepType::land: return "../res/running_land.wav"; | 41 | case StepType::land: return "../res/sfx/running_land.wav"; |
42 | case StepType::sand: return "../res/running_sand.wav"; | 42 | case StepType::sand: return "../res/sfx/running_sand.wav"; |
43 | case StepType::water: return "../res/running_water.wav"; | 43 | case StepType::water: return "../res/sfx/running_water.wav"; |
44 | case StepType::mechanical: return "../res/running_mechanical.wav"; | 44 | case StepType::mechanical: return "../res/sfx/running_mechanical.wav"; |
45 | case StepType::grass: return "../res/running_grass.wav"; | 45 | case StepType::grass: return "../res/sfx/running_grass.wav"; |
46 | case StepType::unknown: return "../res/running_unknown.wav"; | 46 | case StepType::unknown: return "../res/sfx/running_unknown.wav"; |
47 | case StepType::paved: return "../res/running_paved.wav"; | 47 | case StepType::paved: return "../res/sfx/running_paved.wav"; |
48 | case StepType::carpet: return "../res/running_carpet.wav"; | 48 | case StepType::carpet: return "../res/sfx/running_carpet.wav"; |
49 | case StepType::weak_wood: return "../res/running_weak_wood.wav"; | 49 | case StepType::weak_wood: return "../res/sfx/running_weak_wood.wav"; |
50 | case StepType::none: throw std::invalid_argument("No running sfx for none step type"); | 50 | case StepType::none: throw std::invalid_argument("No running sfx for none step type"); |
51 | } | 51 | } |
52 | } | 52 | } |