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. | |||
2014-02-18 | HOPKINS: Make GPL headers consistent in themselves. | Johannes Schickel | |
2013-08-03 | HOPKINS: Take advantage of Surface::getPixels. | Johannes Schickel | |
2013-08-03 | HOPKINS: Prefer getBasePtr over direct Surface::pixels access. | Johannes Schickel | |
2013-07-31 | HOPKINS: Bumped up savegame version, and added load handling the brief ↵ | Paul Gilbert | |
version 3 format | |||
2013-07-31 | HOPKINS: Reverted to saving Breakout high scores in a separate file | Paul Gilbert | |
2013-07-26 | HOPKINS: Move breakout highscore table to savegames, and fixes to display | Paul Gilbert | |
2013-06-26 | HOPKINS: Change some variable names for consistency | Torbjörn Andersson | |
This silences a GCC warning about a 'saveFile' variable shadowing a saveFile() method. | |||
2013-06-26 | HOPKINS: Remove erroneous static keyword, get rid of g_vm | Strangerke | |
2013-05-08 | HOPKINS: Fix bug #3612115 - Courtesy of SylvainTV: Fix palette in thumbnails | Strangerke | |
2013-04-17 | HOPKINS: fix ingame save thumbnails on BE | Alyssa Milburn | |
2013-04-10 | HOPKINS: Make engine less verbose by reducing some object names | Strangerke | |
2013-04-09 | HOPKINS: Renaming some of the remaining graphics methods | Paul Gilbert | |
2013-03-30 | HOPKINS: Rename display buffers | Strangerke | |
2013-03-20 | HOPKINS: Remove setParent() from SaveLoadManager and ScriptManager | Strangerke | |
2013-03-20 | HOPKINS: Remove setParent() from MenuManager and ObjectsManager | Strangerke | |
2013-03-20 | HOPKINS: Remove setParent() from GraphicsManager | Strangerke | |
2013-03-20 | HOPKINS: Remove setParent() from Globals | Strangerke | |
2013-03-19 | HOPKINS: Remove setParent() from EventsManager and Debugger | Strangerke | |
2013-03-01 | HOPKINS: Rename some more savegame indexes | Strangerke | |
2013-02-28 | HOPKINS: Rename some members of savegame offset enum, remove some unused ones | Strangerke | |
2013-02-26 | HOPKINS: Some renaming in GraphicsManager | Strangerke | |
2013-02-21 | HOPKINS: Pre-convert palette | Willem Jan Palenstijn | |
2013-02-15 | HOPKINS: Reorder includes | Strangerke | |
2013-02-07 | HOPKINS:Move some variables from globals to ObjectManager | Strangerke | |
2013-01-21 | HOPKINS: More renaming in ObjectsManager and globals | Strangerke | |
2013-01-21 | Hopkins: More renaming | Strangerke | |
2013-01-21 | HOPKINS: More renaming in ObjectsManager | Strangerke | |
2013-01-14 | HOPKINS: Rename car related fields, remove map car sprite index | Strangerke | |
2013-01-14 | HOPKINS: Add synchronization of car position on the city map | Strangerke | |
2013-01-02 | HOPKINS: Silence some GCC warning (thanks to eriktorbjorn) | Strangerke | |
2012-12-24 | HOPKINS: Refactor handleGoto and handleIf, some renaming | Strangerke | |
2012-12-21 | HOPKINS: Remove remaining hexa values | Strangerke | |
2012-12-20 | HOPKINS: Remane functions and variables from Globals | Strangerke | |
2012-12-19 | HOPKINS: Rename methods in ObjectsManager, Globals and GraphicsManager | Strangerke | |
2012-12-17 | HOPKINS: Renaming of members of Globals and ObjectsManager | Strangerke | |
2012-12-16 | HOPKINS: Some more renaming | Strangerke | |
2012-12-16 | HOPKINS: Some more renaming | Strangerke | |
2012-12-15 | HOPKINS: Merge two zoom in and out functions | Strangerke | |
2012-12-14 | HOPKINS: Janitorial - Remove trailing space and double semi columns | Strangerke | |
2012-12-11 | HOPKINS: Start renaming EventsManager functions | Strangerke | |
2012-12-08 | HOPKINS: Apply second memory leak patch | Paul Gilbert | |
2012-11-30 | HOPKINS: Fix savegame thumbnails | Paul Gilbert | |
2012-11-25 | HOPKINS: Renamed CharcaterInfo fields of SAUVEGARDE | Paul Gilbert | |
2012-11-24 | HOPKINS: Clean-up of CHANGE_TETE to fix switching characters | Paul Gilbert | |
2012-10-28 | HOPKINS: Remove duplicate GOACTION variable. | Paul Gilbert | |
This fixes arriving at destinations from the map view. | |||
2012-10-28 | HOPKINS: Implemented save restore functionality | Paul Gilbert | |
2012-10-28 | HOPKINS: Disable greyscaling of savegame thumbnails | Paul Gilbert | |
2012-10-27 | HOPKINS: Beginnings of save/load implementation | Paul Gilbert | |
2012-10-27 | HOPKINS: Move Save/Load dialog code from menu.cpp to dialogs.cpp | Paul Gilbert | |