aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/paint16.h
diff options
context:
space:
mode:
authorMartin Kiewitz2010-02-05 18:56:13 +0000
committerMartin Kiewitz2010-02-05 18:56:13 +0000
commitf3ea96d168052e72ff0e5b16cef745779a89ea30 (patch)
tree916aee71947e6b8c7065762e9a512ea11c8a377b /engines/sci/graphics/paint16.h
parente7cffa90b2718398f93ce9e8ad331cd39e832c14 (diff)
downloadscummvm-rg350-f3ea96d168052e72ff0e5b16cef745779a89ea30.tar.gz
scummvm-rg350-f3ea96d168052e72ff0e5b16cef745779a89ea30.tar.bz2
scummvm-rg350-f3ea96d168052e72ff0e5b16cef745779a89ea30.zip
SCI: GfxCoordAdjuster class added, local2Global and global2Local use that class directly, kGraph / RedrawBox is now using GfxPaint16 directly
svn-id: r47908
Diffstat (limited to 'engines/sci/graphics/paint16.h')
-rw-r--r--engines/sci/graphics/paint16.h7
1 files changed, 5 insertions, 2 deletions
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;