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/message_system.cpp | |
parent | bd1a66887f00e186ab86a5195ebb3271ea732b38 (diff) | |
download | tanetane-4d26b7cfd73cef00a7295e3ec9bf021506f0838c.tar.gz tanetane-4d26b7cfd73cef00a7295e3ec9bf021506f0838c.tar.bz2 tanetane-4d26b7cfd73cef00a7295e3ec9bf021506f0838c.zip |
Organised resources folder
Diffstat (limited to 'src/message_system.cpp')
-rw-r--r-- | src/message_system.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/message_system.cpp b/src/message_system.cpp index 67c840e..4a31a69 100644 --- a/src/message_system.cpp +++ b/src/message_system.cpp | |||
@@ -27,15 +27,15 @@ void MessageSystem::tick(double dt) { | |||
27 | // Every so often play a beep. | 27 | // Every so often play a beep. |
28 | if (line.charsRevealed % CHARS_PER_BEEP == 0) { | 28 | if (line.charsRevealed % CHARS_PER_BEEP == 0) { |
29 | if (speaker_ == SpeakerType::Man) { | 29 | if (speaker_ == SpeakerType::Man) { |
30 | game_.getMixer().playSound("../res/speaking_man.wav"); | 30 | game_.getMixer().playSound("../res/sfx/speaking_man.wav"); |
31 | } else if (speaker_ == SpeakerType::Woman) { | 31 | } else if (speaker_ == SpeakerType::Woman) { |
32 | game_.getMixer().playSound("../res/speaking_woman.wav"); | 32 | game_.getMixer().playSound("../res/sfx/speaking_woman.wav"); |
33 | } else if (speaker_ == SpeakerType::Boy) { | 33 | } else if (speaker_ == SpeakerType::Boy) { |
34 | game_.getMixer().playSound("../res/speaking_boy.wav"); | 34 | game_.getMixer().playSound("../res/sfx/speaking_boy.wav"); |
35 | } else if (speaker_ == SpeakerType::Girl) { | 35 | } else if (speaker_ == SpeakerType::Girl) { |
36 | game_.getMixer().playSound("../res/speaking_girl.wav"); | 36 | game_.getMixer().playSound("../res/sfx/speaking_girl.wav"); |
37 | } else if (speaker_ == SpeakerType::Nonhuman) { | 37 | } else if (speaker_ == SpeakerType::Nonhuman) { |
38 | game_.getMixer().playSound("../res/speaking_nonhuman.wav"); | 38 | game_.getMixer().playSound("../res/sfx/speaking_nonhuman.wav"); |
39 | } | 39 | } |
40 | } | 40 | } |
41 | 41 | ||
@@ -198,7 +198,7 @@ void MessageSystem::advanceText() { | |||
198 | if (lines_.empty()) { | 198 | if (lines_.empty()) { |
199 | linesToShow_.clear(); | 199 | linesToShow_.clear(); |
200 | } else { | 200 | } else { |
201 | game_.getMixer().playSound("../res/pageflip.wav"); | 201 | game_.getMixer().playSound("../res/sfx/pageflip.wav"); |
202 | } | 202 | } |
203 | } | 203 | } |
204 | 204 | ||