summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2021-02-05 18:19:44 -0500
committerKelly Rauchenberger <fefferburbia@gmail.com>2021-02-05 18:19:44 -0500
commitccf0fab9f7b8057afc5884e70fff29109f707bf8 (patch)
tree96896f1f80da765e9fc61da361e6724f119464d6
parentea78916cc43fe67690f2f92d88ac4a8b0e9857d8 (diff)
downloadtanetane-ccf0fab9f7b8057afc5884e70fff29109f707bf8.tar.gz
tanetane-ccf0fab9f7b8057afc5884e70fff29109f707bf8.tar.bz2
tanetane-ccf0fab9f7b8057afc5884e70fff29109f707bf8.zip
Added pageflip message sound
-rw-r--r--res/pageflip.wavbin0 -> 29606 bytes
-rw-r--r--src/message_system.cpp2
2 files changed, 2 insertions, 0 deletions
diff --git a/res/pageflip.wav b/res/pageflip.wav new file mode 100644 index 0000000..f4b5e5e --- /dev/null +++ b/res/pageflip.wav
Binary files differ
diff --git a/src/message_system.cpp b/src/message_system.cpp index 0b0d53e..67c840e 100644 --- a/src/message_system.cpp +++ b/src/message_system.cpp
@@ -197,6 +197,8 @@ void MessageSystem::advanceText() {
197 197
198 if (lines_.empty()) { 198 if (lines_.empty()) {
199 linesToShow_.clear(); 199 linesToShow_.clear();
200 } else {
201 game_.getMixer().playSound("../res/pageflip.wav");
200 } 202 }
201} 203}
202 204