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. | |||
2017-10-07 | ENGINES: Remove default1x scaler flag | Colin Snover | |
This flag is removed for a few reasons: * Engines universally set this flag to true for widths > 320, which made it redundant everywhere; * This flag functioned primarily as a "force 1x scaler" flag, since its behaviour was almost completely undocumented and users would need to figure out that they'd need an explicit non-default scaler set to get a scaler to operate at widths > 320; * (Most importantly) engines should not be in the business of deciding how the backend may choose to render its virtual screen. The choice of rendering behaviour belongs to the user, and the backend, in that order. A nearby future commit restores the default1x scaler behaviour in the SDL backend code for the moment, but in the future it is my hope that there will be a better configuration UI to allow users to specify how they want scaling to work for high resolutions. | |||
2017-09-22 | GNAP: Fix leaking the save thumbnail MemoryWriteStreamDynamic buffer | Bastien Bouclet | |
2017-03-22 | GNAP: Fix a warning in the PSP port | Strangerke | |
2017-03-22 | GNAP: Split font description array in two | Strangerke | |
2017-01-15 | GNAP: Fix Set-But-Unused Variable Compiler Warning. | D G Turner | |
2016-11-26 | GNAP: Add POTFILES | rootfather | |
2016-10-09 | JANITORIAL: Remove trailing spaces | Eugene Sandulenko | |
2016-10-07 | GNAP: Enable engine for the release | Eugene Sandulenko | |
2016-09-24 | GNAP: Add detection for another English version | Strangerke | |
2016-09-03 | GNAP: Added detection for alternative Russian version | Eugene Sandulenko | |
2016-09-03 | JANITORIAL: Make GPL headers uniform | Eugene Sandulenko | |
2016-08-24 | ALL: Make simpleSaveNames() a MetaEngineFeature | Alexander Tkachev | |
Added it into hasFeature() of all engines which returned `true` in simpleSaveNames() before. As mentioned in #788, SCI is not always using simple names, so it doesn't have such feature now. | |||
2016-08-24 | ALL: Add MetaEngine::simpleSaveNames() | Alexander Tkachev | |
Engines with "simple" savenames would support "Run in background" in save/load dialog and gradual save slots unlocking. Other engines save/load feature would be locked until save sync is over. | |||
2016-07-31 | GNAP: Fix indentation | Eugene Sandulenko | |
2016-07-28 | GNAP: Move debug channel registration to the top of the engine constructor | Eugene Sandulenko | |
2016-06-13 | GNAP: Specify highres in configure.engine | Strangerke | |
2016-06-09 | GNAP: Consistently check the return value of find(resourceId) | Strangerke | |
2016-06-09 | GNAP: Mark game as TESTING | Strangerke | |
2016-06-08 | GNAP: (Hopefully) fix a FCC warning | Strangerke | |
2016-06-08 | GNAP: Janotorial - Re-align some comments | Strangerke | |
2016-06-08 | GNAP: Fix MSVC warnings related to the initialization of FONT_CHAR_INFO | Strangerke | |
2016-06-08 | GNAP: Fix potential out of bound write | Strangerke | |
2016-06-07 | GNAP: As WAIT_CURSOR isn't available in the exe, hide and show the cursor ↵ | Strangerke | |
adequately | |||
2016-06-06 | GNAP: Initialize some more variables, reorder initialization | Strangerke | |
2016-06-05 | GNAP: Fix crash in scene 17 | Strangerke | |
2016-06-04 | GNAP: Fix crash in scene 9 | Strangerke | |
2016-06-04 | GNAP: Fix hotspot in scene 8 | Strangerke | |
2016-06-03 | GNAP: Flip the converted frame instead of the original one in order to ↵ | Strangerke | |
respect constness | |||
2016-06-02 | GNAP: Remove debug message | Strangerke | |
2016-05-31 | GNAP: Change two variables to bool, remove two useless variables | Strangerke | |
2016-05-30 | GNAP: Simplify transparency handling on BE systems | Thierry Crozat | |
2016-05-30 | GNAP: Fix sprites display on big endian systems | Thierry Crozat | |
2016-05-30 | GNAP: (hopefully) fix display on BE systems | Strangerke | |
2016-05-30 | GNAP: Remove obsolete comment | Strangerke | |
2016-05-30 | GNAP: Make two variables local to Scene52::run() | Strangerke | |
2016-05-30 | GNAP: Initialize two more variables | Strangerke | |
2016-05-30 | GNAP: Remove duplicate code | Strangerke | |
2016-05-30 | GNAP: Make 2 variables local to setDeviceHotspot | Strangerke | |
2016-05-30 | GNAp: Remove an unused variable | Strangerke | |
2016-05-30 | GNAP: Initialize some unitialized variables in GnapEngine | Strangerke | |
2016-05-30 | GNAP: Fix corrupted savegame title in GUI | sylvaintv | |
2016-05-29 | GNAP: Fix waitForUpdate behavior | sylvaintv | |
2016-05-28 | GNAP: Remove duplicate code in screenEffect | Strangerke | |
2016-05-26 | GNAP: Use enums for sequence flags in GameSys | Strangerke | |
2016-05-25 | GNAP: Fix typo in initialization code | Ori Avtalion | |
2016-05-25 | GNAP: Use an enum value in the declaration of setHotspot | Strangerke | |
2016-05-25 | GNAP: Small changes in scene 02 hotspots | Strangerke | |
2016-05-25 | GNAP: Strengthen sanity checks in drawBitmap | Strangerke | |
2016-05-25 | GNAP: More initializations | Strangerke | |