aboutsummaryrefslogtreecommitdiff
path: root/common/advancedDetector.h
AgeCommit message (Collapse)Author
2008-07-30Advanced detector: split out part of detectGame into a new function ↵Max Horn
detectGameFilebased; some cleanup svn-id: r33453
2008-06-02Implement ADGF_KEEPMATCHEugene Sandulenko
svn-id: r32497
2008-05-26Made fallbackDetect to allow subclasses to override itJordi Vilalta Prat
svn-id: r32295
2008-04-10Add way to denote CD versions of games and drop language in augmentedEugene Sandulenko
names per LordHoto's request. svn-id: r31475
2008-04-05Advanced detector: replaced kADFlagAugmentPreferredTarget by its inverse, ↵Max Horn
kADFlagDontAugmentPreferredTarget (since all AdvDetector engines except Kyra used kADFlagAugmentPreferredTarget, it seems reasonable to assume that as default) svn-id: r31413
2008-03-15Got rid of EncapsulatedADGameDescMax Horn
svn-id: r31130
2008-03-14Started to get rid of Common::EncapsulatedADGameDesc (using plain ↵Max Horn
Common::ADGameDescription instead) svn-id: r31121
2008-03-14Advanced Detector: Changed fallback detector from a callback function ↵Max Horn
pointer to an overrideable method of AdvancedMetaEngine svn-id: r31119
2008-02-03Made some advanced detector stuff internal (for now), as it is only used by ↵Max Horn
AdvancedMetaEngine. Also removed obsolete ADVANCED_DETECTOR_DEFINE_PLUGIN macro svn-id: r30779
2008-02-02Moved AdvancedMetaEngine to namespace CommonMax Horn
svn-id: r30736
2008-02-02Converted the remaining engines to use MetaEngineJordi Vilalta Prat
svn-id: r30728
2008-02-02New MetaEngine class (work in progress to replace the current Engine plugin ↵Max Horn
API with a more object oriented approach) svn-id: r30726
2007-12-31Add to AdvancedDetector possibility to use field 'extra' in ADGameDescriptionEugene Sandulenko
to be used as a hint. svn-id: r30105
2007-11-21remove _ADVANCED_DETECTOR_DEFINE_PLUGIN_HEADGregory Montoir
svn-id: r29599
2007-11-03Patch #1825276: "DETECTION: advanced detector engine simplification"Eugene Sandulenko
svn-id: r29386
2007-10-28Patch #1814831: "Unify the way to report unknown versions of games"Eugene Sandulenko
svn-id: r29293
2007-08-13Add possibility to serve engines with complex Engine class instantiationEugene Sandulenko
svn-id: r28582
2007-06-15ADV detector: Refactored findGameID() a bit, making it possible to use it ↵Max Horn
outside the AdvancedDetector framework; also made it generate somewhat more user friendly desc for obsolete game IDs svn-id: r27424
2007-06-12Patch #1733764: "Fallback detection patch". GSoC student.Eugene Sandulenko
svn-id: r27375
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
2007-05-30AdvDetector changes: made upgradeTargetIfNecessary internal; cleanup to ↵Max Horn
findGameID svn-id: r27020
2007-03-08removed kADFlagFilebasedFallback, this flag is never used (and filename ↵Gregory Montoir
based detection is done if fileBasedFallback is non-0 anyway) svn-id: r26032
2007-03-08added a flag to enable/disable printing a warning when filename based ↵Gregory Montoir
detection find a match, also updated some comments. svn-id: r26029
2007-02-14AdvancedDetector: revamped the file based fallback codeMax Horn
svn-id: r25599
2007-02-14Properly implemented the AD fallback callbackMax Horn
svn-id: r25576
2007-02-13Changed detectBestMatchingGame to return a pointer to a ADGameDescription ↵Max Horn
(or a subclass of it); added a (currently fake) fallback callback entry in ADParams svn-id: r25574
2007-02-13Some more AdvancedDetector cleanup: Removed kADFlagFilebasedFallback flag ↵Max Horn
(just check whether a fileBasedFallback has been provided); moved some internal definitions, added some doxygen coments, etc. svn-id: r25570
2007-02-13Kill MSVC warning:Eugene Sandulenko
warning C4245: 'initializing' : conversion from 'Common::ADGameFlags' to 'uint32', signed/unsigned mismatch svn-id: r25557
2007-02-13AdvancedDetector changes:Max Horn
* Renamed genGameList to gameIDList to make it match the corresponding plugin API function name * removed the detectFunc param from detectGameForEngineCreation, as it *always* pointed to a straight wrapper around AdvancedDetector::detectAllGames * as a consequence, removed the various GAME_detectGames functions from the engines, and removed the detectFunc param from ADVANCED_DETECTOR_DEFINE_PLUGIN svn-id: r25547
2007-02-13Rename Common::GF_XXX to Common::ADGF_XXXEugene Sandulenko
svn-id: r25545
2007-02-13Renamed kADFlagComplexID to kADFlagAugmentPreferredTarget, document it, and ↵Max Horn
add it for AGOS, too svn-id: r25543
2007-02-13(re)added flags field to ADGameDescription, with currently only one value ↵Max Horn
(GF_DEMO) -- this flag value is not yet used by anything (also, GF_DEMO hasn't been correctly set for AGI games yet) svn-id: r25539
2007-02-04AdvancedDetector now has built-in fallback detection based on file lists.Eugene Sandulenko
Currently only gob engine benefits from it. svn-id: r25374
2007-01-30warningsGregory Montoir
svn-id: r25284
2007-01-29Now AdvancedDetector could use single ID per engine. Also it can suggestEugene Sandulenko
more complex game IDs with platform and language specified. AGI engine benefits most from that. Also turned Cine, Parallaction and SAGA to single ID, autoupgrading old ID. svn-id: r25269
2007-01-28Gregory's patch for bug #1645653 ("MSVC71 BUILD: Latest SVN doesn't compile").Johannes Schickel
svn-id: r25251
2007-01-28Add more paramteres to AdvancedDetector. Not used yet.Eugene Sandulenko
svn-id: r25241
2007-01-25Lots of cleanup in the AdvancedDetectorMax Horn
svn-id: r25194
2007-01-25At this time, ADVANCED_DETECTOR_DEFINE_PLUGIN doesn't take a factory ↵Max Horn
function, but rather only a simple class name (one of the reasons it can't be used by the Kyra code right now) svn-id: r25176
2007-01-25Removed class AdvancedDetectorMax Horn
svn-id: r25174
2007-01-25Mention that some fields in ADGameFileDescription are optional.Eugene Sandulenko
In fact we really need to write some documentation for it. svn-id: r25173
2007-01-24Correcting doc commentMax Horn
svn-id: r25168
2007-01-24Corrected a commentMax Horn
svn-id: r25166
2007-01-24Add optional size parameter to ADGameFileDescription. Not used now.Eugene Sandulenko
svn-id: r25164
2007-01-24Hide all AdvacedDetector parameters into a structure for easier maintenanceEugene Sandulenko
and extensibility svn-id: r25163
2007-01-20First phase of detection-related plugins interface improvements. Now pluginsEugene Sandulenko
return StringMap instead of fixed list of parameters. This adds great flexibility. Current patch should not alter any functionality, i.e. if there are regressions, submit a report. Phase 2 will benefit from these changes and will come later. svn-id: r25134
2006-12-29Make ADGameFileDescription is built in directly into ADGameDescription.Eugene Sandulenko
svn-id: r24947
2006-12-20Stripped some more real_ prefixes from function names; also added a new ↵Max Horn
FIXME comment to Kyra's setupGameFlags, and did some more cleanup svn-id: r24899
2006-12-19Renamed real_ADVANCED_DETECTOR_DETECT_GAMES_FUNCTION to ↵Max Horn
ADVANCED_DETECTOR_DETECT_GAMES_FUNCTION, and real_ADVANCED_DETECTOR_DETECT_INIT_GAME to ADVANCED_DETECTOR_DETECT_INIT_GAME svn-id: r24896
2006-12-19Further AdvancedDetector cleanup (in particular, renamed ↵Max Horn
ADGameDescription::name to the more suitable ADGameDescription::gameid) svn-id: r24895