aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sci.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/sci.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/sci.h')
-rw-r--r--engines/sci/sci.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/engines/sci/sci.h b/engines/sci/sci.h
index c6a251cb7b..beacc956e3 100644
--- a/engines/sci/sci.h
+++ b/engines/sci/sci.h
@@ -51,6 +51,27 @@ class Vocabulary;
class ResourceManager;
class AudioPlayer;
+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;
+
+
+#ifdef ENABLE_SCI32
+class SciGui32;
+class GfxFrameout;
+#endif
+
// our engine debug levels
enum kDebugLevels {
kDebugLevelError = 1 << 0,
@@ -143,6 +164,26 @@ public:
/** Remove the 'TARGET-' prefix of the given filename, if present. */
Common::String unwrapFilename(const Common::String &name) const;
+public:
+ 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
+
private:
const ADGameDescription *_gameDescription;
AudioPlayer *_audio;