aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/scenes
diff options
context:
space:
mode:
authorEugene Sandulenko2014-01-01 14:25:12 +0200
committerEugene Sandulenko2014-01-01 14:25:12 +0200
commitec682de1f2c09b3c27316aafb52c5770ed454b54 (patch)
tree0f77eb0357aa9aa274447436d4d40e23608521b5 /engines/fullpipe/scenes
parent3fccfcdc54200ae21445cfbf850cf6c4388e05c0 (diff)
downloadscummvm-rg350-ec682de1f2c09b3c27316aafb52c5770ed454b54.tar.gz
scummvm-rg350-ec682de1f2c09b3c27316aafb52c5770ed454b54.tar.bz2
scummvm-rg350-ec682de1f2c09b3c27316aafb52c5770ed454b54.zip
FULLPIPE: Implement sceneHandler16_laughSound()
Diffstat (limited to 'engines/fullpipe/scenes')
-rw-r--r--engines/fullpipe/scenes/scene16.cpp20
1 files changed, 19 insertions, 1 deletions
diff --git a/engines/fullpipe/scenes/scene16.cpp b/engines/fullpipe/scenes/scene16.cpp
index 0370ec7cd1..23030a30c4 100644
--- a/engines/fullpipe/scenes/scene16.cpp
+++ b/engines/fullpipe/scenes/scene16.cpp
@@ -125,7 +125,25 @@ int scene16_updateCursor() {
}
void sceneHandler16_laughSound() {
- warning("STUB: sceneHandler16_laughSound()");
+ int snd;
+
+ switch (g_vars->scene16_sound) {
+ case SND_16_034:
+ snd = SND_16_035;
+ break;
+
+ case SND_16_035:
+ snd = SND_16_037;
+ break;
+
+ case SND_16_037:
+ snd = SND_16_034;
+ break;
+ }
+
+ g_vars->scene16_sound = snd;
+
+ g_fp->playSound(snd, 0);
}
void sceneHandler16_showBearded() {