Commit Graph

45 Commits

Author SHA1 Message Date
Johannes Schickel
53e83147be ENGINES: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
Eugene Sandulenko
6384cfdeaa AD: Introduce ADGF_DROPPLATFORM 2013-09-09 00:38:06 +03:00
Eugene Sandulenko
f59512c47e RECORDER: Implement Events Recorder 2013-05-17 00:18:09 +03:00
Johannes Schickel
89abab97e3 JANITORIAL: Remove trailing whitespaces.
Powered by:
git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-09-26 04:17:55 +02:00
Sven Hesse
9e7ece4ebe DETECTOR: Make reportUnknown() available for AdvancedMetaEngine classes to use 2012-06-27 05:14:18 +02:00
Sven Hesse
2c760cb15e DETECTOR: Make detectGameFilebased() return a list of MD5s and file sizes
Since we need a FSNode parent for Mac resource forks, we need to change
signature of detectGameFilebased(), too.
2012-06-27 05:14:18 +02:00
Sven Hesse
63e13c5d2c DETECTOR: Move size reading and MD5 creating into a new method getFileProperties() 2012-06-27 05:14:18 +02:00
Sven Hesse
5ca480aa2e DETECTOR: Move ADFileProperties(Map) into advancedDetector.h 2012-06-27 05:14:18 +02:00
Johannes Schickel
82ab3056fa ENGINES: Implement per-game options caching in AdvancedDetector via GUIO flags. 2012-03-19 21:04:29 +01:00
Willem Jan Palenstijn
3ce34294ee ENGINES: Copy singleid description from wiki 2012-02-29 13:13:28 +01:00
Filippos Karapetis
a20de36b26 ENGINES: Adjust the description of _singleId 2012-02-29 11:59:33 +02:00
Filippos Karapetis
65c60ef027 ENGINES: Add a thorough explanation of the ugliness caused by _singleId 2012-02-28 11:13:40 +02:00
Filippos Karapetis
f4bf93fd67 ENGINES: Properly explain the usage of _singleId 2012-02-28 10:38:42 +02:00
Max Horn
215b41b244 COMMON: Move RenderMode and GUIOptions functionality into separate files 2012-02-26 15:19:31 +01:00
Strangerke
bab4b6f729 LAUNCHER: Introduce GUIO0() in order to replace GUIO1(GUIO_NONE) 2011-11-16 22:38:58 +01:00
Eugene Sandulenko
32972a5ffb AD: Switched rest of the engines to new GUIO 2011-10-23 17:53:13 +01:00
Eugene Sandulenko
77c65648b1 AD: Swtich GUI options to a char array.
This eliminates nasty limitation of caping number of flags to 31.
Current code has limitation of 255 flags, though.

Only SCUMM engine is converted, rest do not even compile.
Detection of fan talkie MI is broken as it has to be implemented
differently.
2011-10-23 17:53:13 +01:00
Matthew Hoops
d91548035b ENGINES: Fix a typo 2011-08-20 18:42:04 -04:00
Tarek Soliman
4d0bba314d ENGINES: Warn user about games marked with ADGF_UNSTABLE flags
ADGF_UNSTABLE is always warned about.
ADGF_TESTING is only warned about when running
configure with --enable-relase.

Both warnings are subject to the enable_wip_game_warning
config option.
2011-06-16 13:37:13 -05:00
Max Horn
d9a996e6ef DETECTOR: Change ADFileBasedFallback::desc to ADGameDescription pointer 2011-06-14 18:52:12 +02:00
Max Horn
5016645345 DETECTOR: Remove kADFlagPrintWarningOnFileBasedFallback 2011-06-14 18:52:11 +02:00
Max Horn
01f806c2db DETECTOR: Treat file based fallback like any other fallback method 2011-06-14 18:52:11 +02:00
Max Horn
879c3c7817 DETECTOR: Pass allFiles to AdvancedMetaEngine::fallbackDetect()
Also reorder the parameters of composeFileHashMap, placing the "return value"
first.
2011-06-14 18:52:11 +02:00
Max Horn
64e523141f DETECTOR: Change detectGameFilebased return value 2011-06-14 18:52:10 +02:00
Max Horn
49a1ea1789 DETECTOR: Cleanup, extend doxygen comments 2011-06-14 18:52:09 +02:00
Max Horn
593b929047 DETECTOR: Separate code for handling obsolete gameids from advanced detector
This includes a renaming of ADObsoleteGameID to Engine::ObsoleteGameID,
and AdvancedDetector::findGameID now is Engines::findGameID.

