diff options
author | Martin Kiewitz | 2010-06-15 15:44:24 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-06-15 15:44:24 +0000 |
commit | b25aba1d1ed9c867bbb4ff1b6b7ef9ea075b3cd1 (patch) | |
tree | 0d2e0c868f325c37b67389295ab89ce094ff594f /engines/sci/graphics/paint32.cpp | |
parent | 44ce741f9c3fd1651c62ffee91467437f24e5d3c (diff) | |
download | scummvm-rg350-b25aba1d1ed9c867bbb4ff1b6b7ef9ea075b3cd1.tar.gz scummvm-rg350-b25aba1d1ed9c867bbb4ff1b6b7ef9ea075b3cd1.tar.bz2 scummvm-rg350-b25aba1d1ed9c867bbb4ff1b6b7ef9ea075b3cd1.zip |
SCI: SciGui/SciGui32 gone for good...
svn-id: r49860
Diffstat (limited to 'engines/sci/graphics/paint32.cpp')
-rw-r--r-- | engines/sci/graphics/paint32.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/sci/graphics/paint32.cpp b/engines/sci/graphics/paint32.cpp index 711efc9816..9b24da413b 100644 --- a/engines/sci/graphics/paint32.cpp +++ b/engines/sci/graphics/paint32.cpp @@ -38,6 +38,7 @@ #include "sci/graphics/view.h" #include "sci/graphics/screen.h" #include "sci/graphics/palette.h" +#include "sci/graphics/robot.h" namespace Sci { @@ -79,4 +80,10 @@ 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, robotId); + test->draw(); + delete test; +} + } // End of namespace Sci |