aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
diff options
context:
space:
mode:
authorFilippos Karapetis2010-07-22 22:04:40 +0000
committerFilippos Karapetis2010-07-22 22:04:40 +0000
commita9414ebb08feea0353ab32b97f5e1234f232f302 (patch)
tree32d3d2e8924e44d0ba02836e53edd106b956e10d /engines/sci/engine
parent7fb37db81ea56f35251a189ace9dcee964d74c36 (diff)
downloadscummvm-rg350-a9414ebb08feea0353ab32b97f5e1234f232f302.tar.gz
scummvm-rg350-a9414ebb08feea0353ab32b97f5e1234f232f302.tar.bz2
scummvm-rg350-a9414ebb08feea0353ab32b97f5e1234f232f302.zip
SCI: Some slight work on robot files
svn-id: r51176
Diffstat (limited to 'engines/sci/engine')
-rw-r--r--engines/sci/engine/kgraphics.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/sci/engine/kgraphics.cpp b/engines/sci/engine/kgraphics.cpp
index 299a4f5c81..bea91d7bf3 100644
--- a/engines/sci/engine/kgraphics.cpp
+++ b/engines/sci/engine/kgraphics.cpp
@@ -44,6 +44,7 @@
#include "sci/graphics/palette.h"
#include "sci/graphics/paint16.h"
#include "sci/graphics/ports.h"
+#include "sci/graphics/robot.h"
#include "sci/graphics/screen.h"
#include "sci/graphics/text16.h"
#include "sci/graphics/view.h"
@@ -1318,6 +1319,10 @@ reg_t kRobot(EngineState *s, int argc, reg_t *argv) {
int16 x = argv[4].toUint16();
int16 y = argv[5].toUint16();
warning("kRobot(init), id %d, obj %04x:%04x, flag %d, x=%d, y=%d", id, PRINT_REG(obj), flag, x, y);
+ GfxRobot *test = new GfxRobot(g_sci->getResMan(), g_sci->_gfxScreen, id);
+ test->draw();
+ delete test;
+
}
break;
case 1: // LSL6 hires (startup)