Max Horn
df5be19409
Instantiate and hook up the plugin providers in the main() function of the corresponding backends (porters may have to update their ports if they were using the POSIX or Win32 module loading code implicitly); some cleanup
...
svn-id: r24153
2006-10-07 01:05:12 +00:00
Max Horn
26e4e16800
Started to refactor the plugin code (moving backend specific stuff into backends/plugins/)
...
svn-id: r24148
2006-10-07 00:22:48 +00:00
Max Horn
4a80db4c7b
* Added copyright string to all engine plugins
...
* Modified about dialog to list all available plugins with their resp. copyright
* Modified about dialog credits to show the GPL last (like movie end credits do with their legal text, too)
svn-id: r23645
2006-07-31 13:41:21 +00:00
Max Horn
bf73598811
* Changed the createEngine() factory function of our plugins to return an error code (the engine is now passed indirectly via a double pointer)
...
* Removed Engine_Empty (obsolete now that engines can return actual error codes)
svn-id: r22199
2006-04-29 00:27:20 +00:00
Max Horn
18975a298d
Moved (Plain)GameDescriptor from base/gameDetector.h to the new base/game.h header file
...
svn-id: r21917
2006-04-15 21:20:16 +00:00
Max Horn
68cb7f52c8
- Renamed ConfigManager::getActiveDomain to getActiveDomainName, and added a new getActiveDomain method that returns a pointer to the actual active *domain*
...
- Added Engine::_targetName whose value is computed from the name of the active domain
- Removed GameDetector::_targetName, instead code now uses either Engine::_targetName or the name of the active domain
- This in turn allowed for removing usage of GameDetector in many places
svn-id: r21916
2006-04-15 20:36:41 +00:00
Max Horn
e7a8bb6abf
Modified the REGISTER_PLUGIN macro so that it allows (and requires) a trailing semicolon (this helps certain tools to parse our code better)
...
svn-id: r21689
2006-04-08 12:06:07 +00:00
Max Horn
46ee5c8f26
Added new method DetectedGame::updateDesc, to ease generation of uniform description strings
...
svn-id: r21166
2006-03-09 12:52:10 +00:00
Max Horn
86565fcca5
- Renamed GameSettings to PlainGameDescriptor
...
- Added new GameDescriptor struct (similar to PlainGameDescriptor but with
Common::String members instead of const char * ones)
- Changed DetectedGame to subclass GameDescriptor
- Removed toGameSettings() in favor of new (template) constructors in
DetectedGame and GameDescriptor
- Fixed a bug in the obsolete gameid handling in the SCUMM & SIMON engines
svn-id: r21150
2006-03-09 02:52:51 +00:00
Max Horn
d2f78184af
- added new toDetectedGame() template function (analog to toGameSettings)
...
- made use of the new DetectedGame constructor from my last commit
- some related cleanup
svn-id: r21149
2006-03-09 01:42:56 +00:00
Max Horn
4c1e4c6987
Added alternate DetectedGame constructor, to make it possible to add games to a detection list w/o first creating a temporary GameSettings struct
...
svn-id: r21144
2006-03-08 12:09:07 +00:00
Max Horn
8ac17430ac
- renamed PLUGIN_getSupportedGames to PLUGIN_gameIDList for consistency
...
- renamed Engine_XXX_gameList to Engine_XXX_gameList for consistency
- added new Engine_XXX_findGameID / PLUGIN_findGameID function
- updated plugins code to take advantage of the new plugin API, to support
obsolete gameids w/o showing them to the user
svn-id: r20752
2006-02-18 11:15:37 +00:00
Max Horn
ee6fa83b1b
Change CVS keywords to SVN keywords
...
svn-id: r20509
2006-02-11 09:53:21 +00:00
Eugene Sandulenko
ea42bad781
Update copyright notice
...
svn-id: r20088
2006-01-18 17:39:49 +00:00
Max Horn
8262b6dc2a
Tried to unify plugin code for PalmOS and non-PalmOS (hopefully I didn't break the PalmOS code this way, please verify)
...
svn-id: r19670
2005-11-19 17:57:24 +00:00
Eugene Sandulenko
b36677af71
Update FSF address. Eek. Actually that took place on May 1, 2005
...
svn-id: r19142
2005-10-18 01:30:26 +00:00
Chris Apers
ca65477b65
PalmOS stuffs
...
svn-id: r18977
2005-10-08 22:00:58 +00:00
Chris Apers
368785074c
Prepare PalmOS ARM version : no global initializers with ARM loader o_O
...
svn-id: r18773
2005-09-04 16:38:38 +00:00
Eugene Sandulenko
6b4484472b
Remove trailing whitespaces.
...
svn-id: r18604
2005-07-30 21:11:48 +00:00
Paweł Kołodziejski
bc65eb8ea5
added code for loading dynamic plugins(DLLs) for windows
...
svn-id: r18356
2005-06-05 12:55:33 +00:00
Eugene Sandulenko
1758c5b211
Initial checking of Gob engine
...
svn-id: r17388
2005-04-05 15:07:40 +00:00
Max Horn
9a4bc8ce16
Patch #1117443 (Experimental plugin code revision)
...
svn-id: r17231
2005-03-25 17:55:57 +00:00
Max Horn
5d88c39549
Modify the singleton code once more to help overcome an issue with MSVC 7 (see also patch #1095133 )
...
svn-id: r16454
2005-01-06 18:38:34 +00:00
Max Horn
74bf578bda
Changed the singleton code to allow for custom object factories; this allowed me to change OSystem to use the singleton base class, too
...
svn-id: r16404
2005-01-01 19:19:06 +00:00
Max Horn
47280d9433
Updated copyright
...
svn-id: r16398
2005-01-01 16:09:25 +00:00
Marcus Comstedt
f6af7cdcc7
Provide unloading of unneeded plugins.
...
svn-id: r14829
2004-08-29 19:08:08 +00:00
Paweł Kołodziejski
f74a675850
removed awe based on Endy statement
...
svn-id: r13809
2004-05-09 13:12:19 +00:00
Paweł Kołodziejski
e29ec6e79c
adding initial code for Another World engine
...
svn-id: r13783
2004-05-05 07:25:32 +00:00
Max Horn
8a69ffc46c
Renamed template class 'List' to 'Array', since that is really what it is (a resizable array, not a linked list)
...
svn-id: r13520
2004-04-09 15:10:23 +00:00
James Brown
3978b728db
Add Kyrandia base
...
svn-id: r13516
2004-04-09 12:36:06 +00:00
Eugene Sandulenko
2fe422ad0c
Initial SAGA checkin. Disabled by default, enable with --enable-saga
...
but don't expect it to work.
svn-id: r13280
2004-03-14 23:37:11 +00:00
Max Horn
033ff78ae9
updated copyright notice
...
svn-id: r12176
2004-01-06 12:45:34 +00:00
Max Horn
f19f73eb50
Make it possible for game detection functions to detect language/platform (not yet done by any detector, but will come with the MD5 detection code)
...
svn-id: r11811
2003-12-21 15:29:52 +00:00
Robert Göffringmann
189e08bc79
Broken Sword 1: initial import
...
svn-id: r11664
2003-12-16 02:10:15 +00:00
Jonathan Gray
239aea0ff0
spelling fixes
...
svn-id: r11178
2003-11-07 02:31:44 +00:00
Oliver Kiehl
58dffdb027
fix compile when using dynamic plugin support
...
svn-id: r10920
2003-10-20 22:02:10 +00:00
Max Horn
0694eed273
moved game detection code out to the plugins
...
svn-id: r10882
2003-10-17 23:16:53 +00:00
Max Horn
116dbee1fc
factored out the game detection code into the Plugin class; this is the first step towards allowing more powerful, plugin specific detection code; also, moved the Plugin GameSettings APIs to a slightly higher level
...
svn-id: r10858
2003-10-17 12:18:58 +00:00
Max Horn
1e56fb8191
cleanup
...
svn-id: r10839
2003-10-16 23:16:16 +00:00
Max Horn
36fd7ec445
some renaming for more consistent terminology (although we might want to reevaluate this): 'target' is what is in your config file; 'game' is what a frontend provide. E.g. the scumm frontend provides the game 'monkeyvga', and my config file has target 'monkeyvga-ger' configured to use that game
...
svn-id: r10766
2003-10-12 18:40:12 +00:00
Jamieson Christian
1c3bfd6e73
Patch around another MSVC6 quirk
...
svn-id: r10735
2003-10-11 14:13:22 +00:00
Jamieson Christian
504fa5c5e0
Hmm, that wasn't the problem after all. Apparently
...
MSVC6 doesn't like the "using" keyword and consequently
got confused by the namespaces.
svn-id: r10726
2003-10-10 14:58:13 +00:00
Jamieson Christian
413ae8aa3e
Public constructor/destructor, for the sake of Singleton<>.
...
Sorry, MSVC6 doesn't seem to properly deal with the line
friend class Singleton<PluginManager>;
svn-id: r10723
2003-10-10 14:01:30 +00:00
Max Horn
6e09d35090
turned PluginManager into a proper singleton
...
svn-id: r10688
2003-10-08 22:10:59 +00:00
Max Horn
0e645f88ae
renamed namespace ScummVM to Common
...
svn-id: r10544
2003-10-02 17:43:02 +00:00
Max Horn
6a4663824e
added initial support for building our 4 adventure engines as loadable modules; right now only work on OS X; once we add more build rules, other systems with dlopen() should work, too (e.g. Linux); Windows support may come later. This is still very much WIP
...
svn-id: r10304
2003-09-18 18:23:53 +00:00
Max Horn
c1a678afeb
new module 'base'; moved gameDetector.*, main.cpp and base/plugins.* there (this removes the need for an ugly hack in the build system, and is also conceptionally cleaner)
...
svn-id: r10282
2003-09-17 22:41:01 +00:00