aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/paint32.cpp
diff options
context:
space:
mode:
authorLars Skovlund2011-01-22 13:12:01 +0000
committerLars Skovlund2011-01-22 13:12:01 +0000
commitdc27a2202622a1457c3aef038e2037ab080e9d30 (patch)
treeb35ec78b71fb0d8835281d078f3bd602805883d2 /engines/sci/graphics/paint32.cpp
parentf48cc4119c7cded01331ad28edf5a85ba972252b (diff)
downloadscummvm-rg350-dc27a2202622a1457c3aef038e2037ab080e9d30.tar.gz
scummvm-rg350-dc27a2202622a1457c3aef038e2037ab080e9d30.tar.bz2
scummvm-rg350-dc27a2202622a1457c3aef038e2037ab080e9d30.zip
SCI: Added stub for playing robot audio from the console
svn-id: r55424
Diffstat (limited to 'engines/sci/graphics/paint32.cpp')
-rw-r--r--engines/sci/graphics/paint32.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/sci/graphics/paint32.cpp b/engines/sci/graphics/paint32.cpp
index 0167593084..974efd371a 100644
--- a/engines/sci/graphics/paint32.cpp
+++ b/engines/sci/graphics/paint32.cpp
@@ -90,4 +90,12 @@ void GfxPaint32::debugDrawRobot(GuiResourceId robotId) {
delete test;
}
+void GfxPaint32::debugPlayRobotAudio(GuiResourceId robotId) {
+ GfxRobot *test = new GfxRobot(g_sci->getResMan(), _screen, _palette);
+ test->init(robotId, 0, 0);
+ test->playAudio();
+ delete test;
+}
+
+
} // End of namespace Sci