aboutsummaryrefslogtreecommitdiff
path: root/engines/cruise/detection.cpp
AgeCommit message (Collapse)Author
2019-11-03ENGINES: Stop using 'single id'Bastien Bouclet
2019-11-03ENGINES: Add an engine ID to all the enginesBastien Bouclet
2018-12-10ENGINES: Normalize the getName() result of metaenginesBastien Bouclet
Also-By: Matthew Hoops <clone2727@gmail.com>
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-03-08ENGINES: Make variable names of ADGameDescription conform to our guidelines.Johannes Schickel
gameid -> gameId guioptions -> guiOptions
2016-03-08ENGINES: Make variable names of AdvancedMetaEngine conform to our guidelines.Johannes Schickel
_singleid -> _singleId _gameids -> _gameIds _guioptions -> _guiOptions
2016-02-25CRUISE: Let listSaves return list sorted on slot numbers.Johannes Schickel
2016-01-26CRUISE: Only request actual save slots in listSaves.Johannes Schickel
2014-02-18CRUISE: Make GPL headers consistent in themselves.Johannes Schickel
2014-02-17CRUISE: Indent REGISTER_PLUGIN_* for consistency.Johannes Schickel
2013-06-18CRUISE: Remove useless fields in CRUISEGameDescriptionStrangerke
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-03CRUISE: Slight cleanup in querySaveMetaInfos.Johannes Schickel
2012-05-14CRUISE: Correct Italian detection entryFabio Battaglia
Actually mark Amiga italian detection entry as Italian
2012-05-14CRUISE: Add detection entry for Amiga Italian verFabio Battaglia
2011-11-16LAUNCHER: Introduce GUIO0() in order to replace GUIO1(GUIO_NONE)Strangerke
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-06-14DETECTOR: Merge ADParams into AdvancedMetaEngineMax Horn
2011-06-10CRUISE: Switch to alternate AdvancedMetaEngine, avoid ADParamsMax Horn
2011-06-10ENGINES: Change incorrect use of 'target' to 'gameid'Max Horn
2011-05-22ENGINES: Further unify engine namesThierry 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-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-04-14ALL: colour -> colorMax Horn
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-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-22Patch #2973290: Semicolon cleanupMax Horn
svn-id: r48359
2010-03-18COMMON: Get rid of Common::StringListMax Horn
svn-id: r48287
2010-03-04cruise: add detection entry for Amiga English US GOLD versionFabio Battaglia
svn-id: r48160
2010-02-13Cruise detection entry for english AtariST KixxXL editionFabio Battaglia
svn-id: r48045
2010-01-03Fixed a bunch of cppcheck warnings. Mostly about checking if a pointer is nullTorbjörn Andersson
before freeing it, which isn't necessary. svn-id: r46941
2009-09-14Add preliminary support for German Amiga version.Johannes Schickel
svn-id: r44077
2009-08-24Added code to launch the GMM save/load dialogues from the in-game Player ↵Paul Gilbert
menu, replacing the older code that just saved/loaded the game in a single slot without prompting svn-id: r43685
2009-08-16Added detection entry for the UK 16 colour versionPaul Gilbert
svn-id: r43434
2009-08-15Added Dirty Rect handling functionalityPaul Gilbert
svn-id: r43406
2009-06-10Added support for loading savegames from the launcherPaul Gilbert
svn-id: r41424
2009-06-06Added game GUI options to advancedDetector and updated all enginesEugene Sandulenko
svn-id: r41272
2009-06-01Capitalize the C in CorpseJoost Peters
svn-id: r41110
2009-05-29Changed SaveFileManager methods to take Common::String params (instead of ↵Max Horn
char pointers) svn-id: r41000
2009-05-17Removed the obsolete game Id list - it seems redundant, and stops the ↵Paul Gilbert
warning message coming up about Target 'cruise' upgraded to 'cruise' svn-id: r40633
2009-05-05Added detection entry for the German 16-colour version, which was included onTorbjörn Andersson
the "Classic Collection" CD I just bought. svn-id: r40330
2009-04-18Added support for the global menu save/loading, and changed the savegame ↵Paul Gilbert
format to store the savegame name and thumbnail svn-id: r39979
2009-03-05Renamed MetaEngine::getCopyright() to getOriginalCopyright() to better match ↵Jordi Vilalta Prat
the meaning of the returned string, as discussed some time ago in scummvm-devel svn-id: r39132
2009-01-29Moved AdvancedDetector from common/ to engines/Max Horn
svn-id: r36132
2009-01-16Fixed class indentionMax Horn
svn-id: r35871
2009-01-16Code formatting fixes, automatically performed by astyleMax Horn
svn-id: r35870
2009-01-02Add German, Italian and Spanish VGA versions of Cruise for a Corpse.Travis Howell
svn-id: r35669