From a550e2ea10a44b2f5482af17be2cb473b9e4a0ce Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sun, 6 Sep 2009 13:00:30 +0000 Subject: SCI: Replace "IntMapper *id_seg_map" in SegManager with a Common::HashMap This simplifies the code considerably. Also changed the savegame format accordingly, which required me to bump the format version to 10. Old saves should still load fine. svn-id: r43986 --- engines/sci/engine/savegame.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'engines/sci/engine/savegame.h') diff --git a/engines/sci/engine/savegame.h b/engines/sci/engine/savegame.h index b238b7730a..6c9c84ccd5 100644 --- a/engines/sci/engine/savegame.h +++ b/engines/sci/engine/savegame.h @@ -35,6 +35,11 @@ namespace Sci { struct EngineState; +enum { + CURRENT_SAVEGAME_VERSION = 10, + MINIMUM_SAVEGAME_VERSION = 9 +}; + // Savegame metadata struct SavegameMetadata { Common::String savegame_name; -- cgit v1.2.3