Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-04-22 | JANITORIAL: Fix formatting | Adrian Frühwirth | |
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-11-09 | HOPKINS: Replace cascades of if by switches for language checks | Strangerke | |
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-14 | JANITORIAL: Remove trailing whitespace | Sven Hesse | |
2013-05-07 | HOPKINS: Fix bug #3612036 - partially broken thumbnail - Courtesy of SylvainTV | Strangerke | |
2013-04-26 | HOPKINS: Fix bug #3611566 | Strangerke | |
2013-04-11 | HOPKINS: Fix warning | Eugene Sandulenko | |
2013-04-10 | HOPKINS: Make the use of _mouseCursorId less verbose | Strangerke | |
2013-04-10 | HOPKINS: Make engine less verbose by reducing some object names | Strangerke | |
2013-04-10 | HOPKINS: Janitorial: Remove useless code | Strangerke | |
2013-04-10 | HOPKINS: Remove useless object reference in DialogsManager | Strangerke | |
2013-04-10 | HOPKINS: Move _oldInventoryPosX to DialogsManager, remove a useless variable | Strangerke | |
2013-04-10 | HOPKINS: Improve readability in DialogsManager | Strangerke | |
2013-04-09 | HOPKINS: Renaming some of the remaining graphics methods | Paul Gilbert | |
2013-04-05 | HOPKINS: JANITORIAL: Remove trailing spaces and tabs | Strangerke | |
2013-04-05 | HOPKINS: Remove g_PTRNUL | Strangerke | |
2013-04-02 | HOPKINS: More renaming in ObjectsManager | Strangerke | |
2013-03-30 | HOPKINS: Rename display buffers | Strangerke | |
2013-03-30 | HOPKINS: More renaming in ObjectsManager | Strangerke | |
2013-03-24 | HOPKINS: Move two more variables to ObjectsManager, make them private | Strangerke | |
2013-03-24 | HOPKINS: Set private more variables in DialogsManager | Strangerke | |
2013-03-24 | HOPKINS: Move inventory dialog display to DialogsManager, set _inventWin1 as ↵ | Strangerke | |
private | |||
2013-03-20 | HOPKINS: Remove setParent() from TalkManager | 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 LinesManager | Strangerke | |
2013-03-20 | HOPKINS: Remove setParent() from GraphicsManager | Strangerke | |
2013-03-20 | HOPKINS: Remove setParent() from Globals | Strangerke | |
2013-03-20 | HOPKINS: Remove setParent() from FontManager | Strangerke | |
2013-03-19 | HOPKINS: Remove setParent() from FileManager | Strangerke | |
2013-03-19 | HOPKINS: Remove setParent() from EventsManager and Debugger | Strangerke | |
2013-03-19 | HOPKINS: Remove setParent() from DialogsManager | Strangerke | |
2013-03-17 | Merge branch 'hopkins_dirtyRects' | Paul Gilbert | |
Conflicts: engines/hopkins/anim.cpp engines/hopkins/computer.cpp engines/hopkins/dialogs.cpp engines/hopkins/graphics.cpp engines/hopkins/hopkins.cpp | |||
2013-03-04 | HOPKINS: Some renaming | Strangerke | |
2013-03-01 | HOPKINS: Rename some more savegame indexes | Strangerke | |
2013-02-28 | HOPKINS: Forgotten file in previous commit | Strangerke | |
2013-02-26 | HOPKINS: Get rid of a magic value in save/load dialogs | Strangerke | |
2013-02-26 | HOPKINS: Some renaming in GraphicsManager | Strangerke | |
2013-02-25 | HOPKINS: Home-screen now displaying correctly with dirty rects | Paul Gilbert | |
2013-02-22 | HOPKINS: More renaming in Globals and ObjectsManager | Strangerke | |
2013-02-20 | HOPKINS: More misc renaming | Strangerke | |
2013-02-20 | HOPKINS: Misc renaming | Strangerke | |
2013-02-19 | HOPKINS: More renaming in SoundManager | Strangerke | |
2013-02-19 | HOPKINS: Misc renaming, some sound refactoring | Strangerke | |
2013-02-16 | HOPKINS: Some more similar cleanup | Strangerke | |
2013-02-15 | HOPKINS: Reorder includes | Strangerke | |
2013-02-15 | HOPKINS: Move mouse data initialization to EventsManager, set mouse variable ↵ | Strangerke | |
as private |