aboutsummaryrefslogtreecommitdiff
path: root/engines/dreamweb/saveload.cpp
AgeCommit message (Collapse)Author
2012-12-01DREAMWEB: Check for exFrame data corruption on loadWillem Jan Palenstijn
This provides earlier detection for corrupted savegames caused by bug #3591088
2012-11-06DREAMWEB: Fix bug #3582582 - "GUI: "Grid View" Loader Triggers Immediately ↵Filippos Karapetis
in Dreamweb"
2012-06-10GUI: Add helper to SaveLoadChooser, which uses the currently active target.Johannes Schickel
This reduces the code duplication in all client code, which formerly duplicated the querying of the plugin, game id etc. and now simply calls the newly added method runModalWithCurrentTarget() on a SaveLoadChooser object.
2012-06-10GUI: Get rid of SaveLoadChooser::setSaveMode.Johannes Schickel
We already pass the title and process button name to the constructor of SaveLoadChooser and then do not offer any way of changing it, thus changing the edit mode of the chooser is kind of pointless and was never actually used. Instead we pass the mode on SaveLoadChooser construction now.
2012-05-31DREAMWEB: Objectify Sound functions & data into DreamWebSound class.D G Turner
This change should have no functional change, but makes the sound code more decoupled, modular and readable, prior to attempting a fix for bug #3528164 - "DREAMWEB: missing sound effects/music cues during main title".
2012-05-30DREAMWEB: Replaced vsync() function with waitForVSync().D G Turner
As a call to waitForVSync() was the only contents of vsync(), there should be no functional change.
2012-05-21DREAMWEB: Fix bug #3528160 - "DREAMWEB: graphical glitch on UKV CD version ↵Filippos Karapetis
loading screen"
2012-03-25DREAMWEB: Rename the dreamweb_originalsaveload option to originalsaveloadFilippos Karapetis
This changes its naming to be like the rest of the game options
2012-02-24DREAMWEB: Migrate loadGraphicsFile() to using datafile prefix variable.D G Turner
2012-02-23DREAMWEB: Remove shared temp graphics variables.Alyssa Milburn
Instead, have a different variable for each use.
2012-02-15JANITORIAL: Fix missing whitespace in pointer castTarek Soliman
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g' This seems to have caught some params as well which is not undesirable IMO. It also caught some strings containing this which is undesirable so I excluded them manually. (engines/sci/engine/kernel_tables.h)
2012-01-12DREAMWEB: Rewrite a comment, since the old one could be misreadTorbjörn Andersson
I read it as "this is how the original code expects save slots to be initialized", but I guess it could be read as "the original engine had 21 save slots". Which it didn't.
2012-01-11DREAMWEB: Change selectSaveLoadPage()'s command type to be uniqueTorbjörn Andersson
At Filippos's and wjp's suggestion. I don't really understand what it does (other than printing the mouse over text), so I had simply copied and pasted from another function.
2012-01-08DREAMWEB: Extend the number of saveslots from 7 to 21 in the originalTorbjörn Andersson
save/load dialogs.
2011-12-28DREAMWEB: Added commandOnlyCond() methodMax Horn
2011-12-28DREAMWEB: Clean up checkCoordsWillem Jan Palenstijn
2011-12-28DREAMWEB: Replaced most isCD calls with calls checking for speechFilippos Karapetis
This is quite useful for devices with limited storage, where the user can use the CD version without its speech files
2011-12-28DREAMWEB: Clean up some constantsWillem Jan Palenstijn
2011-12-28DREAMWEB: Completely remove all of the runtime, and move everything into ↵Filippos Karapetis
DreamWebEngine Also, remove dead code (allocateMem/deallocateMem)
2011-12-28DREAMWEB: Move all saved variables to a GameVars structWillem Jan Palenstijn
The data segment is now completely unused.
2011-12-28DREAMWEB: Remove a lot of unused/duplicate constants and move some of them ↵Filippos Karapetis
to dreambase.h
2011-12-28DREAMWEB: Mass-move variables out of dataWillem Jan Palenstijn
This has been done by an automated search/replace, culling unused variables in the process. The remaining variables in data are all stored in savegames.
2011-12-27DREAMWEB: Convert exText into TextFileWillem Jan Palenstijn
2011-12-27DREAMWEB: Remove Extras segmentWillem Jan Palenstijn
2011-12-27DREAMWEB: Streamline graphics file accessWillem Jan Palenstijn
2011-12-27DREAMWEB: Move kRoomssample out of data blob.D G Turner
N.B. Last commit was kForeignRelease, not kSubtitles.
2011-12-27DREAMWEB: Move kQuitRequested out of data blob.D G Turner
2011-12-27DREAMWEB: Move all of the functions to DreamBase and remove stubs.hFilippos Karapetis
2011-12-26DREAMWEB: Move the roomsCanGo array out of the data blobFilippos Karapetis
2011-12-26DREAMWEB: Rename workToScreenCPP to workToScreenMax Horn
2011-12-23DREAMWEB: Move changes out of buffersWillem Jan Palenstijn
2011-12-23DREAMWEB: Move rest of saveload.cpp to DreamBaseMax Horn
2011-12-23DREAMWEB: cleanupMax Horn
2011-12-23DREAMWEB: Turn RectWithCallback into templateMax Horn
Also moves checkCoords to DreamBase, adding a nasty cast to it. This is a temporary HACK, which allows moving functions that use checkCoords to DreamBase one at a time, instead of all at once (and at the same time as checkCoords). This can be undone once everything using checkCoords has been moved to DreamBase.
2011-12-23DREAMWEB: Move most of saveload.cpp to DreamBaseMax Horn
2011-12-18DREAMWEB: Remove reelRoutines from data blobWillem Jan Palenstijn
2011-12-18DREAMWEB: Fix ReelRoutine terminator saving/loadingWillem Jan Palenstijn
2011-12-18DREAMWEB: SpacingFilippos Karapetis
2011-12-18DREAMWEB: Remove regression from b0a42f1 (duplicate saved reel data)Filippos Karapetis
2011-12-18DREAMWEB: Add meta information to saved gamesFilippos Karapetis
This information includes savegame versioning and the saved game's date/time, played time and game thumbnail. This information is stored into an unused data block of the original save format, so the generated ScummVM saves are (hopefully) fully compatible with the original ones and can be loaded in the original interpreter
2011-12-17DREAMWEB: Add disabled reelRoutine conversion workWillem Jan Palenstijn
2011-12-17DREAMWEB: Use serializer for ReelRoutinesWillem Jan Palenstijn
2011-12-17DREAMWEB: Remove dead codeFilippos Karapetis
2011-12-17DREAMWEB: Fix two off-by-one errors in saveGame(), rewrite scanForNames() to ↵Filippos Karapetis
use listSavefiles() and use Common::strlcopy instead of strncpy
2011-12-15DREAMWEB: Move even more stuff to DreamBaseMax Horn
2011-12-11DREAMWEB: Move Savenames out of opaque data blobWillem Jan Palenstijn
2011-12-11DREAMWEB: Convert checkInputWillem Jan Palenstijn
2011-12-11DREAMWEB: Convert 'showNames'Willem Jan Palenstijn
2011-12-11DREAMWEB: Fix namesToOld/oldToNamesWillem Jan Palenstijn
They only saved the first four savegame descriptions. (Bug from the original game.)
2011-12-11DREAMWEB: Do savefile reading directly in loadPosition() / scanForNames()Max Horn