aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/state.h
diff options
context:
space:
mode:
authorMax Horn2010-02-13 17:43:31 +0000
committerMax Horn2010-02-13 17:43:31 +0000
commit721a57a66101d63bc05e294c24190ba66ccceb74 (patch)
tree058961d76217a87776f47fa62b178741eeb1e04e /engines/sci/engine/state.h
parentac4d325e0d61b649026a5f5414f749697b285ccc (diff)
downloadscummvm-rg350-721a57a66101d63bc05e294c24190ba66ccceb74.tar.gz
scummvm-rg350-721a57a66101d63bc05e294c24190ba66ccceb74.tar.bz2
scummvm-rg350-721a57a66101d63bc05e294c24190ba66ccceb74.zip
SCI: Move Gui/Gfx related permanent objects from EngineState to SciEngine
svn-id: r48047
Diffstat (limited to 'engines/sci/engine/state.h')
-rw-r--r--engines/sci/engine/state.h40
1 files changed, 1 insertions, 39 deletions
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;