From 454856b5fd890450be6e3fa4db088495f901d849 Mon Sep 17 00:00:00 2001 From: Martin Kiewitz Date: Sat, 6 Feb 2010 17:03:18 +0000 Subject: SCI: put kShakeScreen into GfxPaint, called directly now svn-id: r47936 --- engines/sci/graphics/paint16.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'engines/sci/graphics/paint16.h') 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; -- cgit v1.2.3