diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2021-02-05 18:19:44 -0500 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2021-02-05 18:19:44 -0500 |
commit | ccf0fab9f7b8057afc5884e70fff29109f707bf8 (patch) | |
tree | 96896f1f80da765e9fc61da361e6724f119464d6 | |
parent | ea78916cc43fe67690f2f92d88ac4a8b0e9857d8 (diff) | |
download | tanetane-ccf0fab9f7b8057afc5884e70fff29109f707bf8.tar.gz tanetane-ccf0fab9f7b8057afc5884e70fff29109f707bf8.tar.bz2 tanetane-ccf0fab9f7b8057afc5884e70fff29109f707bf8.zip |
Added pageflip message sound
-rw-r--r-- | res/pageflip.wav | bin | 0 -> 29606 bytes | |||
-rw-r--r-- | src/message_system.cpp | 2 |
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 | ||