diff options
author | Lars Skovlund | 2011-01-22 13:12:01 +0000 |
---|---|---|
committer | Lars Skovlund | 2011-01-22 13:12:01 +0000 |
commit | dc27a2202622a1457c3aef038e2037ab080e9d30 (patch) | |
tree | b35ec78b71fb0d8835281d078f3bd602805883d2 /engines/sci/graphics/paint32.cpp | |
parent | f48cc4119c7cded01331ad28edf5a85ba972252b (diff) | |
download | scummvm-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.cpp | 8 |
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 |