diff options
author | Martin Kiewitz | 2010-02-06 17:03:18 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-02-06 17:03:18 +0000 |
commit | 454856b5fd890450be6e3fa4db088495f901d849 (patch) | |
tree | c39f8f8a500fbd59da9da622c1422daf76ed3602 /engines/sci/graphics/paint16.h | |
parent | b431e700d8878b6f6367f4ac15df5080490feb55 (diff) | |
download | scummvm-rg350-454856b5fd890450be6e3fa4db088495f901d849.tar.gz scummvm-rg350-454856b5fd890450be6e3fa4db088495f901d849.tar.bz2 scummvm-rg350-454856b5fd890450be6e3fa4db088495f901d849.zip |
SCI: put kShakeScreen into GfxPaint, called directly now
svn-id: r47936
Diffstat (limited to 'engines/sci/graphics/paint16.h')
-rw-r--r-- | engines/sci/graphics/paint16.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/sci/graphics/paint16.h b/engines/sci/graphics/paint16.h index a880da74c8..f962c6e02a 100644 --- a/engines/sci/graphics/paint16.h +++ b/engines/sci/graphics/paint16.h @@ -45,7 +45,7 @@ class GfxView; */ class GfxPaint16 : public GfxPaint { public: - GfxPaint16(ResourceManager *resMan, SegManager *segMan, Kernel *kernel, GfxCache *cache, GfxPorts *ports, GfxCoordAdjuster *coordAdjuster, GfxScreen *screen, GfxPalette *palette, GfxTransitions *transitions); + GfxPaint16(ResourceManager *resMan, SegManager *segMan, Kernel *kernel, SciGui *gui, GfxCache *cache, GfxPorts *ports, GfxCoordAdjuster *coordAdjuster, GfxScreen *screen, GfxPalette *palette, GfxTransitions *transitions); ~GfxPaint16(); void init(GfxAnimate *animate, GfxText16 *text16); @@ -88,10 +88,13 @@ public: reg_t kernelDisplay(const char *text, int argc, reg_t *argv); + void kernelShakeScreen(uint16 shakeCount, uint16 directions); + private: ResourceManager *_resMan; SegManager *_segMan; Kernel *_kernel; + SciGui *_gui; GfxAnimate *_animate; GfxCache *_cache; GfxPorts *_ports; |