From 721a57a66101d63bc05e294c24190ba66ccceb74 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sat, 13 Feb 2010 17:43:31 +0000 Subject: SCI: Move Gui/Gfx related permanent objects from EngineState to SciEngine svn-id: r48047 --- engines/sci/engine/state.h | 40 +--------------------------------------- 1 file changed, 1 insertion(+), 39 deletions(-) (limited to 'engines/sci/engine/state.h') diff --git a/engines/sci/engine/state.h b/engines/sci/engine/state.h index cb5dc023c9..29de9174b4 100644 --- a/engines/sci/engine/state.h +++ b/engines/sci/engine/state.h @@ -51,28 +51,9 @@ namespace Common { namespace Sci { class SciEvent; -class GfxAnimate; -class GfxCache; -class GfxCompare; -class GfxControls; -class GfxCoordAdjuster; -class GfxCursor; -class GfxMenu; -class GfxPaint; -class GfxPaint16; -class GfxPalette; -class GfxPorts; -class GfxScreen; -class SciGui; class MessageState; class SoundCommandParser; -#ifdef ENABLE_SCI32 -class SciGui32; -class GfxFrameout; -class GfxPaint32; -#endif - class DirSeeker { protected: reg_t _outbuffer; @@ -129,7 +110,7 @@ public: struct EngineState : public Common::Serializable { public: - EngineState(ResourceManager *res, Kernel *kernel, Vocabulary *voc, SegManager *segMan, SciGui *gui, AudioPlayer *audio); + EngineState(ResourceManager *res, Kernel *kernel, Vocabulary *voc, SegManager *segMan, AudioPlayer *audio); virtual ~EngineState(); virtual void saveLoadWithSerializer(Common::Serializer &ser); @@ -146,25 +127,6 @@ public: /* Non-VM information */ - GfxAnimate *_gfxAnimate; // Animate for 16-bit gfx - GfxCache *_gfxCache; - GfxCompare *_gfxCompare; - GfxControls *_gfxControls; // Controls for 16-bit gfx - GfxCoordAdjuster *_gfxCoordAdjuster; - GfxCursor *_gfxCursor; - GfxMenu *_gfxMenu; // Menu for 16-bit gfx - GfxPalette *_gfxPalette; - GfxPaint *_gfxPaint; - GfxPaint16 *_gfxPaint16; // Painting in 16-bit gfx - GfxPorts *_gfxPorts; // Port managment for 16-bit gfx - GfxScreen *_gfxScreen; - SciGui *_gui; /* Currently active Gui */ - -#ifdef ENABLE_SCI32 - SciGui32 *_gui32; // GUI for SCI32 games - GfxFrameout *_gfxFrameout; // kFrameout and the like for 32-bit gfx -#endif - SciEvent *_event; // Event handling AudioPlayer *_audio; -- cgit v1.2.3