aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/script.h
diff options
context:
space:
mode:
authorFilippos Karapetis2010-11-08 00:18:34 +0000
committerFilippos Karapetis2010-11-08 00:18:34 +0000
commit5de2668939a6735da2b3438b7c586fc185791ef8 (patch)
tree90482888c7a6303e45e6da59caf582fd19e13f52 /engines/sci/engine/script.h
parent97a98cf9db150f41c704ff92609b30fa9bf8ee30 (diff)
downloadscummvm-rg350-5de2668939a6735da2b3438b7c586fc185791ef8.tar.gz
scummvm-rg350-5de2668939a6735da2b3438b7c586fc185791ef8.tar.bz2
scummvm-rg350-5de2668939a6735da2b3438b7c586fc185791ef8.zip
SCI: Some changes regarding the string heap in saved games
- Maintain the state of the string heap space in saved games - Merged SegManager::reconstructScripts() inside SegManager::saveLoadWithSerializer() - Disabled a now unnecessary script patch for the cipher puzzle in Castle of Dr. Brain, and performed some cleanup for another disabled patch - Removed direct access to the _baseObj variable of objects svn-id: r54133
Diffstat (limited to 'engines/sci/engine/script.h')
-rw-r--r--engines/sci/engine/script.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/engines/sci/engine/script.h b/engines/sci/engine/script.h
index 04603ad829..bc263edc8c 100644
--- a/engines/sci/engine/script.h
+++ b/engines/sci/engine/script.h
@@ -243,6 +243,11 @@ public:
*/
byte *findBlockSCI0(int type, int startBlockIndex = -1);
+ /**
+ * Syncs the string heap of a script. Used when saving/loading.
+ */
+ void syncStringHeap(Common::Serializer &ser);
+
private:
/**
* Processes a relocation block witin a script
@@ -268,8 +273,6 @@ private:
* @param segmentId The script's segment id
*/
void initialiseObjectsSci11(SegManager *segMan, SegmentId segmentId);
-
- void syncHeap(Common::Serializer &ser);
};
} // End of namespace Sci