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
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
Max Horn
2afe07992f
Renamed kADFlagComplexID to kADFlagAugmentPreferredTarget, document it, and add it for AGOS, too
...
svn-id: r25543
2007-02-13 13:17:46 +00:00
Max Horn
55adc889e7
(re)added flags field to ADGameDescription, with currently only one value (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-13 01:28:18 +00:00
Torbjörn Andersson
3bc0661065
Merged the "palette manager" into the cursor manager. It was only used to
...
manage *cursor* palettes, so the name was misleading.
svn-id: r25500
2007-02-12 00:04:56 +00:00
Eugene Sandulenko
7b6bdd231d
AdvancedDetector now has built-in fallback detection based on file lists.
...
Currently only gob engine benefits from it.
svn-id: r25374
2007-02-04 03:10:27 +00:00
Torbjörn Andersson
0a18259d78
Used Fingolfin's workaround for a bogus (?) warning produced by some versions
...
of GCC. (Not the one he's using, though, which is why I'm doing this instead.)
svn-id: r25327
2007-02-01 20:16:32 +00:00
Eugene Sandulenko
adcfd2cc5f
Now AdvancedDetector could use single ID per engine. Also it can suggest
...
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-29 23:25:51 +00:00
Eugene Sandulenko
93687d376b
Add more paramteres to AdvancedDetector. Not used yet.
...
svn-id: r25241
2007-01-28 07:31:26 +00:00
Max Horn
d70c83bd4b
Lots of cleanup in the AdvancedDetector
...
svn-id: r25194
2007-01-25 21:16:57 +00:00
Eugene Sandulenko
bb3cc79bc6
Reduce #include dependencies
...
svn-id: r25178
2007-01-25 01:05:25 +00:00
Eugene Sandulenko
318210ad96
Add optional size parameter to ADGameFileDescription. Not used now.
...
svn-id: r25164
2007-01-24 22:42:44 +00:00
Eugene Sandulenko
edd2422a55
Hide all AdvacedDetector parameters into a structure for easier maintenance
...
and extensibility
svn-id: r25163
2007-01-24 22:24:52 +00:00
Eugene Sandulenko
d3b0ff8ade
Reduce dependency from common/advancedDetector.h
...
svn-id: r25156
2007-01-21 20:24:38 +00:00
Max Horn
fef501c205
openForSaving can fail, so it should be handled gracefully -- but better to assert out in a controlled manner than o invoke methods on a NULL pointer, right? :-)
...
svn-id: r25151
2007-01-21 15:19:30 +00:00
Eugene Sandulenko
cd8a5f3a98
First phase of detection-related plugins interface improvements. Now plugins
...
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
2007-01-20 21:27:57 +00:00
Torbjörn Andersson
48061b3392
Fixed warning.
...
svn-id: r25092
2007-01-15 19:56:27 +00:00
Eugene Sandulenko
c01839bbe9
Make ADGameFileDescription is built in directly into ADGameDescription.
...
svn-id: r24947
2006-12-29 00:03:03 +00:00
Max Horn
559f2b62eb
Renamed real_ADVANCED_DETECTOR_DETECT_GAMES_FUNCTION to ADVANCED_DETECTOR_DETECT_GAMES_FUNCTION, and real_ADVANCED_DETECTOR_DETECT_INIT_GAME to ADVANCED_DETECTOR_DETECT_INIT_GAME
...
svn-id: r24896
2006-12-19 23:57:04 +00:00
Max Horn
d82d2c4513
Fix warning about a const cast
...
svn-id: r24886
2006-12-19 12:24:41 +00:00
Eugene Sandulenko
457ebfea3c
Get rif od ARRAYSIZE in ADGameDescription
...
svn-id: r24882
2006-12-19 04:35:08 +00:00
Eugene Sandulenko
18ce381060
Got rid of ARRAYSIZE in advanceDetector calls
...
svn-id: r24881
2006-12-19 03:52:04 +00:00
Eugene Sandulenko
6eb8b98adc
Remove unneeded #include
...
svn-id: r24813
2006-12-07 00:32:32 +00:00
Torbjörn Andersson
f36beed55d
Changed CINE_*_H_ to CINE_*_H for consistency with other engines. (Oh, who am I
...
kidding, I'm still testing the SVN change.)
svn-id: r24806
2006-12-03 18:29:58 +00:00
Torbjörn Andersson
2564d954de
Fixed indentation. (Oh, ok, I actually just wanted to test the new SVN access
...
path.)
svn-id: r24805
2006-12-03 17:08:37 +00:00
Eugene Sandulenko
8fddc12581
Support loading saves from command line.
...
svn-id: r24787
2006-11-25 09:28:00 +00:00
Eugene Sandulenko
c89dcb6e79
Let F10 work in all expected cases.
...
svn-id: r24785
2006-11-24 20:25:55 +00:00
Eugene Sandulenko
a2b240c0e2
Fix regression in OS Amiga demo.
...
svn-id: r24771
2006-11-23 06:57:06 +00:00
Eugene Sandulenko
45c645159f
Add missing dump script cases.
...
svn-id: r24770
2006-11-23 06:52:03 +00:00
Eugene Sandulenko
8476b767f9
Fix crashes on unimplemented music/sfx in Amiga/Atari versions.
...
svn-id: r24769
2006-11-23 06:50:44 +00:00
Eugene Sandulenko
57ba5fc233
Fix Amiga/Atari-specific copy protection.
...
svn-id: r24768
2006-11-23 06:49:23 +00:00
Eugene Sandulenko
51a621fe98
Dump global scripts too.
...
svn-id: r24767
2006-11-23 06:47:41 +00:00
Eugene Sandulenko
207ef00754
et up cursor palette. This fixes Amiga/Atari versions and makes cursor more
...
visible in most cases.
svn-id: r24766
2006-11-23 06:45:21 +00:00
Eugene Sandulenko
e09eaa074e
Fix bug #1599267 : "FW: Ungraceful exit from copy protection screen"
...
svn-id: r24765
2006-11-23 06:43:18 +00:00
Eugene Sandulenko
cfb29dcb51
Fix MSVC2005 warnings. Please, review the changes.
...
svn-id: r24760
2006-11-22 15:50:30 +00:00
Eugene Sandulenko
3799a91315
Fix regression which did not allow to enter save name.
...
svn-id: r24753
2006-11-20 20:27:30 +00:00
Eugene Sandulenko
315c286bea
Proper implementation of o1_allowSystemMenu()
...
svn-id: r24750
2006-11-19 23:02:26 +00:00
Torbjörn Andersson
50e2cf9caa
Don't allow the F9 and F10 keys to open menus if a menu is already open. (Might
...
need more testing.)
svn-id: r24747
2006-11-19 18:54:06 +00:00
Torbjörn Andersson
39b27ed3bb
Added keyboard shortcuts for left and right mouse button.
...
svn-id: r24746
2006-11-19 18:32:00 +00:00
Eugene Sandulenko
c558018bd9
Implement o1_fadeToBlack()
...
svn-id: r24738
2006-11-18 20:57:37 +00:00
Eugene Sandulenko
785d86b63e
Make input string truly editable
...
svn-id: r24732
2006-11-18 16:26:51 +00:00
Eugene Sandulenko
53c4684bbe
Implement naming save games in cinE. See also FR #1579780 : "FW: naming save
...
games"
svn-id: r24731
2006-11-18 15:16:44 +00:00
Eugene Sandulenko
53faadfdb6
Added per game target saves.
...
svn-id: r24718
2006-11-14 09:29:41 +00:00
Eugene Sandulenko
aba00bd320
Implement reading font data from external files for OS.
...
svn-id: r24714
2006-11-13 21:16:50 +00:00
Eugene Sandulenko
9f74b03182
Protection should not be bypassed for OS (and it didn't work well anyway)
...
svn-id: r24708
2006-11-13 16:42:34 +00:00
Max Horn
1f26cb8965
Reworked code in the advanced game detector (getting rid of much of the evil #define hell it consisted of previously)
...
svn-id: r24685
2006-11-12 03:23:29 +00:00
Eugene Sandulenko
84660f620b
Improve international support in CINE engine.
...
svn-id: r24678
2006-11-11 15:37:03 +00:00
Eugene Sandulenko
a977988058
Next step in AdvancedDetector unification. Moved all common functions to
...
macroses. Now typical usage is just list of macros with parameters and
array of game details.
svn-id: r24670
2006-11-10 22:43:10 +00:00
Eugene Sandulenko
8e4309b7c1
Remove slipped in debug output
...
svn-id: r24661
2006-11-08 21:54:03 +00:00