aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/savegame.cpp
AgeCommit message (Collapse)Author
2009-05-03SCI: Begun conversion of the MemObject union (used to implement poor man's ↵Max Horn
fake inheritance) into a base class of all the various union members svn-id: r40272
2009-05-03SCI: Renamed MemObject::type and ::segmgr_id to _type resp. _segmgrId, and ↵Max Horn
added accessor methods getType() and getSegMgrId() svn-id: r40271
2009-05-03SCI: Changed SegManager to subclass Common::SerializableMax Horn
svn-id: r40270
2009-04-28SCI: Improved the Table template a bit by taking advantage of C++ featuresMax Horn
svn-id: r40190
2009-04-27SCI: Turned classtable into a Common::Array<Class>Max Horn
svn-id: r40161
2009-04-27SCI: Removed unused vars; doxygenified some comments; cleanupMax Horn
svn-id: r40159
2009-04-24SCI: Renamed gfxw_widget_t and subtypes to GfxWidget etc.Max Horn
svn-id: r40104
2009-04-24SCI: Started to C++ify the gfxw_widget_t codebaseMax Horn
svn-id: r40103
2009-04-24SCI: Store parse_tree_branch_t in a Common::ArraayMax Horn
svn-id: r40100
2009-04-22SCI: Changed kfunct_table to a Common::ArrayMax Horn
svn-id: r40080
2009-04-22SCI: Changed knames (kernel function name table) to Common::StringListMax Horn
svn-id: r40078
2009-04-02Disable some (quite chatty) debug output - the savegme system looks stable ↵Filippos Karapetis
enough svn-id: r39801
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