diff options
author | Walter van Niftrik | 2010-01-31 19:47:54 +0000 |
---|---|---|
committer | Walter van Niftrik | 2010-01-31 19:47:54 +0000 |
commit | a92bb6193be1bcc1e00aed4ced749a5226f5815d (patch) | |
tree | d9da72f32eccf054fb703e2ef02f6cb4a92b3e30 /engines/sci/engine/state.h | |
parent | 4acb18f6b9faa4a0faf3f88ae74926e9c1074ed5 (diff) | |
download | scummvm-rg350-a92bb6193be1bcc1e00aed4ced749a5226f5815d.tar.gz scummvm-rg350-a92bb6193be1bcc1e00aed4ced749a5226f5815d.tar.bz2 scummvm-rg350-a92bb6193be1bcc1e00aed4ced749a5226f5815d.zip |
SCI: Implement kMemorySegment().
svn-id: r47776
Diffstat (limited to 'engines/sci/engine/state.h')
-rw-r--r-- | engines/sci/engine/state.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/sci/engine/state.h b/engines/sci/engine/state.h index 299e6ac1d6..9d7a7a5ab4 100644 --- a/engines/sci/engine/state.h +++ b/engines/sci/engine/state.h @@ -140,6 +140,10 @@ public: EngineState(ResourceManager *res, Kernel *kernel, Vocabulary *voc, SegManager *segMan, SciGui *gui, AudioPlayer *audio); virtual ~EngineState(); + enum { + kMemorySegmentMax = 256 + }; + virtual void saveLoadWithSerializer(Common::Serializer &ser); kLanguage getLanguage(); @@ -287,6 +291,9 @@ public: MessageState *_msgState; + uint _memorySegmentSize; + byte _memorySegment[kMemorySegmentMax]; + EngineState *successor; /**< Successor of this state: Used for restoring */ Common::String getLanguageString(const char *str, kLanguage lang) const; |