aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/gameloader.h
AgeCommit message (Collapse)Author
2018-04-07ALL: Load savegame thumbnail only when necessaryAdrian 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-12-02FULLPIPE: Fix bug #10317: Save game metadata is missingEugene Sandulenko
2017-11-18FULLPIPE: Fix memory leaks of PreloadItemsColin Snover
2017-11-18FULLPIPE: Fix memory leaks and unnecessary indirect allocations in Motion ↵Colin Snover
and Sc2
2017-11-18FULLPIPE: Remove unnecessary and unsafe C-style castsColin Snover
2017-11-18FULLPIPE: Fix memory leak of save game thumbnailColin Snover
2017-11-18FULLPIPE: Fix leaks and unnecessary extra allocations in FullpipeEngineColin Snover
2016-12-20FULLPIPE: Change _gameName into a Common::StringFilippos Karapetis
2016-12-13FULLPIPE: Revert memory leak fixing as that introduced tons of regressionsEugene Sandulenko
2016-12-12FULLPIPE: Plug more memory leaksEugene Sandulenko
2016-12-09FULLPIPE: Implement switching scenes from the mapEugene Sandulenko
2016-09-27FULLPIPE: Add support loading/saving from GMMEugene Sandulenko
2016-09-20FULLPIPE: Save ScummVM-specific header with the savesEugene Sandulenko
2016-09-20FULLPIPE: Read playtime and save date from save headersEugene Sandulenko
2016-09-18FULLPIPE: Implemented savefile loadingEugene Sandulenko
2016-09-18FULLPIPE: Moved save-related functions to statesaver.cppEugene Sandulenko
2016-09-18FULLPIPE: Implement map saving and save obfuscationEugene Sandulenko
2016-09-16FULLPIPE: Further work on game savingEugene Sandulenko
2016-09-05FULLPIPE: Renames in PreloadItemEugene Sandulenko
2016-09-04FULLPIPE: Implement GameLoader::saveScenePicAniInfos(). Now object states ↵Eugene Sandulenko
are restored
2014-05-03FULLPIPE: Implement FullpipeEngine::restartGame()Eugene Sandulenko
2014-05-01FULLPIPE: Implement ModalSaveGame::getFileInfo() and stubbed saveload supportEugene Sandulenko
2014-05-01FULLPIPE: Implement ModalSaveGame::saveload()Eugene Sandulenko
2014-02-18FULLPIPE: Make GPL headers consistent in themselves.Johannes Schickel
2014-01-10FULLPIPE: Implement preloadCallback()Eugene Sandulenko
2013-12-27FULLPIPE: Implement sceneHandler11_hitMan()Eugene Sandulenko
2013-12-16FULLPIPE: Implement sceneHandler06()Eugene Sandulenko
2013-09-18FULLPIPE: CGameLoader -> GameLoaderEugene Sandulenko
2013-09-18FULLPIPE: CGameVar -> GameVarEugene Sandulenko
2013-09-18FULLPIPE: Remove C* prefix from inventory classesEugene Sandulenko
2013-09-18FULLPIPE: Remove C* prefix from input classesEugene Sandulenko
2013-09-18FULLPIPE: Remove C* prefixes from interaction classesEugene Sandulenko
2013-09-18FULLPIPE: Remove C* prefixes from motion classesEugene Sandulenko
2013-09-14FULLPIPE: Move PreloadItem methods where they belongEugene Sandulenko
2013-09-12FULLPIPE: Move Sc2 to gameloader.hEugene Sandulenko
2013-09-12FULLPIPE: Implement CGameLoader::preloadScene()Eugene Sandulenko
2013-09-12FULLPIPE: Move PreloadItems to gameloader.hEugene Sandulenko
2013-09-06FULLPIPE: Fix crashEugene Sandulenko
2013-09-06FULLPIPE: Implement sceneHandler01()Eugene Sandulenko
2013-09-06FULLPIPE: Rename some CGameLoader membersEugene Sandulenko
2013-09-06FULLPIPE: Implemented FullpipeEngine::updateScreen()Eugene Sandulenko
2013-09-06FULLPIPE: Finished stubbing loadGam()Eugene Sandulenko
2013-09-06FULLPIPE: Moved Messge class to messages.cppEugene Sandulenko
2013-09-06FULLPIPE: Fixed initial scene drawing. Scene bg is shownEugene Sandulenko
2013-09-06FULLPIPE: Initial stubs for input systemEugene Sandulenko
2013-09-06FULLPIPE: Several methods for motion controllerEugene Sandulenko
2013-09-06FULLPIPE: Further work on sceneSwitcherEugene Sandulenko
2013-09-06FULLPIPE: Further work on sceneSwitcher.Eugene Sandulenko
Reduced header dependency. Put CGameLoader into separate files.