aboutsummaryrefslogtreecommitdiff
path: root/engines/dreamweb/detection.cpp
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.
2016-11-29ALL: Remove comma before the word 'instead'Ben Castricum
2016-04-14JANITORIAL: Reduce audio header dependenciesOri Avtalion
2016-03-08ENGINES: Make variable names of AdvancedMetaEngine conform to our guidelines.Johannes Schickel
_singleid -> _singleId _gameids -> _gameIds _guioptions -> _guiOptions
2016-02-25DREAMWEB: Let listSaves return list sorted on slot numbers.Johannes Schickel
2016-01-26DREAMWEB: Only request actual save slots in listSaves.Johannes Schickel
2014-02-18DREAMWEB: Make GPL headers consistent in themselves.Johannes Schickel
2012-07-03DREAMWEB: Slight cleanup in querySaveMetaInfos.Johannes Schickel
2012-03-25DREAMWEB: Rename the dreamweb_originalsaveload option to originalsaveloadFilippos Karapetis
This changes its naming to be like the rest of the game options
2012-03-19DREAMWEB: Add per-game GUI option support.Filippos Karapetis
2012-02-22DREAMWEB: Avoid including advancedDetector.h from dreamweb.hMax Horn
2011-12-28DREAMWEB: Completely remove all of the runtime, and move everything into ↵Filippos Karapetis
DreamWebEngine Also, remove dead code (allocateMem/deallocateMem)
2011-12-18DREAMWEB: Close the file opened in querySaveMetaInfos() when returningFilippos Karapetis
2011-12-18DREAMWEB: Remove an erroneous comment (copy/paste error)Filippos Karapetis
2011-12-18DREAMWEB: Add meta information to saved gamesFilippos Karapetis
This information includes savegame versioning and the saved game's date/time, played time and game thumbnail. This information is stored into an unused data block of the original save format, so the generated ScummVM saves are (hopefully) fully compatible with the original ones and can be loaded in the original interpreter
2011-12-17DREAMWEB: Implement removeSaveState()Filippos Karapetis
2011-12-08DREAMWEB: Code formattingMax Horn
2011-10-23AD: Switched rest of the engines to new GUIOEugene Sandulenko
2011-08-18DREAMWEB: Enable 100 savegamesWillem Jan Palenstijn
2011-08-18DREAMWEB: Add/fix loading from launcherWillem Jan Palenstijn
This is very error-prone, and needs testing.
2011-07-19DREAMWEB: Add ScummVM headers, remove SVN keywords.Eugene Sandulenko
2011-07-05DREAMWEB: disable load button in launcherTarek Soliman
2011-06-25DREAMWEB: Reimplemented modifychar and language switchingVladimir Menshakov
2011-06-24DREAMWEB: Show subtitle options only for CD versionVladimir Menshakov
2011-06-23DREAMWEB: Added subtitle optionVladimir Menshakov
2011-06-20ALL: Remove trailing whitespacesMax Horn
This tries to make our code a bit more compliant with our code formatting conventions. For future use, this is the command I used: git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-18DREAMWEB: Fix saveGameState signature to match Engine's virtual methodOri Avtalion
2011-06-18DREAMWEB: added stubs for loading from lancher (disabled).Vladimir Menshakov
2011-06-18DREAMWEB: do not call updatescreen before quitting, fixed crash on ↵Vladimir Menshakov
dosreturn, cleaned up dosreturn stub
2011-06-16DREAMWEB: Fixed size of the save file titleVladimir Menshakov
2011-06-16DREAMWEB: added savefiles enumerationVladimir Menshakov
2011-06-15DREAMWEB: ported engine to the new metaengine apiVladimir Menshakov
2011-06-15DREAMWEB: removed detection paramsVladimir Menshakov
2011-06-15DREAMWEB: added autogenerated sourceVladimir