aboutsummaryrefslogtreecommitdiff
path: root/engines/cge/detection.cpp
AgeCommit message (Collapse)Author
2018-05-10ENGINES: Add unknown game variants to the game detector resultsBastien Bouclet
2018-05-05CGE: Add play time metadata to savegamesAdrian Frühwirth
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-09-20CGE: Clean up SearchMan after fallbackDetectWillem Jan Palenstijn
2016-08-24ALL: Make simpleSaveNames() a MetaEngineFeatureAlexander Tkachev
Added it into hasFeature() of all engines which returned `true` in simpleSaveNames() before. As mentioned in #788, SCI is not always using simple names, so it doesn't have such feature now.
2016-08-24ALL: Add MetaEngine::simpleSaveNames()Alexander Tkachev
Engines with "simple" savenames would support "Run in background" in save/load dialog and gradual save slots unlocking. Other engines save/load feature would be locked until save sync is over.
2016-08-24GUI: Show "locked" saves during syncAlexander Tkachev
2016-05-29Fix CGE copyright signHubert Maier
2016-03-08ENGINES: Make variable names of AdvancedMetaEngine conform to our guidelines.Johannes Schickel
_singleid -> _singleId _gameids -> _gameIds _guioptions -> _guiOptions
2016-02-25CGE: Let listSaves return list sorted on slot numbers.Johannes Schickel
2016-01-26CGE: Only request actual save slots in listSaves.Johannes Schickel
2014-09-26CGE: Fix a crash when detecting an empty set of VOL filesStrangerke
2014-09-17CGE: Cleanup detection, implement fallbackDetectStrangerke
2014-09-16CGE: Remove fallback detection.Peter Bozsó
2014-08-12CGE: Get rid of superflous game name in extra field.Johannes Schickel
2014-04-25CGE2: Remove detection of Sfinx from CGE1.uruk
2014-02-18CGE: Make GPL headers consistent in themselves.Johannes Schickel
2014-02-17CGE: Indent REGISTER_PLUGIN_* for consistency.Johannes Schickel
2014-02-13CGE: Add an option to toggle color blind mode from the launcherStrangerke
2014-02-09CGE: Reduce the scope of some variablesStrangerke
2013-10-30CGE: Add detection entry for translated Spanish SoltysThierry Crozat
2013-07-14JANITORIAL: Remove trailing whitespaceSven Hesse
2013-05-27CGE: Pass proper size of detection entries to AdvancedMetaEngine code.Johannes Schickel
This was forgotten to update in 0d50c67a3e4790d9e3d4b5ba13c7c0975b9ac2e0.
2013-05-26CGE: Fix warning in detectionStrangerke
Thanks clone2727 for reporting it
2013-05-19CGE: Introduce gametypeStrangerke
2013-05-17CGE: Add detection entry for SfinxStrangerke
2013-05-02COMMON: Change kPlatformPC to kPlatformDOSMatthew Hoops
"PC" was very ambiguous and now it matches what we show in the GUI. This also corrects sword2's platform to Windows.
2012-09-26JANITORIAL: Remove trailing whitespaces.Johannes Schickel
Powered by: git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-07-29Merge pull request #252 from DrMcCoy/detector_public_reportUnknownJohannes Schickel
DETECTOR: Make reportUnknown() accessible to inherited AdvancedMetaEngine classes
2012-07-03CGE: Slight cleanup in querySaveMetaInfos.Johannes Schickel
2012-06-27DETECTOR: Make detectGameFilebased() return a list of MD5s and file sizesSven Hesse
Since we need a FSNode parent for Mac resource forks, we need to change signature of detectGameFilebased(), too.
2012-03-28CGE: Close memory leak in savegame thumbnail loading.D G Turner
2012-02-16CGE: Change detector singleid to be all lowercaseMax Horn
2011-11-16LAUNCHER: Introduce GUIO0() in order to replace GUIO1(GUIO_NONE)Strangerke
2011-11-16CGE: Fix GUIO1 on an entry for consistency in detectionStrangerke
2011-11-14CGE: Add detection for our Freeware versions of SoltysStrangerke
2011-10-23AD: Switched rest of the engines to new GUIOEugene Sandulenko
2011-10-01COMMON: Fix multiple engines asserting in querySaveMetaInfos for empty save ↵Paul Gilbert
slots
2011-08-29CGE: Fix the language of one of the demosStrangerke
2011-08-29CGE: Remove code related to demos, and tag demos as unsupportedStrangerke
2011-08-29CGE: Little cleanup of the English data file and update the detectionStrangerke
2011-08-27CGE: Set slot #0 as write protected as it's an automatic savegameStrangerke
2011-08-07CGE: Fix a couple of warnings reported by cppcheckStrangerke
2011-08-06Merge branch 'soltys_wip2' of github.com:Strangerke/scummvm into soltys_wip2Strangerke
2011-08-05CGE: Built an English version game archivePaul Gilbert
This combines the base game resources with the files of cge_work\dusa and work\ins\usa. This makes both action descriptions and hotspots appear in English, although the introduction credits still appear in Polish. I don't know if this was the case for the original 'official' English release; but I consider it a minor issue.
2011-08-02CGE: Rename some more definesStrangerke
2011-07-16CGE: Added support for GMM save/load and launcher loadingPaul Gilbert
2011-06-29CGE: Misc cleanup (provided by Digitall)Strangerke
2011-06-27CGE: remove some if(n)def DEMO by using a new flag. Added CGEEngine in ↵Strangerke
several classes in order to do so.
2011-06-26CGE: Implement ForceExt and RCrypt. Little style cleanup.Strangerke