Doxygen comments were added or improved
2011-06-14 18:52:07 +02:00
Max Horn
7c992d6598 DETECTOR: Merge ADParams into AdvancedMetaEngine 2011-06-14 18:17:01 +02:00
Max Horn
eea6f69b59 DETECTOR: Turn some internal func of AdvancedMetaEngine into methods
The eventual goal here is to make it easier (well, *possible*) for
subclasses to modify the detector behavior, e.g. to implement
custom fallback detection.
One immediate goal could be to move the filebased fallback detector
into a subclass.
2011-06-10 22:15:48 +02:00
Max Horn
d46bfff066 DETECTOR: Make updateGameDescriptor a method of AdvancedMetaEngine 2011-06-10 22:15:46 +02:00
Max Horn
b7d9e433bf DETECTOR: Add AdvancedMetaEngine constructor which works without ADParams 2011-06-10 22:15:40 +02:00
Max Horn
136ffb5e0a DETECTOR: Get rid of unused kADFlagDontAugmentPreferredTarget
It doesn't seem very useful to keep this around for future uses,
either, at least I couldn't think of a convincing argument.
If we really need something like this one day again, it is trivial
enough to add it back.
2011-06-01 16:44:35 +02:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Ori Avtalion
9414d7a6e2 JANITORIAL: Reduce header dependencies in shared code
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
Max Horn
bc0e373da8 DETECTOR: Reserve 16 bits for generic ADGameFlags 2011-04-27 11:31:52 +02:00
Max Horn
c5598664ce DETECTOR: Get rid of ADGF_KEEPMATCH
Also fix some typos, and minor tweaks

svn-id: r54118
2010-11-07 17:15:27 +00:00
Eugene Sandulenko
78278db7ed AD: Implement AGDF_PIRATED flag.
svn-id: r52384
2010-08-25 11:51:06 +00:00
Johannes Schickel
a551faa8a4 COMMON: Constify directoryGlobs variable in ADParams.
svn-id: r52335
2010-08-24 13:10:48 +00:00
Eugene Sandulenko
7c5c3faae2 AdvancedDetector: Introduce new flag GF_ADDENGLISH
It is convenient for localized games which always have English
as fallback, thus English will be selectable from GUI.

svn-id: r51593
2010-08-01 21:17:00 +00:00
Eugene Sandulenko
312db66d5f AdvancedDetector: Introducing AD_LISTEND, another convenience macro
svn-id: r51590
2010-08-01 20:47:46 +00:00
Eugene Sandulenko
44a39ffbc6 AdvancedDetector: Add new parameter directoryGlobs.
Without this parameter mass detection gave tons of false alarms.
Use globbing for narrowing down the depth search.

svn-id: r49788
2010-06-15 10:59:23 +00:00
Eugene Sandulenko
4d517ed0e9 Extended advancedDetector with depth parameter.
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-06-14 14:50:23 +00:00
Matthew Hoops
b9813063ad Add support to the MacResManager and AdvancedDetector to take the md5 of a resource fork. This introduces a new flag, ADGF_MACRESFORK, which when set will take the md5 and size from the resource fork instead of the data fork.
svn-id: r48997
2010-05-10 18:23:54 +00:00
Eugene Sandulenko
eccf0cc429 Introduced new ADGF flag ADGF_USEEXTRAASTITLE.
Documented ADFlags.

svn-id: r46946
2010-01-03 21:07:40 +00:00
Eugene Sandulenko
1bd6f6c99f Added game GUI options to advancedDetector and updated all engines
svn-id: r41272
2009-06-06 17:56:41 +00:00
Max Horn
28cf213605 Moved AdvancedDetector from common/ to engines/
svn-id: r36132
2009-01-29 22:13:01 +00:00