aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/paint32.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2011-02-04 17:51:59 +0000
committerFilippos Karapetis2011-02-04 17:51:59 +0000
commit512bcf8b907edd69ed7bed2c988f6aa0b8cdfe69 (patch)
treee16114ba871f957eff4cd0082c84de77c324fabb /engines/sci/graphics/paint32.cpp
parent94b6d23d44ee9d48b4e4631f7d38d16c012bf56b (diff)
downloadscummvm-rg350-512bcf8b907edd69ed7bed2c988f6aa0b8cdfe69.tar.gz
scummvm-rg350-512bcf8b907edd69ed7bed2c988f6aa0b8cdfe69.tar.bz2
scummvm-rg350-512bcf8b907edd69ed7bed2c988f6aa0b8cdfe69.zip
SCI: Rewrote the robot playing code in a way similar to other video decoders
- The code now streams videos instead of loading them in memory, without utilizing seeking - Removed the sound-related robot code from the graphics classes - Started implementing the code for the sound in robot videos (still not finished) svn-id: r55772
Diffstat (limited to 'engines/sci/graphics/paint32.cpp')
-rw-r--r--engines/sci/graphics/paint32.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/engines/sci/graphics/paint32.cpp b/engines/sci/graphics/paint32.cpp
index 974efd371a..2fb4b832e5 100644
--- a/engines/sci/graphics/paint32.cpp
+++ b/engines/sci/graphics/paint32.cpp
@@ -85,17 +85,9 @@ void GfxPaint32::debugDrawRobot(GuiResourceId robotId) {
GfxRobot *test = new GfxRobot(g_sci->getResMan(), _screen, _palette);
test->init(robotId, 0, 0);
while (test->getCurFrame() + 1 < test->getFrameCount()) {
- test->drawNextFrame();
+ test->processNextFrame();
}
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