Max Horn
ae8c0857b9
AdvancedDetector: Do not (ab)use paths to keep track of files, rather, use FSNodes -- partial (?) fix for bug #2137680
...
svn-id: r34702
2008-09-30 12:38:44 +00:00
Max Horn
e5f58ef5bf
Removed various uses of scumm_stricmp by the more readable String::equalsIgnoreCase and String:: compareToIgnoreCase
...
svn-id: r34198
2008-08-27 20:41:28 +00:00
Max Horn
9034ce2a7c
Fix for bug #1972625 'ALL: On-the-fly targets are written to the config file'
...
svn-id: r33550
2008-08-02 22:32:32 +00:00
Max Horn
9e4bc56861
Simplify/optimize/cleanup detectGameFilebased further
...
svn-id: r33457
2008-07-30 15:48:16 +00:00
Max Horn
fbe4f0dd48
Simplified advanced detector file sys scanning code
...
svn-id: r33455
2008-07-30 15:38:42 +00:00
Max Horn
04c05d3ca0
Advanced detector: split out part of detectGame into a new function detectGameFilebased; some cleanup
...
svn-id: r33453
2008-07-30 15:16:57 +00:00
Max Horn
d848543ee4
Changed advanced detector to *always* use the FSNode API for detection (i.e. killed second code path which used File::open trial&error directory 'scanning')
...
svn-id: r33388
2008-07-29 00:50:12 +00:00
Max Horn
fefad79249
No need to specify CaseSensitiveString_Hash explicitly anymore
...
svn-id: r32663
2008-06-11 06:00:56 +00:00
Eugene Sandulenko
70dd879e2f
Implement ADGF_KEEPMATCH
...
svn-id: r32497
2008-06-02 18:19:58 +00:00
Eugene Sandulenko
1a5d45db68
Add way to denote CD versions of games and drop language in augmented
...
names per LordHoto's request.
svn-id: r31475
2008-04-10 21:41:57 +00:00
Max Horn
1aac71ae34
Advanced detector: Let the user define a language/platform override for games which do not specify a fixed one (like multilingual versions)
...
svn-id: r31446
2008-04-07 20:56:34 +00:00
Max Horn
29f1e6de38
Advanced detector: replaced kADFlagAugmentPreferredTarget by its inverse, kADFlagDontAugmentPreferredTarget (since all AdvDetector engines except Kyra used kADFlagAugmentPreferredTarget, it seems reasonable to assume that as default)
...
svn-id: r31413
2008-04-05 22:29:08 +00:00
Max Horn
81cff1f047
removed dead code
...
svn-id: r31222
2008-03-22 16:05:23 +00:00
Max Horn
05dd6cee3a
Got rid of EncapsulatedADGameDesc
...
svn-id: r31130
2008-03-15 15:25:49 +00:00
Max Horn
6547ef6e12
Started to get rid of Common::EncapsulatedADGameDesc (using plain Common::ADGameDescription instead)
...
svn-id: r31121
2008-03-14 17:31:04 +00:00
Max Horn
aa81050117
cleanup
...
svn-id: r31120
2008-03-14 14:05:49 +00:00
Max Horn
8a9a14002e
Advanced Detector: Changed fallback detector from a callback function pointer to an overrideable method of AdvancedMetaEngine
...
svn-id: r31119
2008-03-14 13:59:31 +00:00
Max Horn
15975bdf73
Made some advanced detector stuff internal (for now), as it is only used by AdvancedMetaEngine. Also removed obsolete ADVANCED_DETECTOR_DEFINE_PLUGIN macro
...
svn-id: r30779
2008-02-03 18:37:41 +00:00
Eugene Sandulenko
65ffe2bcee
Add to AdvancedDetector possibility to use field 'extra' in ADGameDescription
...
to be used as a hint.
svn-id: r30105
2007-12-31 14:45:38 +00:00
Eugene Sandulenko
c640d1c604
Patch #1825276 : "DETECTION: advanced detector engine simplification"
...
svn-id: r29386
2007-11-03 21:06:58 +00:00
Eugene Sandulenko
ef23e9b0af
Patch #1814831 : "Unify the way to report unknown versions of games"
...
svn-id: r29293
2007-10-28 16:29:31 +00:00
Nicola Mettifogo
258901bab9
Merged common/stdafx.h into common/scummsys.h. All referencing files have been updated.
...
svn-id: r28966
2007-09-19 08:40:12 +00:00
David Corrales
cacd7a28fd
Merged the FSNode branch with trunk r27031:27680
...
svn-id: r27681
2007-06-23 18:51:33 +00:00
Max Horn
0a7bb215d9
Added a FIXME comment to the adv. detector code regarding (not) using FSNode/FSList
...
svn-id: r27425
2007-06-15 17:37:28 +00:00
Max Horn
d6e47d5fd3
ADV detector: Refactored findGameID() a bit, making it possible to use it outside the AdvancedDetector framework; also made it generate somewhat more user friendly desc for obsolete game IDs
...
svn-id: r27424
2007-06-15 17:36:41 +00:00
Eugene Sandulenko
6e5b70f5e9
Patch #1733764 : "Fallback detection patch". GSoC student.
...
svn-id: r27375
2007-06-12 12:22:25 +00:00
Eugene Sandulenko
add3243e5e
Fix for bug #1719463 : "DETECTOR: Launching undefined target adds launcher entry"
...
svn-id: r27352
2007-06-11 08:38:23 +00:00
Max Horn
9e651592ec
Adv detector: Merged upgradeTargetIfNecessary() into detectGameForEngineCreation()
...
svn-id: r27144
2007-06-06 18:35:37 +00:00
David Corrales
3b96c7fad5
Renamed methods in the FilesystemNode class to match the AbstractFSNode implementations.
...
Also exposed the new methods (exists, isReadable and isWritable) in FilesystemNode.
svn-id: r27113
2007-06-05 21:02:35 +00:00
Max Horn
218e132e37
Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
...
svn-id: r27024
2007-05-30 21:56:52 +00:00
Max Horn
5006dbd932
AdvDetector changes: made upgradeTargetIfNecessary internal; cleanup to findGameID
...
svn-id: r27020
2007-05-30 18:39:35 +00:00
Max Horn
ff2ed4b0a9
More cleanup
...
svn-id: r26602
2007-04-26 20:40:28 +00:00
Max Horn
672ad9928a
cleanup
...
svn-id: r26601
2007-04-26 20:36:52 +00:00
Max Horn
02fd340b8c
Patch #1697907 : Small patches for AdvancedDetector
...
svn-id: r26600
2007-04-26 20:35:10 +00:00
Max Horn
e9f8035b53
Remove bogus use of tstr2 (which is empty at this point anyway)
...
svn-id: r26599
2007-04-26 20:26:49 +00:00
Eugene Sandulenko
c2b2880287
Improve report of unknown MD5, to ease copy-pasting to detection code
...
svn-id: r26433
2007-04-09 11:29:44 +00:00
Gregory Montoir
ee664dc62d
added a flag to enable/disable printing a warning when filename based detection find a match, also updated some comments.
...
svn-id: r26029
2007-03-08 21:33:55 +00:00
Max Horn
348b72e107
Improved (I hope) the 'Unknown MD5' messages in our detectors a little bit
...
svn-id: r25695
2007-02-18 18:07:32 +00:00
Max Horn
ec27c53491
AdvancedDetector: revamped the file based fallback code
...
svn-id: r25599
2007-02-14 23:46:39 +00:00
Max Horn
62bd2a1544
Make use of md5_file_string
...
svn-id: r25593
2007-02-14 21:59:57 +00:00
Max Horn
42631d21b1
Some more cleanup, and that's it for tonight
...
svn-id: r25580
2007-02-14 00:52:12 +00:00
Max Horn
6b2ff5616b
Minor cleanup
...
svn-id: r25579
2007-02-14 00:38:45 +00:00
Max Horn
265deaffff
Added some comments and performed some cleanup in the file based fallback code of the AdvancedDetector
...
svn-id: r25578
2007-02-14 00:37:02 +00:00
Max Horn
75ae7cdb73
Properly implemented the AD fallback callback
...
svn-id: r25576
2007-02-14 00:21:53 +00:00
Max Horn
59b1526e5a
Since detectBestMatchingGame now returns a ADGameDescription pointer, we can change detectGame to return a ADGameDescList
...
svn-id: r25575
2007-02-13 23:47:41 +00:00
Max Horn
7572d2b4f2
Changed detectBestMatchingGame to return a pointer to a ADGameDescription (or a subclass of it); added a (currently fake) fallback callback entry in ADParams
...
svn-id: r25574
2007-02-13 23:37:44 +00:00
Max Horn
2e567f1cc9
Some more AdvancedDetector cleanup: Removed kADFlagFilebasedFallback flag (just check whether a fileBasedFallback has been provided); moved some internal definitions, added some doxygen coments, etc.
...
svn-id: r25570
2007-02-13 22:25:25 +00:00
Max Horn
433e7d69ac
Thanks to the previous changes, we can now cleanup detectGameForEngineCreation somewhat
...
svn-id: r25548
2007-02-13 15:03:43 +00:00
Max Horn
4968e912ce
AdvancedDetector changes:
...
* 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-13 14:55:11 +00:00
Eugene Sandulenko
da7d8c9f35
Rename Common::GF_XXX to Common::ADGF_XXX
...
svn-id: r25545
2007-02-13 13:42:28 +00:00