aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/savegame.cpp
AgeCommit message (Collapse)Author
2009-03-24SCI: Rewrote vocabulary code to use a Common::HashMap<String,ResultWord>Max Horn
svn-id: r39671
2009-03-24SCI: Changed some char* into Common::StringMax Horn
svn-id: r39663
2009-03-24SCI: C++ify menu codeMax Horn
svn-id: r39659
2009-03-17Renamed some defines:Filippos Karapetis
- FREESCI_CURRENT_SAVEGAME_VERSION, FREESCI_MINIMUM_SAVEGAME_VERSION -> CURRENT_SAVEGAME_VERSION, MINIMUM_SAVEGAME_VERSION (saved games are not compatible with FreeSCI's ones anymore) - _K_VIEW_SIG_FLAG_FREESCI_STOPUPD -> _K_VIEW_SIG_FLAG_STOPUPD (like the rest of the flags) - Removed FREESCI_KFUNCT_GLUTTON (unused) svn-id: r39478
2009-03-15SCI: Rewrote the save/load code, see also patch #2687400.Max Horn
The new format is incompatible with the old one, and is still subject to some further changes. Also, regressions are quite possible, so watch out. Finally, the new code still contains some TODOs and FIXMEs. Several of these will be more or less automatically resolved once other code gets C++ified. svn-id: r39430
2009-03-15SCI: Indention changes, changed 'songlib_t' params to 'const songlib_t &'Max Horn
svn-id: r39429
2009-03-14SCI: Removed more dead codeMax Horn
svn-id: r39379
2009-03-14Changed the "internal" variable inside gfxr_pic_t to priorityTable (cause ↵Filippos Karapetis
that's what it is), and changed its type to int * to avoid unneeded casts svn-id: r39375
2009-03-12SCI: Moved savegame specific stuff from state.h to a new header savegame.hMax Horn
svn-id: r39351
2009-03-12SCI: Removed some dead codeMax Horn
svn-id: r39349
2009-03-11SCI: Removed some dead codeMax Horn
svn-id: r39328
2009-03-10SCI: Removing unused line from savegame.cfsml, fixing SongIteratorMessage -> ↵Max Horn
SongIterator::Message in it svn-id: r39306
2009-03-10String fragments supportLars Skovlund
WIP: No regressions in this part, I hope svn-id: r39297
2009-03-10SCI: Renamed SongIteratorMessage -> SongIterator::Message; cleanupMax Horn
svn-id: r39289
2009-03-09SCI: Rewrote handling of song wakeup times & (iterator) delays, to avoid ↵Max Horn
rounding issues between ticks (1/60s) and milliseconds; also fixed a bug (coming from Glutton ;) where delays measured in millisecs were treated as ticks instead. Thanks to Walter for the precursor of this patch svn-id: r39263
2009-03-08SCI: Changed suffix list to be stored as a Common::List; also fixed ↵Max Horn
spelling: suffices -> suffixes svn-id: r39214
2009-03-07SCI: Reduced header interdependencies some moreMax Horn
svn-id: r39202
2009-03-07Replaced getInt16, getUInt16 and putInt16Filippos Karapetis
svn-id: r39189
2009-03-07SCI: More cleanup in the song iterator codebaseMax Horn
svn-id: r39177
2009-03-06SCI: Reduce SFX header dependenciesMax Horn
svn-id: r39159
2009-03-06SCI: C++ifyed SongIterator and its subclassesMax Horn
svn-id: r39152
2009-03-06SCI: Some cleanup to the SongIteratorMessage codeMax Horn
svn-id: r39151
2009-03-06SCI: Renamed lots of classes related to song iterators; allocate song ↵Max Horn
iterators via new/delete instead of malloc/free svn-id: r39148
2009-03-01SCI: Forgot to commit a couple files after renaming sfx headersMax Horn
svn-id: r39010
2009-02-28SCI: Use the ResourceType enum instead of integers where it makes senseJordi Vilalta Prat
svn-id: r38988
2009-02-28SCI: Renamed ResourceManager::sci_version to _sciVersion, to avoid var ↵Max Horn
shadowing warnings; some other tweaks svn-id: r38984
2009-02-28resource_t struct replaced with stub Resource class for future objectifying. ↵Greg Frieger
Also the crash when exiting SCI1 games was fixed svn-id: r38982
2009-02-28Turned ResourceManager into a class, along with all related functionsGreg Frieger
svn-id: r38978
2009-02-28SCI: Renamed some kernel types and general cleanupJordi Vilalta Prat
svn-id: r38961
2009-02-28Add support for saving Common::String objects.Willem Jan Palenstijn
Use it to simplify SavegameMetadata handling. svn-id: r38959
2009-02-28Make CFSML writers take const argumentsWillem Jan Palenstijn
svn-id: r38952
2009-02-27Fix reading corrupted saves.Willem Jan Palenstijn
svn-id: r38934
2009-02-27fix warnings and memleaks in savegame.cfsmlWillem Jan Palenstijn
svn-id: r38933
2009-02-27SCI: Renamed include/engine.h to engine/state.h; added a corresponding .cpp ↵Max Horn
file with the EngineState constructor svn-id: r38921
2009-02-26- Removed engine/sys_strings.*Filippos Karapetis
- Renamed sys_string_t -> SystemString, sys_strings_t -> SystemStrings svn-id: r38916
2009-02-25fix read_SegManagerPtr to not read from an uninitialzed pointerAndre Heider
svn-id: r38889
2009-02-25reintroduce game_start_time (removed it in r38701), since the interpreter ↵Andre Heider
can be restarted and it can be retrieved via script function (eg. LSL3 about box) svn-id: r38888
2009-02-24SCI: Don't #include headers in other headers if a forward declaration of a ↵Max Horn
few types suffices (reduces header interdependencies) svn-id: r38872
2009-02-24not needed include anymorePaweł Kołodziejski
svn-id: r38862
2009-02-24SCI: Renamed gfx/gfx_operations.h to gfx/operations.h (matching the source ↵Max Horn
file); moved include/sci_widgets.h to gfx/ (matching location of source file); renamed gfx/widgets.cpp to gfx/gfx_widgets.cpp (matching the header) svn-id: r38852
2009-02-24Fix compilationEugene Sandulenko
svn-id: r38850
2009-02-24SCI: Moved engines/sci/include/sci_memory.h and ↵Max Horn
engines/sci/scicore/sci_memory.cpp into engines/sci/; moved macros from the header into the source file svn-id: r38832
2009-02-24SCI: Renamed int_hashmap to IntMapper, and added docs that explain that this ↵Max Horn
is *not* a hashmap (at least not a plain hashmap) svn-id: r38823
2009-02-23SCI: Got rid of resource_dir & work_dir (temporarily disabled ↵Max Horn
f_open_mirrored for that) svn-id: r38807
2009-02-23SCI: Changed selector name table to a Common::StringListMax Horn
svn-id: r38805
2009-02-23SCI: Fix saving/loading (regression introduced in r38767)Jordi Vilalta Prat
svn-id: r38799
2009-02-22Check for end of file more often while reading CFSMLWillem Jan Palenstijn
svn-id: r38796
2009-02-22SCI: Fix what looks like a bug in the save/load system (?)Max Horn
svn-id: r38795
2009-02-22SCI: Rewrite the way file handles are managedMax Horn
svn-id: r38794
2009-02-22Whitespace cleanupJordi Vilalta Prat
svn-id: r38783