aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/state.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci/engine/state.h')
-rw-r--r--engines/sci/engine/state.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/sci/engine/state.h b/engines/sci/engine/state.h
index 561db322ef..15c1c2e63e 100644
--- a/engines/sci/engine/state.h
+++ b/engines/sci/engine/state.h
@@ -109,7 +109,7 @@ public:
struct EngineState : public Common::Serializable {
public:
- EngineState();
+ EngineState(ResourceManager *res, sci_version_t version, uint32 flags);
virtual ~EngineState();
virtual void saveLoadWithSerializer(Common::Serializer &ser);
@@ -118,6 +118,9 @@ public:
ResourceManager *resmgr; /**< The resource manager */
+ const sci_version_t _version; /**< The approximated patchlevel of the version to emulate */
+ const uint32 _flags; /**< Specific game flags */
+
Common::String _gameName; /**< Designation of the primary object (which inherits from Game) */
char *game_version;
@@ -174,9 +177,6 @@ public:
uint32 game_start_time; /**< The time at which the interpreter was started */
uint32 last_wait_time; /**< The last time the game invoked Wait() */
- sci_version_t version; /**< The approximated patchlevel of the version to emulate */
- uint32 flags; /**< Specific game flags */
-
unsigned int kernel_opt_flags; /**< Kernel optimization flags- used for performance tweaking */
/* Kernel File IO stuff */