aboutsummaryrefslogtreecommitdiff
path: root/engines/sword1/detection.cpp
AgeCommit message (Collapse)Author
2019-11-03ENGINES: Change targets to have an 'engine ID'Bastien Bouclet
The engine ID identifies which engine should be used to launch the target. Also remove the 'single ID' system. Different games from engines that used that system now have different game IDs. Also-By: Matthew Hoops <clone2727@gmail.com>
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-05-10ENGINES: Remove usage of C++11 extended initializer listsBastien Bouclet
2018-05-10ENGINES: Merge GameDescriptor and DetectedGameBastien Bouclet
2018-05-10ENGINES: Set the GameDescriptor decription in the constructorBastien Bouclet
2018-05-10ENGINES: Change MetaEngine::listSupportedGames to return plain game descriptorsBastien Bouclet
2018-05-10ENGINES: Change MetaEngine::findGame to return a plain game descriptorBastien Bouclet
2018-05-10ENGINES: Add unknown game variants to the game detector resultsBastien Bouclet
2018-04-29ENGINES: Show the unknown Game dialog only when the detector is launched by ↵Lothar Serra Mari
the Add Game feature
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-11-10SWORD1: Fix use of deallocated stack memoryColin Snover
FSNode::getName returns a String object, not a reference, so the pointer from c_str is valid only until the end of the statement.
2017-07-12SWORD1: Specify list of available languages in detection codeThierry Crozat
This way only those languages are listed in the language selector for the game settings.
2016-03-08ENGINES: Make variable names of PlainGameDescriptor conform to our guidelines.Johannes Schickel
gameid -> gameId
2016-02-25SWORD1: Let listSaves return list sorted on slot numbers.Johannes Schickel
2016-01-26SWORD1: Only request actual save slots in listSaves.Johannes Schickel
2014-02-18SWORD1: Make GPL headers consistent in themselves.Johannes Schickel
2012-11-07SWORD1: Fix bug #3049346 - "BS1: Detects games in wrong places"Filippos Karapetis
We no longer detect the sword1 files inside the "clusters" folder
2012-07-03SWORD1: Slight cleanup in querySaveMetaInfos.Johannes Schickel
2012-02-26COMMON: Move RenderMode and GUIOptions functionality into separate filesMax Horn
2011-10-24SWORD1: Re-add GUIO_NOASPECT to Sword1, as it was erroneously removed.Strangerke
Sorry for the noise...
2011-10-24SWORD1: After discussion with clone2727 and eriktorbjorn, remove ↵Strangerke
GUIO_NOASPECT from Sword1
2011-10-24SWORD1: Add GUIO_NOASPECT to Sword1Strangerke
2011-10-23AD: Switched rest of the engines to new GUIOEugene Sandulenko
2011-09-08SWORD1: Made some static data const.Johannes Schickel
2011-09-07SWORD1: Made code conform a bit better to our formatting guidelines.Johannes Schickel
Most is automatically converted via astyle + some manual fixes, hopefully I did not miss anything astyle messed up...
2011-08-07GRAPHICS: Simplify the interface of Graphics::loadThumbnail().Christoph Mallon
Now it returns the Surface, so the caller does not need to create one and pass it.
2011-06-14DETECTOR: Remove PlainGameDescriptorGUIOptsMax Horn
2011-06-02ENGINES: Change 2nd param of Engine::saveGameState to Common::StringMax Horn
2011-06-02SWORD1: Replace snprintf() usage with Common::String::format()D G Turner
Safer and less portability issues.
2011-05-22ENGINES: Further unify engine namesThierry Crozat
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
2010-11-19ALL: Push down deps on stream.h from .h to .cpp filesMax Horn
svn-id: r54358
2010-10-29SWORD1: Switch to the new play time counting of the Engine class.Johannes Schickel
svn-id: r53924
2010-03-18COMMON: Get rid of Common::StringListMax Horn
svn-id: r48287
2010-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
2010-01-03Change BS 1 & 2 to I & II (see discussion on -devel)Max Horn
svn-id: r46951
2009-06-08sword1: add Broken Sword PSX demo supportFabio Battaglia
svn-id: r41369
2009-06-06Add GUI options support to Sky, Queen and Sword1&2 engines (which do not use AD)Eugene Sandulenko
svn-id: r41274
2009-05-29Changed SaveFileManager methods to take Common::String params (instead of ↵Max Horn
char pointers) svn-id: r41000
2009-05-24Strip trailing whitespaces in the whole code base.Johannes Schickel
svn-id: r40867
2009-03-19Silenced some warnings about potentially uninitialized variablesFilippos Karapetis
svn-id: r39535
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-03-04sword1: removed custom checks for thumbnails, using graphics/thumbnail.h ↵Fabio Battaglia
functions instead svn-id: r39130
2009-03-04sword1: disable saving/loading through GMM when in game menuFabio Battaglia
svn-id: r39122
2009-03-03Enabled and hopefully fixed GMM saving/loading for sword1Fabio Battaglia
svn-id: r39095
2009-03-02Add playtime feature support to sword1Fabio Battaglia
svn-id: r39083
2009-02-28Patch #2638336: Broken Sword PSX SupportEugene Sandulenko
svn-id: r38956
2009-01-01Whoa! Removing trailing spaces.Eugene Sandulenko
svn-id: r35648