aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/savegame.cpp
AgeCommit message (Collapse)Author
2015-05-03SCI: Clarify function nameWillem Jan Palenstijn
2015-04-27SCI: move SCI32 plane clear to gamestate_restore()Martin Kiewitz
2015-04-26SCI: restore: clear screen when restoringMartin Kiewitz
primarily to clear kPortrait graphics in kq6 when restoring during portrait animation
2015-04-26SCI: restore: reset ports before loading memoryMartin Kiewitz
otherwise we could free hunk space of the loaded saved game
2015-04-26SCI: implement delayed restore via ScummVM menuMartin Kiewitz
will delay restoring a saved game until the next kGetEvent or kWait also implement aborting playback for kPortrait and kShowMovie
2015-04-23SCI: fix Camelot save on map screen bug #6744Martin Kiewitz
don't put restored script windows into _windowList[]
2015-02-15SCI: Use sound resource priority by default for songsWillem Jan Palenstijn
SCI1 sound resources can have an embedded priority. We now use that by default, unless an explicit DoSound/SetPriority call overrides it. Thanks waltervn. This fixes relative priority of songs in at least PQ3 room 29. Also increase savegame version to 33.
2015-02-15SCI: Always re-sort playlist in soundPlayWillem Jan Palenstijn
Previously, it would only sort if a song wasn't already in the playlist. Since initSound already adds it, this effectively prevented the list from being sorted.
2015-02-14SCI: Register and save playBed option to PlaySoundWillem Jan Palenstijn
The playBed option is not handled yet, only stored. This increases the savegame format version.
2014-12-13SCI: Fix comment for workaround.Willem Jan Palenstijn
The previous explanation just wasn't true.
2014-10-19SCI: Add notesWillem Jan Palenstijn
2014-02-18SCI: Make GPL headers consistent in themselves.Johannes Schickel
2014-02-17SCI: Provide more accurate error messages for unsupported saved gamesFilippos Karapetis
2013-12-14SCI: Make second pass when loading objectsWillem Jan Palenstijn
This is because objects may be loaded before their base objects, which causes initBaseObject to fail for SCI0. Script::initializeObjectsSci0 already did this, but SegManager::saveLoadWithSerializer did not when calling initBaseObject after loading a savegame.
2013-12-04Merge branch 'master' of github.com:scummvm/scummvmMartin Kiewitz
2013-12-04SCI: script patcher is now a separate classMartin Kiewitz
2013-11-23SCI: Janitorial - Fix spacing errorsStrangerke
2013-09-21SCI: abbrev. ffs to FE and priority check fixm-kiewitz
2013-09-21SCI: sfx/music priority int16 fixes bug #3615038m-kiewitz
it seems that sound system up till SCI0_LATE uses int16, afterwards it seems they changed to byte main music object (conMusic) in Laura Bow 1 uses -1 as priority. This was truncated to 255 till now, which resulted in many sound effects not getting played, because those used priority 0
2013-04-27SCI: Change wording for bug/further info referencesFilippos Karapetis
2012-11-15SCI: Properly reset the palVary signal when loading (bug #3575569)Filippos Karapetis
2012-11-07SCI: Fix bug #3575569 - "SCI: QFG1VGA: Palette/hue bug after loading"Filippos Karapetis
We make sure that any leftover palVary timers are removed when loading. This is an edge case, but it won't hurt to remove these timers just in case
2012-06-18SCI: Add setter/getter methods to reg_t'sFilippos Karapetis
No functionality change has been made with this commit. This avoids setting and getting the reg_t members directly, and is the basis of any future work on large SCI3 scripts (larger than 64KB)
2012-06-15SCI: Further cleanup of the script codeFilippos Karapetis
Merge the init() and load() Script methods and reset the script when necessary
2012-06-14SCI: A separate implementation is needed for syncStringHeap() for SCI3Filippos Karapetis
2012-02-10JANITORIAL: Fix template definition whitespaceTarek Soliman
2011-11-05SCI: Made the object map hashmap of the Script class privateFilippos Karapetis
2011-11-05SCI: Made more fields of the Script class private. Some cleanup.Filippos Karapetis
2011-10-22SCI: fix thread lockup issue when loading savegames using a sound driver ↵athrxx
which depends on the mixer thread for timer calls. The issues seems to be known. See comments (not by me) in SciMusic::clearPlayList(). For the same reason mentioned there the mutex may also not be locked before calling clearPlayList().
2011-09-26SCI: Changes to the sound resource initialization codeFilippos Karapetis
- Unified the sound resource initialization code in processInitSound() and reconstructPlayList() - Now checking the "Mixed Adlib/MIDI" mode checkbox for SCI1.1 digital audio sound effects, like it's done for SCI0 - SCI1 sound effects. If it's unchecked, their MIDI counterparts will play instead, if available
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