aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/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-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-02-25KYRA: Let listSaves return list sorted on slot numbers.Johannes Schickel
2016-01-26KYRA: Only request actual save slots in listSaves.Johannes Schickel
2012-11-23KYRA: Rename kReadSaveHeaderError to ReadSaveHeaderError.Johannes Schickel
2012-03-25KYRA: Fix game option commentsFilippos Karapetis
2012-03-25KYRA: Move I18N-related commits where they belong.Eugene Sandulenko
2012-03-19KYRA: Add per-game GUI option support.Johannes Schickel
2012-02-24KYRA: (EOB) - cleanup CGA/EGA code a bitathrxx
2011-12-26KYRA: Some formatting fixes.Johannes Schickel
2011-12-26KYRA: (EOB) - add EOB copyright strings to ↵athrxx
KyraMetaEngine::getOriginalCopyright()
2011-12-26KYRA: make bool variable const (again)athrxx
2011-12-26KYRA: whitespace cleanupathrxx
2011-12-26KYRA: (EOB/LOL) - rename some varsathrxx
(all cases of Eob to EoB, all cases of Lol to LoL, all cases of LolEobCommon to RpgCommon)
2011-12-26KYRA: (EOB) - rename some files for a better match with the contained codeathrxx
2011-12-26KYRA: (EOB/LOL) - cleanup common codeathrxx
(rename some stuff and move EOB/LOL common code to separate files)
2011-12-26KYRA: (EOB) - complete EOBII playabilityathrxx
- fixed temp data generation, block data loading, some spell issues, etc. - both EOB I and II should now be completable - one big issue remaining (AdLib driver gets swamped with monster sounds which causes heavy lags in some levels)
2011-12-26KYRA: (EOB) - lots of bug fixes, mostly for EOB IIathrxx
2011-12-26KYRA: (EOB) - initial code base commitathrxx
2011-10-01KYRA: Never allow slots 0 and 990-999 to be overwritten.Johannes Schickel
2011-08-07JANITORIAL: Remove trailing empty lines.Christoph Mallon
2011-06-14DETECTOR: Merge ADParams into AdvancedMetaEngineMax Horn
2011-06-10KYRA: Switch to alternate AdvancedMetaEngine, avoid ADParamsMax Horn
2011-06-10ENGINES: Change incorrect use of 'target' to 'gameid'Max Horn
2011-05-16KYRA: Change engine name to KyraThierry Crozat
2011-05-16ENGINES: Unify engine namesThierry Crozat
This unifies the engine names in MetaEngine::getName() and the credits. In particular drop "Engine" or "engine" from the names when it was present and use expanded names in credits when the MetaEngine uses it (e.g. "Beneath a Steel Sky" instead of "BASS").
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-28KYRA: Clean up of header includes.Johannes Schickel
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2010-11-07ENGINES: Unify code layout of all ADParams instancesMax Horn
svn-id: r54105
2010-08-24KYRA: Add support for playing KYRA3 from CD.Johannes Schickel
svn-id: r52336
2010-08-05KYRA: Add support for subtitle options changes via GMM.Johannes Schickel
svn-id: r51757
2010-06-15AdvancedDetector: Add new parameter directoryGlobs.Eugene Sandulenko
Without this parameter mass detection gave tons of false alarms. Use globbing for narrowing down the depth search. svn-id: r49788
2010-06-15Split out detection code in Kyra engine.Eugene Sandulenko
svn-id: r49695
2010-06-14Extended advancedDetector with depth parameter.Eugene Sandulenko
Now AD can search nested directories. By default it is turned off, but there is new parameter to ADParameters struct. Usually value of 2 is good enough for all purposes. svn-id: r49653
2010-03-29COMMON: Cleanup ConfigManager codeMax Horn
* get rid of ConfigManager::_emptyString * get rid of ConfigManager::Domain::get (use getVal instead) * remove some dead code svn-id: r48417
2010-03-18COMMON: Get rid of Common::StringListMax Horn
svn-id: r48287
2009-10-26- Fix some missing initialization warnings from cppcheckJohannes Schickel
- Fix two invalid memory accesses reported by cppcheck svn-id: r45414
2009-09-13Preliminary support for German Kyrandia 1 Amiga.Johannes Schickel
svn-id: r44071
2009-09-13Modify Kyrandia 1 Amiga detection entry to allow the detector to ↵Johannes Schickel
differentiate between different languages. svn-id: r44069
2009-08-25Implement support for the Kyrandia 1 CD demo.Johannes Schickel
svn-id: r43737
2009-07-07Change "FM-Towns" to "FM-TOWNS" for consistency.Johannes Schickel
svn-id: r42232
2009-07-04Kyra1 PC-98 never offered English as language settings, thus remove it. (The ↵Johannes Schickel
CD version *does* supply English files, but those will work as FM-Towns version, so this causes no drawback for the user and is faithful to the original) svn-id: r42106
2009-06-06- Flag Kyra3 detection entries with GUIO_NOMIDIJohannes Schickel
- Get rid of using directive svn-id: r41295
2009-06-06Flag all games without full voice over with GUIO_NOSPEECH.Johannes Schickel
svn-id: r41291
2009-06-06Added GUI options for newly added gamesEugene Sandulenko
svn-id: r41285
2009-06-06Added game GUI options to advancedDetector and updated all enginesEugene Sandulenko
svn-id: r41272
2009-05-30LOL: - added non-installed English floppy version to detectionFlorian Kagerer
svn-id: r41028
2009-05-30LOL: - added English floppy version to detectionFlorian Kagerer
- implemented opcode required for Yvel woods svn-id: r41027