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-11-21 | TSAGE: Fix loading savegames with unreferenced dynamic objects | Paul Gilbert | |
2016-03-14 | TSAGE: Changed engine to use Graphics::ManagedSurface | Paul Gilbert | |
2014-03-07 | TSAGE: Rename savegame header members | Strangerke | |
2014-02-18 | TSAGE: Make GPL headers consistent with themselves. | Johannes Schickel | |
2013-10-27 | TSAGE: Fix CID 1002371, 1002372, 1002373. Remove useless variable and ↵ | Strangerke | |
associated code. | |||
2013-10-09 | TSAGE: Bugfixes for R2R space scenes to be full screen | Paul Gilbert | |
2013-08-03 | TSAGE: Take advantage of Surface::getPixels. | Johannes Schickel | |
2013-08-03 | TSAGE: Prefer getBasePtr over direct Surface::pixels access. | Johannes Schickel | |
2011-12-31 | TSAGE: Close memory leak in savegame thumbnail. | D G Turner | |
2011-11-21 | TSAGE: Added explicit freeing of thumbnail surface pixels | Paul Gilbert | |
2011-10-13 | TSAGE: Show an explicit error message when saving or loading savegames fails | Paul Gilbert | |
2011-10-02 | TSAGE: Added 'g' prefix to global variables | Paul Gilbert | |
2011-08-15 | TSAGE: Corrected casing of tSage namespace to be TsAGE | Paul Gilbert | |
This matches the casing of the original engine name. | |||
2011-08-07 | GRAPHICS: Simplify the interface of Graphics::loadThumbnail(). | Christoph Mallon | |
Now it returns the Surface, so the caller does not need to create one and pass it. | |||
2011-07-02 | TSAGE: Fixed problem with saving double values | Paul Gilbert | |
2011-06-23 | TSAGE: Added saving/restoring of playing sounds to savegames | Paul Gilbert | |
2011-06-04 | TSAGE: Add extra event manager fields to savegames | Paul Gilbert | |
This should correctly handle re-enabling the cursor when restoring savegames. | |||
2011-05-25 | TSAGE: Silence another (incorrect but still annoying) uninitialized var warning | Max Horn | |
2011-05-12 | GIT: Clean up: Suppress SVN tags, now useless | strangerke | |
2011-05-11 | TSAGE: Don't show cursor after restoring a game if a cut-scene is now active | Paul Gilbert | |
2011-05-11 | TSAGE: Bugfix to show cursor after restoring a savegame | Paul Gilbert | |
2011-05-04 | TSAGE: Some more conversions to US English | md5 | |
2011-05-04 | TSAGE: Switched to American English, after the relevant discussion on -devel: | md5 | |
serialiser -> serializer synchronise -> synchronize | |||
2011-05-04 | TSAGE: Now initializing the save game version properly | md5 | |
2011-05-04 | TSAGE: Bumped up savegame version, so that the old savegames are still usable | md5 | |
Savegames from revisions bf9b98f and 4f70162d are now version 2 savegames | |||
2011-04-28 | JANITORIAL: Reduce header dependencies in shared code | Ori Avtalion | |
Some backends may break as I only compiled SDL | |||
2011-04-28 | TSAGE: Proper bugfix for problem saving/restoring game in Scene #5000 and others | Paul Gilbert | |
2011-04-28 | TSAGE: Fixed assert after loading a game in scene 5000 and changing scene | md5 | |
2011-04-27 | TSAGE: Added temporary fix for some saved games (e.g. scenes 4050 and 5000) | md5 | |
2011-04-19 | TSAGE: Suppress empty format string warning of g++. | Johannes Schickel | |
2011-04-19 | TSAGE: Simplified the new Saver::getObjectCount method | Paul Gilbert | |
2011-04-19 | TSAGE: Reworked the saving code to fix crashes | Paul Gilbert | |
Note that this undoes the recent compilation fix for GCC, since it didn't work. For now, used an explicit void ** conversion as previously suggested. | |||
2011-04-18 | TSAGE: Fix palette corruption in savegame files. | Paul Gilbert | |
2011-04-13 | TSAGE: "Cosmetic" cleanups | strangerke | |
2011-04-13 | TSAGE: Cleanup custom List usage. | Johannes Schickel | |
This makes the code use Common::List for all cases where synchronization can not be done with tSage::List::synchronise. Furthermore I renamed the custom List class to SynchronisedList to stress its purpose. I also removed clear2, contains and forEach and replaced them with algorithm usage from Common:: or in the case of "contains" replaced them with a simple inline function which uses Common::find. | |||
2011-02-14 | TSAGE: Added the engine in a separate branch | Paul Gilbert | |