aboutsummaryrefslogtreecommitdiff
path: root/engines/toltecs/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-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-03-08ENGINES: Make variable names of AdvancedMetaEngine conform to our guidelines.Johannes Schickel
_singleid -> _singleId _gameids -> _gameIds _guioptions -> _guiOptions
2016-02-25TOLTECS: Let listSaves return list sorted on slot numbers.Johannes Schickel
2016-01-26TOLTECS: Only request actual save slots in listSaves.Johannes Schickel
2014-08-06TOLTECS: Blacklist a pirated CD-RIP version (bug #6690)Filippos Karapetis
This is a known pirated version, where all the audio has been removed. Thus, no support will be added for that version.
2014-03-02TOLTECS: Apply CppCheck performance recommendationsStrangerke
2014-02-18TOLTECS: Make GPL headers consistent in themselves.Johannes Schickel
2013-09-02TOLTECS: Add an alternate English version (bug #3614933)Filippos Karapetis
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.
2013-01-26JANITORIAL: Enforce "} // End of namespace" with a single space after }.Johannes Schickel
2013-01-06TOLTECS: Add detection for the English demo and correct the German oneFilippos Karapetis
2013-01-02TOLTECS: Add an option to use the ScummVM save/load screensFilippos Karapetis
2012-07-03TOLTECTS: Slight cleanup in querySaveMetaInfos.Johannes Schickel
2011-11-25TOLTECS: Add detection for Hungarian variant from bug #3440641.D G Turner
2011-11-21TOLTECS: Add missing namespace commentFilippos Karapetis
2011-11-21TOLTECS: Savegame changesFilippos Karapetis
- Add support for savegame removal - Remove kyra-specific code - Add save play time and creation date
2011-11-20TOLTECS: Fixed compilation after the latest changes to GUI optionsFilippos Karapetis
2011-11-20TOLTECS: Fix Detection For ADParams Removal From AdvancedMetaEngine.David Turner
2011-11-20TOLTECS: Update AdvancedMetaEngine For Removal of ADParams.David Turner
2011-11-20TOLTECS: Reduced header dependenciesFilippos Karapetis
2011-11-20TOLTECS: - Implement kSupportsLoadingDuringStartupBenjamin Haisch
2011-11-20TOLTECS: Fix warningBenjamin Haisch
2011-11-20TOLTECS: Fix warningBenjamin Haisch
2011-11-20TOLTECS: Added detection entries for French and Spanish versionsBenjamin Haisch
2011-11-20TOLTECS: Fixed compilationBenjamin Haisch
2011-11-20TOLTECS: Added GUI options to detection entriesBenjamin Haisch
2011-11-20TOLTECS: - Added detection entry for the German demo versionBenjamin Haisch
2011-11-20TOLTECS: Fixed compilationFilippos Karapetis
2011-11-20TOLTECS: Added German versionBenjamin Haisch
2011-11-20TOLTECS: - Fixed compilation after Fingolfin's latest series of commitsBenjamin Haisch
- Added a warning for the yet unimplemented palette transparency code - Removed "debug" calls from script, they weren't that useful - Removed unneccessary delete in the MoviePlayer - Fixed the renderer (hopefully?)
2011-11-20TOLTECS: - Implemented RTLBenjamin Haisch
- Fixed return values in savegame/loadgame - Some minor cleanup
2011-11-20TOLTECS: - Listing savestates via command line or LauncherBenjamin Haisch
- Loading/Saving during run time Other savestate functions yet todo. I'll probably remove the "original" in-game menu and move everything to the GMM.
2011-11-20TOLTECS: Add Russian version detection which works great.Eugene Sandulenko
2011-11-20TOLTECS: Initial checkinEugene Sandulenko