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-01-31 | DM: Fix GCC warnings | Strangerke | |
2016-10-09 | JANITORIAL: Remove trailing spaces | Eugene Sandulenko | |
2016-09-20 | DM: Fix two memory leaks | Strangerke | |
2016-09-19 | DM: Fix 2 GCC warnings, some renaming | Strangerke | |
2016-09-19 | DM: Some more renaming | Strangerke | |
2016-09-16 | DM: Fix some more non-MSVC warnings, remove a useless variable | Strangerke | |
2016-09-16 | DM: More renaming in gfx enums | Strangerke | |
2016-09-11 | DM Rename enum members in dm.h and dialog.h | Strangerke | |
2016-09-04 | DM: Change savegame signature to DM21 instead of DMDM. That breaks savegames ↵ | Strangerke | |
compatibility. | |||
2016-09-03 | DM: Polishing in loadsave | Strangerke | |
2016-09-03 | DM: Some more fixes concerning pointer formatting | Strangerke | |
2016-09-03 | DM: Clean up includes | Bendegúz Nagy | |
Swap <> to "" with scummvm files Add dm/ prefix to dm files Reorder includes to system files, dm files | |||
2016-08-27 | DM: More renaming in DungeonMan, move some arrays | Strangerke | |
2016-08-27 | DM: Remove custom warning function | Strangerke | |
2016-08-26 | DM: Finish the renaming of class members | Strangerke | |
2016-08-26 | DM: Rename ObjectMan and ProjExpl members | Strangerke | |
2016-08-26 | DM: Renaming in MenuMan definition | Strangerke | |
2016-08-26 | DM: Rename functions and class members of GroupMan | Strangerke | |
2016-08-26 | DM: Rename variables and functions of DisplayMan | Strangerke | |
2016-08-26 | DM: Rename class members in EventManager | Strangerke | |
2016-08-26 | DM: Rename DungeonMan class members | Strangerke | |
2016-08-26 | DM: Rename functions of DMEngine and DialogMan | Strangerke | |
2016-08-26 | DM: Renaming of Champion and ChampionMan functions | Strangerke | |
2016-08-26 | DM: Add target and original platform to save files | Bendegúz Nagy | |
2016-08-26 | DM: Add proper save header | Bendegúz Nagy | |
2016-08-26 | DM: Remove some warnings | Bendegúz Nagy | |
2016-08-26 | DM: Add file error checking for save game | Bendegúz Nagy | |
2016-08-26 | DM: Fix regression (pressure plate), fix compilation | Strangerke | |
2016-08-26 | DM: Add loading from game | Bendegúz Nagy | |
2016-08-26 | DM: Fix double load when loading from launcher | Bendegúz Nagy | |
2016-08-26 | DM: Make ScummVM's save dialog open up when saving | Bendegúz Nagy | |
2016-08-26 | DM: Make resume button load up ScummVM's global load dialog | Bendegúz Nagy | |
2016-08-26 | DM: Make thumbnail capture the dungeon | Bendegúz Nagy | |
2016-08-26 | DM: Add support for loading from launcher | Bendegúz Nagy | |
2016-08-26 | DM: Correct language from GR_GRE to DE_DEU | Bendegúz Nagy | |
2016-08-26 | DM: Add localization | Bendegúz Nagy | |
2016-08-26 | DM: Add missing localization warnings and query function for language | Bendegúz Nagy | |
2016-08-26 | DM: Add dialog choice to savegame | Bendegúz Nagy | |
2016-08-26 | DM: Add missing code related to palettes | Bendegúz Nagy | |
2016-08-26 | DM: Add stub methods, clean up warnings and some comments | Bendegúz Nagy | |
2016-08-26 | DM: Some renaming, add a couple of STUBS | Strangerke | |
2016-08-26 | DM: Add f444_endGame and checks for Common::EVENT_QUIT | Bendegúz Nagy | |
2016-08-26 | DM: Fix compilation with MSVC9, some light renaming | Strangerke | |
2016-08-26 | DM: Debug loading savegames, add missing save loading parts | Bendegúz Nagy | |
2016-08-26 | DM: Finish f433_processCommand140_saveGame | Bendegúz Nagy | |
2016-08-26 | DM: refact f293_drawAllChampionStates, f283_viAltarRebirth, ↵ | Strangerke | |
f327_isProjectileSpellCast and f326_championShootProjectile. Rename Direction. | |||
2016-08-26 | DM: Fix segfault with resume game | Bendegúz Nagy | |
2016-08-26 | DM: Refactor f322_championPoison, f284_setPartyDirection, f316_deleteScent, ↵ | Strangerke | |
f317_addScentStrength, f310_getMovementTicks and f294_isAmmunitionCompatibleWithWeapon | |||
2016-08-26 | DM: Refactor f304_addSkillExperience, change _g313_gameTime to int32 | Strangerke | |