aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/savegame.h
diff options
context:
space:
mode:
authorColin Snover2017-02-09 19:11:58 -0600
committerColin Snover2017-04-23 13:07:25 -0500
commit90c6c0580ec4071d22a50e4c0276ac98e69af38a (patch)
tree461a6f7a81929cc424839333aee70850a80b6d0f /engines/sci/engine/savegame.h
parent82994609177c30b69f2be155670253b63469d876 (diff)
downloadscummvm-rg350-90c6c0580ec4071d22a50e4c0276ac98e69af38a.tar.gz
scummvm-rg350-90c6c0580ec4071d22a50e4c0276ac98e69af38a.tar.bz2
scummvm-rg350-90c6c0580ec4071d22a50e4c0276ac98e69af38a.zip
SCI: Convert Object to use Common::Array for SCI3
In SCI3, index-to-selector tables no longer exist in compiled object data (instead, the SCI3 VM uses selectors directly and object data contains a bit map of valid selectors). In ScummVM, the table is generated by Object::initSelectorsSci3 for compatibility with the design of the ScummVM SCI VM. For consistency, _baseVars is converted to use a standard container, which works for all SCI versions. The table for SCI3 property offsets is also changed to use a standard container instead of manually managing the memory with malloc/free.
Diffstat (limited to 'engines/sci/engine/savegame.h')
-rw-r--r--engines/sci/engine/savegame.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/sci/engine/savegame.h b/engines/sci/engine/savegame.h
index b6a673b1c0..53377f0b4d 100644
--- a/engines/sci/engine/savegame.h
+++ b/engines/sci/engine/savegame.h
@@ -37,6 +37,7 @@ struct EngineState;
*
* Version - new/changed feature
* =============================
+ * 42 - initial SCI3 support
* 41 - palette support for newer SCI2.1 games; stable SCI2/2.1 save games
* 40 - always store palvary variables
* 39 - Accurate SCI32 arrays/strings, score metadata, avatar metadata
@@ -66,7 +67,7 @@ struct EngineState;
*/
enum {
- CURRENT_SAVEGAME_VERSION = 41,
+ CURRENT_SAVEGAME_VERSION = 42,
MINIMUM_SAVEGAME_VERSION = 14
#ifdef ENABLE_SCI32
,