Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-07-25 | LAB: Fix thumbnail issues | David Fioramonti | |
Fixes Trac#10619. The thumbnail loading for the saved games was defaulting to disabled so no thumbnail was being loaded and this caused trying to show the thumbnail to crash scummvm. So I have set the thumbnail pointer to be null if the thumbnail doesn't get loaded and I've set the thumnail to not be skipped so that thumbnails get shown when using the gui. | |||
2018-04-07 | ALL: Load savegame thumbnail only when necessary | Adrian Frühwirth | |
This commit introduces the following changes: 1. Graphics::loadThumbnail() Now returns a boolean and takes a new argument skipThumbnail which defaults to false. In case of true, loadThumbnail() reads past the thumbnail data in the input stream instead of actually loading the thumbnail. This simplifies savegame handling where, up until now, many engines always read the whole savegame metadata (including the thumbnail) and then threw away the thumbnail when not needed (which is in almost all cases, the most common exception being MetaEngine::querySaveMetaInfos() which is responsible for loading savegame metadata for displaying it in the GUI launcher. 2. readSavegameHeader() Engines which already implement such a method (name varies) now take a new argument skipThumbnail (default: true) which is passed through to loadThumbnail(). This means that the default case for readSavegameHeader() is now _not_ loading the thumbnail from a savegame and just reading past it. In those cases, e.g. querySaveMetaInfos(), where we actually are interested in loading the thumbnail readSavegameHeader() needs to explicitely be called with skipThumbnail == false. Engines whose readSavegameHeader() (name varies) already takes an argument loadThumbnail have been adapted to have a similar prototype and semantics. I.e. readSaveHeader(in, loadThumbnail, header) now is readSaveHeader(in, header, skipThumbnail). 3. Error handling Engines which previously did not check the return value of readSavegameHeader() (name varies) now do so ensuring that possibly broken savegames (be it a broken thumbnail or something else) don't make it into the GUI launcher list in the first place. | |||
2016-02-08 | LAB: Merge all the different scene restoring code after saving/loading | Filippos Karapetis | |
2016-01-14 | LAB: Call checkRoomMusic() when changing a room | Filippos Karapetis | |
2016-01-14 | LAB: Get rid of setDirection() | Filippos Karapetis | |
A leftover from code restructuring | |||
2016-01-14 | LAB: Rename the members of the CrumbData struct | Filippos Karapetis | |
This helps to distinguish them from the LabEngine variables | |||
2015-12-27 | LAB: Add support for loading games from the launcher | Filippos Karapetis | |
2015-12-27 | LAB: Refactor the music code | Filippos Karapetis | |
2015-12-27 | LAB: Rename TilePuzzle to SpecialLocks, to better reflect its purpose | Filippos Karapetis | |
This class handles two different special locks, the tile puzzle and the combination door | |||
2015-12-26 | LAB: Reduce passing around of pointers to the near-global _closeDataPtr | Willem Jan Palenstijn | |
2015-12-25 | LAB: Use constant for breadcrumbs-related loops | Strangerke | |
2015-12-24 | LAB: Stop adding useless garbage at the end of the savegames | Strangerke | |
2015-12-24 | LAB: Cleanup the way shouldQuit is called | Strangerke | |
2015-12-23 | LAB: Use int in for loops, instead of uint16 | Filippos Karapetis | |
2015-12-23 | LAB: Replace g_system by _system | Strangerke | |
2015-12-23 | LAB: Move some more comments to header files | Strangerke | |
2015-12-23 | LAB: Constify some parameters | Strangerke | |
2015-12-23 | LAB: Set a default to the second parameter of readPict | Strangerke | |
2015-12-23 | LAB: Correct compiler warning in savegame code. | D G Turner | |
2015-12-23 | LAB: Fix memory leaks in savegame code | Strangerke | |
2015-12-23 | LAB: Reduced scope of a few more variables | Eugene Sandulenko | |
2015-12-23 | LAB: Fix mouse cursor after save/load | Strangerke | |
2015-12-23 | LAB: Finally get rid of g_lab | Strangerke | |
2015-12-23 | LAB: Some renames, simplified saveGame() and loadGame() | Filippos Karapetis | |
2015-12-23 | LAB: Move all the tile puzzle related functionality into its own class | Filippos Karapetis | |
2015-12-23 | LAB: Rename CloseDataPtr pointers, some refactoring | Strangerke | |
2015-12-23 | LAB: Move saveRestoreGame() to saveload.cpp | Eugene Sandulenko | |
2015-12-23 | LAB: Reduced header dependency: dispman.h, eventman.h | Eugene Sandulenko | |
2015-12-23 | LAB: More header dependency redux | Eugene Sandulenko | |
2015-12-23 | LAB: Reduced header dependency: labsets.h, utils.h | Eugene Sandulenko | |
2015-12-23 | LAB: Reduced header dependency: savegame.h | Eugene Sandulenko | |
2015-12-23 | LAB: Removed unnecessary includes | Eugene Sandulenko | |
2015-12-23 | LAB: Use // for comments | Strangerke | |
2015-12-23 | LAB: Use doxygen format for function comments | Strangerke | |
2015-12-23 | LAB: Review spacing | Strangerke | |
2015-12-23 | LAB: Remove more extern variables | Strangerke | |
2015-12-23 | LAB: Rename parse types | Strangerke | |
2015-12-23 | LAB: Move fade functions to DisplayMan, some renaming | Strangerke | |
2015-12-23 | LAB: Move doNotes and doWestPaper to LabEngine, remove some useless defines | Strangerke | |
2015-12-23 | LAB: Make more functions member of LabEngine class | Strangerke | |
2015-12-23 | LAB: Start working on a separate DisplayMan class | Strangerke | |
2015-12-23 | LAB: Renames and moved vars to classes | Eugene Sandulenko | |
2015-12-23 | LAB: Some renaming, move a couple of variables to game engine | Strangerke | |
2015-12-23 | LAB: Get rid of stddefines | Strangerke | |
2015-12-23 | LAB: Move crumb variables to main class | Strangerke | |
2015-12-23 | LAB: Move RoomNum to main engine class | Strangerke | |
2015-12-15 | LAB: Move some static variables to the top. Some cleanup | Filippos Karapetis | |
2015-12-15 | LAB: Fix loading of saved games | Filippos Karapetis | |
2015-12-15 | LAB: Rewrite the save/load system | Filippos Karapetis | |
The two different save/load dialogs from the original have been dropped and replaced with the ScummVM save/load dialogs. The whole save/load code has been rewritten to be endian safe and use our common code. The original save format has not been preserved. The current implementation crashes when loading, but it's a good start | |||
2015-12-15 | LAB: Objectify LabSets | Eugene Sandulenko | |