diff options
Diffstat (limited to 'engines/sci/graphics/gui32.cpp')
-rw-r--r-- | engines/sci/graphics/gui32.cpp | 29 |
1 files changed, 1 insertions, 28 deletions
diff --git a/engines/sci/graphics/gui32.cpp b/engines/sci/graphics/gui32.cpp index 9b9f2fc648..f8c54c0fe4 100644 --- a/engines/sci/graphics/gui32.cpp +++ b/engines/sci/graphics/gui32.cpp @@ -52,6 +52,7 @@ SciGui32::SciGui32(EngineState *state, GfxScreen *screen, GfxPalette *palette, G _paint32 = new GfxPaint32(_s->resMan, _s->_segMan, _s->_kernel, _cache, _screen, _palette); _s->_gfxPaint = _paint32; _frameout = new GfxFrameout(_s->_segMan, _s->resMan, _cache, _screen, _palette, _paint32); + _s->_gfxFrameout = _frameout; } SciGui32::~SciGui32() { @@ -204,34 +205,6 @@ void SciGui32::moveCursor(Common::Point pos) { void SciGui32::setCursorZone(Common::Rect zone) { _cursor->setMoveZone(zone); } -void SciGui32::addScreenItem(reg_t object) { - _frameout->kernelAddScreenItem(object); -} - -void SciGui32::deleteScreenItem(reg_t object) { - _frameout->kernelDeleteScreenItem(object); -} - -void SciGui32::addPlane(reg_t object) { - _frameout->kernelAddPlane(object); -} - -void SciGui32::updatePlane(reg_t object) { - _frameout->kernelUpdatePlane(object); -} - -void SciGui32::deletePlane(reg_t object) { - _frameout->kernelDeletePlane(object); -} - -int16 SciGui32::getHighPlanePri() { - return _frameout->kernelGetHighPlanePri(); -} - -void SciGui32::frameOut() { - _frameout->kernelFrameout(); - _screen->copyToScreen(); -} void SciGui32::drawRobot(GuiResourceId robotId) { Robot *test = new Robot(_s->resMan, _screen, robotId); |