Age | Commit message (Collapse) | Author | |
---|---|---|---|
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. | |||
2018-03-26 | MORTEVIELLE: Let listSaves return list sorted on slot numbers | Adrian Frühwirth | |
2016-06-08 | MORTEVIELLE: Use ### as save file pattern | Eugene Sandulenko | |
2014-02-18 | MORTEVIELLE: Make GPL headers consistent in themselves. | Johannes Schickel | |
2014-02-16 | MORTEVIELLE: Janitorial - Remove trailing spaces | Strangerke | |
2014-01-10 | MORTEVIELLE: Get rid of setParent() | Strangerke | |
2014-01-09 | MORTEVIELLE: Get rid of setParent() in Menu and MouseHandler | Strangerke | |
2013-08-21 | MORTEVIELLE: Avoid erroring out when the user tries to load a missing save game | Strangerke | |
2013-08-03 | MORTEVIELLE: Take advantage of Surface::getPixels. | Johannes Schickel | |
2013-08-03 | MORTEVIELLE: Prefer getBasePtr over direct Surface::pixels access. | Johannes Schickel | |
2013-07-31 | MORTEVIELLE: Fix two GCC compiler warnings. | D G Turner | |
The first is due to a variable set but never used i.e. destSurface, but I think this call is still needed to lock the area being copied, hence have removed the variable, but not the call. The second was a real bug in the type of the print format string used for savegame naming. slot is a number, not a string and can vary from 0 to 999, hence the 3 digit fixed size with zero padded prefix. | |||
2013-07-19 | MORTEVIELLE: Reorder includes | Strangerke | |
2013-07-13 | MORTEVIELLE: Changed savegames to use the game target to generate filenames | Paul Gilbert | |
2012-10-14 | MORTEVIELLE: More renaming | Strangerke | |
2012-10-14 | MORTEVIELLE: Some more renaming | Strangerke | |
2012-04-06 | MORTEVIELLE: Modify copyright string to include 1987. | Strangerke | |
2012-04-06 | MORTEVIELLE: Remove var_mor | Strangerke | |
2012-04-06 | MORTEVIELLE: Remove trailing spaces | Strangerke | |
2012-04-06 | MORTEVIELLE: Get rid of mor.cpp | Strangerke | |
2012-04-06 | MORTEVIELLE: Move functions out of mor.cpp | Strangerke | |
2012-04-06 | MORTEVIELLE: More renaming | Strangerke | |
2012-04-06 | MORTEVIELLE: More renaming | Strangerke | |
2012-04-06 | MORTEVIELLE: Rename more globals and move functions to MortevielleEngine. ↵ | Strangerke | |
Remove ovd1 files. | |||
2012-04-06 | MORTEVIELLE: More renaming | Strangerke | |
2012-04-06 | MORTEVIELLE: Some more renaming, introduce MouseHandler | Strangerke | |
2012-04-06 | MORTEVIELLE: Some more renaming | Strangerke | |
2012-04-06 | MORTEVIELLE: Some more renaming | Strangerke | |
2012-04-06 | MORTEVIELLE: Remove some useless g_vm uses, some more renaming | Strangerke | |
2012-04-06 | MORTEVIELLE: Some more renaming | Strangerke | |
2012-04-06 | MORTEVIELLE: More renaming and moving | Strangerke | |
2012-04-06 | MORTEVIELLE: Merge prog and mor files | Strangerke | |
2012-04-06 | MORTEVIELLE: regroup several files | Strangerke | |
2012-04-06 | MORTEVIELLE: some more renaming, match menu item size in setText() | Strangerke | |
2012-04-06 | MORTEVIELLE: Rename some more functions and globals | Strangerke | |
2012-04-06 | MORTEVIELLE: rename several globals | Strangerke | |
2012-04-06 | MORTEVIELLE: Rename some variables and functions related to 'Search' action | Strangerke | |
2012-04-06 | MORTEVIELLE: rename more globals and constants, remove t_nhom usage | Strangerke | |
2012-04-06 | MORTEVIELLE: Silent a bunch of GCC warnings and errors | Strangerke | |
2012-04-06 | MORTEVIELLE: Some more code formatting, rename sonoff | Strangerke | |
2012-04-06 | MORTEVIELLE: Rename mouse functions, various formatting fixes | Strangerke | |
2012-04-06 | MORTEVIELLE: Convert f3/f8 dialog, alert dialog, and ques dialogs into classes | Paul Gilbert | |
2012-04-06 | MORTEVIELLE: Renamed main loop methods, along with quit/end/lose variables | Paul Gilbert | |
2012-04-06 | MORTEVIELLE: Implemented ScummVM savegame functionality with metadata | Paul Gilbert | |