From f3ea96d168052e72ff0e5b16cef745779a89ea30 Mon Sep 17 00:00:00 2001 From: Martin Kiewitz Date: Fri, 5 Feb 2010 18:56:13 +0000 Subject: SCI: GfxCoordAdjuster class added, local2Global and global2Local use that class directly, kGraph / RedrawBox is now using GfxPaint16 directly svn-id: r47908 --- engines/sci/graphics/paint16.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'engines/sci/graphics/paint16.h') diff --git a/engines/sci/graphics/paint16.h b/engines/sci/graphics/paint16.h index 76ec1b98de..06a0cc5f8c 100644 --- a/engines/sci/graphics/paint16.h +++ b/engines/sci/graphics/paint16.h @@ -45,10 +45,10 @@ class GfxView; */ class GfxPaint16 : public GfxPaint { public: - GfxPaint16(ResourceManager *resMan, SegManager *segMan, Kernel *kernel, GfxCache *cache, GfxPorts *ports, GfxScreen *screen, GfxPalette *palette, GfxTransitions *transitions); + GfxPaint16(ResourceManager *resMan, SegManager *segMan, Kernel *kernel, GfxCache *cache, GfxPorts *ports, GfxCoordAdjuster *coordAdjuster, GfxScreen *screen, GfxPalette *palette, GfxTransitions *transitions); ~GfxPaint16(); - void init(GfxText16 *text16); + void init(GfxAnimate *animate, GfxText16 *text16); void setEGAdrawingVisualize(bool state); @@ -84,13 +84,16 @@ public: reg_t kernelGraphSaveUpscaledHiresBox(Common::Rect rect); void kernelGraphRestoreBox(reg_t handle); void kernelGraphUpdateBox(Common::Rect rect, bool hiresMode); + void kernelGraphRedrawBox(Common::Rect rect); private: ResourceManager *_resMan; SegManager *_segMan; Kernel *_kernel; + GfxAnimate *_animate; GfxCache *_cache; GfxPorts *_ports; + GfxCoordAdjuster *_coordAdjuster; GfxScreen *_screen; GfxPalette *_palette; GfxText16 *_text16; -- cgit v1.2.3