aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/paint32.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2011-02-07 12:24:09 +0000
committerFilippos Karapetis2011-02-07 12:24:09 +0000
commit6f9ac84f77f140c8008ffec0e57fcf2ddd17a10e (patch)
treedbf6c0eae66fe09f7ab9e397ba41c60e2b01c970 /engines/sci/graphics/paint32.cpp
parentd7fb5239e7ed9b95442b8a481cdd9e6c25a9acc5 (diff)
downloadscummvm-rg350-6f9ac84f77f140c8008ffec0e57fcf2ddd17a10e.tar.gz
scummvm-rg350-6f9ac84f77f140c8008ffec0e57fcf2ddd17a10e.tar.bz2
scummvm-rg350-6f9ac84f77f140c8008ffec0e57fcf2ddd17a10e.zip
SCI: Converted the robot decoder into a regular video decoder, and decoupled it from the
SciEngine class - Robot videos are now shown in frameOut(), like they should, and kRobot(sync) is only used for syncing with the game scripts - Hooked video playing into the "play_video" console command svn-id: r55801
Diffstat (limited to 'engines/sci/graphics/paint32.cpp')
-rw-r--r--engines/sci/graphics/paint32.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/engines/sci/graphics/paint32.cpp b/engines/sci/graphics/paint32.cpp
index 2fb4b832e5..aa3bf8dfb3 100644
--- a/engines/sci/graphics/paint32.cpp
+++ b/engines/sci/graphics/paint32.cpp
@@ -39,7 +39,6 @@
#include "sci/graphics/view.h"
#include "sci/graphics/screen.h"
#include "sci/graphics/palette.h"
-#include "sci/graphics/robot.h"
namespace Sci {
@@ -81,13 +80,4 @@ void GfxPaint32::kernelGraphDrawLine(Common::Point startPoint, Common::Point end
_screen->drawLine(startPoint.x, startPoint.y, endPoint.x, endPoint.y, color, priority, control);
}
-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->processNextFrame();
- }
- delete test;
-}
-
} // End of namespace Sci