aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/savegame.cpp
AgeCommit message (Collapse)Author
2011-06-02ENGINES: Change 2nd param of Engine::saveGameState to Common::StringMax Horn
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-03-08SCI: Cleanupmd5
2011-02-14SCI: Fix loading SCI32 gamesMatthew Hoops
The frames/items in GfxFrameout need to be cleared upon loading
2011-02-15SCI2+: Set the correct segment for SCI32 strings/arrays when loadingmd5
This was an omission, observed after a discussion with clone2727
2011-02-14SCI: Fix loading pre-version 28 saved gamesMatthew Hoops
This is a regression from a9b051beff3157e1aa8
2011-02-11SCI: Simplify SegManager::saveLoadWithSerializer, cleanupMax Horn
svn-id: r55883
2010-12-24SCI: Only sync the synonyms vocabulary if the game actually has one (thanks wjp)Filippos Karapetis
svn-id: r55033
2010-12-24SCI: Now saving/loading the list of synonyms (set by kSetSynonyms), like ↵Filippos Karapetis
SSCI did This is a more correct way of fixing bug #3037618 than in rev #55017. - Changed replaceant/replacement to be uint16's (they're very small positive values, usually smaller than 4096) - Changed SynonymList to an Array (so that it can be saved/loaded) - Removed the PQ2 script patch to Game::replay() - Added savegame history svn-id: r55032
2010-12-07SCI: Silence warningsMatthew Hoops
svn-id: r54806
2010-12-07SCI: Removed the system strings code and replaced it with a much more ↵Filippos Karapetis
simplified version, thus greatly simplifying handling of system strings svn-id: r54805
2010-11-27SCI: Reverted changes to savegame.cpp made in r54510, as that still occursFilippos Karapetis
svn-id: r54511
2010-11-27SCI: Fixed bug #3034713 - "ICEMAN Demo: Fails to find base object"Filippos Karapetis
This could happen because objects in scripts can be in the wrong order. Same thing happens in the French and German version of KQ5 (bug #3035396). Removed the scriptObjRemove() method, which is in fact a hack. svn-id: r54510
2010-11-25SCI: implemented reverb handling and related functionalityFilippos Karapetis
svn-id: r54478
2010-11-24SCI: Some renaming and added several TODOs concerning reverbFilippos Karapetis
svn-id: r54461
2010-11-11SCI: Fixed bug #3104624 - "PQ3: Crash when loading saved game on the highway"Filippos Karapetis
svn-id: r54197
2010-11-09SCI: Added comments for rev. 54150 and fixed a typoFilippos Karapetis
svn-id: r54153
2010-11-08Fix assertion failure in SCI0 saving codeLars Skovlund
svn-id: r54138
2010-11-08SCI: Some changes regarding the string heap in saved gamesFilippos Karapetis
- 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
2010-11-01SCI: fixing port restoringMartin Kiewitz
- recalculate _freeCounter - dont push disposed windows onto windowlist svn-id: r54017
2010-11-01SCI: fixing bug when restoring portsMartin Kiewitz
fixes assert svn-id: r54016
2010-11-01SCI: saving/restoring script created windows nowMartin Kiewitz
fixes "GfxPorts::kernelSetActive" error based on code by [md5] svn-id: r54012
2010-10-31SCI: Removing obsolete function parameterFilippos Karapetis
svn-id: r53986
2010-10-31SCI: Play time related changesFilippos Karapetis
- Added support for savegame play time - Removed obsolete variables for calculating the play time (EngineState::gameStartTime and Console::_enterTime) - Renamed some variables to camelCase svn-id: r53974
2010-09-24SCI: save/restore intensity of sysPaletteMartin Kiewitz
fixes bug #3072868 should be save for backporting svn-id: r52875
2010-08-24SCI: now pausing/unpausing music in replaced restore dialogMartin Kiewitz
dialog will not get replaced in sci32, nor in mother goose. Enable by adding "scireplacedialog" inside scummvm section of scummvm.ini file. Note: this feature is experimental svn-id: r52318
2010-08-17SCI: added a wrapper for GUI::MessageDialogFilippos Karapetis
svn-id: r52171
2010-08-07SCI: Converted an error back into a warning when loading gamesFilippos Karapetis
svn-id: r51816
2010-08-04SCI: Fix infinite recursion when saving.Willem Jan Palenstijn
This was a regression from r51727. svn-id: r51731
2010-08-04SCI: Simplify code (let the compiler interfer types where possible)Max Horn
svn-id: r51727
2010-08-04SCI: Remove reference to common/serializer.h from vm_types.hMax Horn
svn-id: r51726
2010-08-04SCI: Fix restoring SCI32 games (a regression of r51712)Matthew Hoops
svn-id: r51723
2010-08-03SCI: reset ports when restoringMartin Kiewitz
fixes qfg3/fairy tales restoring (bug #3035626) also fixes ScummVM menu restoring while a window is shown (e.g. sq5) svn-id: r51712
2010-08-03SCI: CleanupFilippos Karapetis
svn-id: r51687
2010-08-02SCI: Yet another slight leak fix.Johannes Schickel
svn-id: r51670
2010-08-02GRAPHICS: Renamed skipThumbnailHeader to skipThumbnail.Johannes Schickel
svn-id: r51668
2010-08-02SCI: Fix memory leak.Johannes Schickel
This was a quite bad leak in gamestate_restore. It was caused by the code only deleting the Graphics::Surface object but not its data. I changed the code to use skipThumbnailHeader now, since the code actually ignores the thumbnail anyway. svn-id: r51667
2010-07-31SCI: kGameIsRestarting returns 2 when we restoredMartin Kiewitz
fixes castle of dr. brain save issue in puzzle room, fixes island of dr. brain save issue when saving in first room svn-id: r51538
2010-07-27SCI: implemented kPalette(save/restore)Martin Kiewitz
svn-id: r51381
2010-07-23SCI: Actually sync kPalVary data when saving/loadingFilippos Karapetis
svn-id: r51198
2010-07-23SCI: Dropped support for the very old savegame versions 12 and 13 ↵Filippos Karapetis
(hopefully, the last ones to be dropped) svn-id: r51197
2010-07-23SCI: some changes to kPalVary savingMartin Kiewitz
still needs to get tested svn-id: r51196
2010-07-23SCI: Now saving the kPalVary state inside savegamesFilippos Karapetis
svn-id: r51194
2010-07-22SCI: Fixed a bug when loading some saved games (sometimes, the execution ↵Filippos Karapetis
stack wasn't cleared properly when loading and you couldn't save or restore) svn-id: r51140
2010-07-17SCI: checking if within kernel function before overwrite a save (thx @ digitall)Martin Kiewitz
svn-id: r50962
2010-07-09SCI: implemented subsignatures for kDoSoundMartin Kiewitz
svn-id: r50755
2010-07-07SCI: Dropped support for the very old saved game versions 9 - 11. Rationale: ↵Filippos Karapetis
a lot has changed since then, we're still not stable, and this helps clean up the code, thus we're still in a position to drop support for old saved games svn-id: r50738
2010-07-06SCI: Add version to obsolete stringMax Horn
This way, if we ever get rid of support for savegames with version <= 23, we can also get rid of this syncString() call. Without this change, it would have "infected" every new savegame version, forever. svn-id: r50730
2010-07-01SCI: Invoke resetSegMan from SegManager::saveLoadWithSerializer, not from ↵Max Horn
EngineState::saveLoadWithSerializer svn-id: r50554
2010-07-01SCI: Make SegManager::_classTable private.Max Horn
This require a small tweak to the save/load code: I moved the syncing logic for _classtable from EngineState::saveLoadWithSerializer to SegManager::saveLoadWithSerializer, which in theory should have no effect (luckily, _classtable was being synced right after the segment manager). svn-id: r50551