Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-08-17 | SCI: added a wrapper for GUI::MessageDialog | Filippos Karapetis | |
svn-id: r52171 | |||
2010-08-07 | SCI: Converted an error back into a warning when loading games | Filippos Karapetis | |
svn-id: r51816 | |||
2010-08-04 | SCI: Fix infinite recursion when saving. | Willem Jan Palenstijn | |
This was a regression from r51727. svn-id: r51731 | |||
2010-08-04 | SCI: Simplify code (let the compiler interfer types where possible) | Max Horn | |
svn-id: r51727 | |||
2010-08-04 | SCI: Remove reference to common/serializer.h from vm_types.h | Max Horn | |
svn-id: r51726 | |||
2010-08-04 | SCI: Fix restoring SCI32 games (a regression of r51712) | Matthew Hoops | |
svn-id: r51723 | |||
2010-08-03 | SCI: reset ports when restoring | Martin 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-03 | SCI: Cleanup | Filippos Karapetis | |
svn-id: r51687 | |||
2010-08-02 | SCI: Yet another slight leak fix. | Johannes Schickel | |
svn-id: r51670 | |||
2010-08-02 | GRAPHICS: Renamed skipThumbnailHeader to skipThumbnail. | Johannes Schickel | |
svn-id: r51668 | |||
2010-08-02 | SCI: 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-31 | SCI: kGameIsRestarting returns 2 when we restored | Martin 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-27 | SCI: implemented kPalette(save/restore) | Martin Kiewitz | |
svn-id: r51381 | |||
2010-07-23 | SCI: Actually sync kPalVary data when saving/loading | Filippos Karapetis | |
svn-id: r51198 | |||
2010-07-23 | SCI: 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-23 | SCI: some changes to kPalVary saving | Martin Kiewitz | |
still needs to get tested svn-id: r51196 | |||
2010-07-23 | SCI: Now saving the kPalVary state inside savegames | Filippos Karapetis | |
svn-id: r51194 | |||
2010-07-22 | SCI: 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-17 | SCI: checking if within kernel function before overwrite a save (thx @ digitall) | Martin Kiewitz | |
svn-id: r50962 | |||
2010-07-09 | SCI: implemented subsignatures for kDoSound | Martin Kiewitz | |
svn-id: r50755 | |||
2010-07-07 | SCI: 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-06 | SCI: Add version to obsolete string | Max 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-01 | SCI: Invoke resetSegMan from SegManager::saveLoadWithSerializer, not from ↵ | Max Horn | |
EngineState::saveLoadWithSerializer svn-id: r50554 | |||
2010-07-01 | SCI: 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 | |||
2010-07-01 | SCI: Rename some variables to match our naming conventions | Max Horn | |
svn-id: r50549 | |||
2010-06-30 | SCI: Removed the FreeSCI music code | Filippos Karapetis | |
svn-id: r50532 | |||
2010-06-30 | When deleting a list node, erase its references to predecessor and successor ↵ | Filippos Karapetis | |
nodes. Fixes cases where game scripts could reference a list node after it was deleted (e.g. QFG1 intro, Longbow when exiting the cave). Some slight cleanup svn-id: r50515 | |||
2010-06-29 | SCI: Made the SoundCommandParser a member of the SciEngine class and removed ↵ | Filippos Karapetis | |
it from the EngineState, since it's static throughout the course of a game svn-id: r50484 | |||
2010-06-28 | Don't initialize graphics again when loading | Filippos Karapetis | |
svn-id: r50464 | |||
2010-06-28 | SCI: Make Script member vars private; add const qualifiers | Max Horn | |
Only three Script members remain public (for now) svn-id: r50428 | |||
2010-06-23 | Moved the SelectorCache struct inside selector.h, where it belongs, and ↵ | Filippos Karapetis | |
fixed some header dependencies in the process svn-id: r50183 | |||
2010-06-22 | Reverted the code which handles objects without a base object when loading, ↵ | Filippos Karapetis | |
for now. This possibly indicates an issue related to the garbage collector svn-id: r50142 | |||
2010-06-22 | Stop saving the buffer, script and heap sizes of each script in saved games | Filippos Karapetis | |
svn-id: r50137 | |||
2010-06-19 | SCI: resume when unable to locate base objects - fixes loading some saved games | Martin Kiewitz | |
svn-id: r50055 | |||
2010-06-17 | Strict mode: Changed several warnings due to logic bugs into errors. If an ↵ | Filippos Karapetis | |
error pops up from these ones, please add the game where it occurred and the steps to reproduce the error before turning it into a warning svn-id: r49973 | |||
2010-06-15 | SCI: SciGui/SciGui32 gone for good... | Martin Kiewitz | |
svn-id: r49860 | |||
2010-06-15 | SCI: putting SciGui::init into SciEngine, removing it from SciGui(32) | Martin Kiewitz | |
svn-id: r49854 | |||
2010-06-15 | Properly reconstruct the running stack when restoring (a regression from ↵ | Filippos Karapetis | |
commits #49376 and #49525), some formatting svn-id: r49689 | |||
2010-06-15 | - Swapped the return value of gamestate_save (false = failed, true = succeeded) | Filippos Karapetis | |
- Removed some duplicate code inside Console::cmdSaveGame() svn-id: r49688 | |||
2010-06-15 | Added a signature of the game itself inside saved games (the size of script ↵ | Filippos Karapetis | |
0, as well as the offset of the game object, which are unique for each game), to prevent users from loading saved games across different versions of the same game. In the cases where we can't load a saved game, throw a nice GUI dialog instead of a console warning svn-id: r49687 | |||
2010-06-15 | Reorganized functions a bit | Filippos Karapetis | |
svn-id: r49685 | |||
2010-06-15 | Cleanup of the savegame code: | Filippos Karapetis | |
- Added a saveLoadWithSerializer() method to the reg_t class - Moved SegManager::reconstructClones() inside savegame.cpp - Moved SoundCommandParser::syncPlayList() and SoundCommandParser::reconstructPlayList() inside savegame.cpp svn-id: r49683 | |||
2010-06-14 | SCI: Limit the screen refresh rate to 60fps | Filippos Karapetis | |
svn-id: r49647 | |||
2010-06-13 | The offset of script local variables is now calculated when the script is ↵ | Filippos Karapetis | |
loaded, thus we no longer need to save it. Merged scriptInitialiseLocals() with scriptInitialiseLocalsZero() svn-id: r49640 | |||
2010-06-10 | camelCase changes | Filippos Karapetis | |
svn-id: r49570 | |||
2010-06-10 | Resolved a FIXME with getSciLanguage(), by creating a separate setter. Also, ↵ | Filippos Karapetis | |
some camelCase changes svn-id: r49568 | |||
2010-06-10 | Pic port saving/loading is only used in SCI0-SCI11 | Filippos Karapetis | |
svn-id: r49567 | |||
2010-06-10 | SCI: set picport when loading saved games | Martin Kiewitz | |
svn-id: r49565 | |||
2010-06-09 | The EngineState is no longer recreated when a game is restored, thus we ↵ | Filippos Karapetis | |
don't need to refresh pointers to it svn-id: r49549 | |||
2010-06-09 | Fixed compilation when the old sound code is used | Filippos Karapetis | |
svn-id: r49540 |