aboutsummaryrefslogtreecommitdiff
path: root/base/plugins.h
AgeCommit message (Collapse)Author
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-11-12Reworked code in the advanced game detector (getting rid of much of the evil ↵Max Horn
#define hell it consisted of previously) svn-id: r24685
2006-10-07Instantiate and hook up the plugin providers in the main() function of the ↵Max Horn
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-07Started to refactor the plugin code (moving backend specific stuff into ↵Max Horn
backends/plugins/) svn-id: r24148
2006-07-31* Added copyright string to all engine pluginsMax Horn
* 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-04-29* Changed the createEngine() factory function of our plugins to return an ↵Max Horn
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-15Moved (Plain)GameDescriptor from base/gameDetector.h to the new base/game.h ↵Max Horn
header file svn-id: r21917
2006-04-15- Renamed ConfigManager::getActiveDomain to getActiveDomainName, and added a ↵Max Horn
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-08Modified the REGISTER_PLUGIN macro so that it allows (and requires) a ↵Max Horn
trailing semicolon (this helps certain tools to parse our code better) svn-id: r21689
2006-03-09Added new method DetectedGame::updateDesc, to ease generation of uniform ↵Max Horn
description strings svn-id: r21166
2006-03-09- Renamed GameSettings to PlainGameDescriptorMax Horn
- 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- added new toDetectedGame() template function (analog to toGameSettings)Max Horn
- made use of the new DetectedGame constructor from my last commit - some related cleanup svn-id: r21149
2006-03-08Added alternate DetectedGame constructor, to make it possible to add games ↵Max Horn
to a detection list w/o first creating a temporary GameSettings struct svn-id: r21144
2006-02-18- renamed PLUGIN_getSupportedGames to PLUGIN_gameIDList for consistencyMax Horn
- 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-11Change CVS keywords to SVN keywordsMax Horn
svn-id: r20509
2006-01-18Update copyright noticeEugene Sandulenko
svn-id: r20088
2005-11-19Tried to unify plugin code for PalmOS and non-PalmOS (hopefully I didn't ↵Max Horn
break the PalmOS code this way, please verify) svn-id: r19670
2005-10-18Update FSF address. Eek. Actually that took place on May 1, 2005Eugene Sandulenko
svn-id: r19142
2005-10-08PalmOS stuffsChris Apers
svn-id: r18977
2005-09-04Prepare PalmOS ARM version : no global initializers with ARM loader o_OChris Apers
svn-id: r18773
2005-07-30Remove trailing whitespaces.Eugene Sandulenko
svn-id: r18604
2005-06-05added code for loading dynamic plugins(DLLs) for windowsPaweł Kołodziejski
svn-id: r18356
2005-04-05Initial checking of Gob engineEugene Sandulenko
svn-id: r17388
2005-03-25Patch #1117443 (Experimental plugin code revision)Max Horn
svn-id: r17231
2005-01-06Modify the singleton code once more to help overcome an issue with MSVC 7 ↵Max Horn
(see also patch #1095133) svn-id: r16454
2005-01-01Changed the singleton code to allow for custom object factories; this ↵Max Horn
allowed me to change OSystem to use the singleton base class, too svn-id: r16404
2005-01-01Updated copyrightMax Horn
svn-id: r16398
2004-08-29Provide unloading of unneeded plugins.Marcus Comstedt
svn-id: r14829
2004-05-09removed awe based on Endy statementPaweł Kołodziejski
svn-id: r13809
2004-05-05adding initial code for Another World enginePaweł Kołodziejski
svn-id: r13783
2004-04-09Renamed template class 'List' to 'Array', since that is really what it is (a ↵Max Horn
resizable array, not a linked list) svn-id: r13520
2004-04-09Add Kyrandia baseJames Brown
svn-id: r13516
2004-03-14Initial SAGA checkin. Disabled by default, enable with --enable-sagaEugene Sandulenko
but don't expect it to work. svn-id: r13280
2004-01-06updated copyright noticeMax Horn
svn-id: r12176
2003-12-21Make it possible for game detection functions to detect language/platform ↵Max Horn
(not yet done by any detector, but will come with the MD5 detection code) svn-id: r11811
2003-12-16Broken Sword 1: initial importRobert Göffringmann
svn-id: r11664
2003-11-07spelling fixesJonathan Gray
svn-id: r11178
2003-10-20fix compile when using dynamic plugin supportOliver Kiehl
svn-id: r10920
2003-10-17moved game detection code out to the pluginsMax Horn
svn-id: r10882
2003-10-17factored out the game detection code into the Plugin class; this is the ↵Max Horn
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-16cleanupMax Horn
svn-id: r10839
2003-10-12some renaming for more consistent terminology (although we might want to ↵Max Horn
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-11Patch around another MSVC6 quirkJamieson Christian
svn-id: r10735
2003-10-10Hmm, that wasn't the problem after all. ApparentlyJamieson Christian
MSVC6 doesn't like the "using" keyword and consequently got confused by the namespaces. svn-id: r10726
2003-10-10Public constructor/destructor, for the sake of Singleton<>.Jamieson Christian
Sorry, MSVC6 doesn't seem to properly deal with the line friend class Singleton<PluginManager>; svn-id: r10723
2003-10-08turned PluginManager into a proper singletonMax Horn
svn-id: r10688
2003-10-02renamed namespace ScummVM to CommonMax Horn
svn-id: r10544
2003-09-18added initial support for building our 4 adventure engines as loadable ↵Max Horn
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-17new module 'base'; moved gameDetector.*, main.cpp and base/plugins.* there ↵Max Horn
(this removes the need for an ugly hack in the build system, and is also conceptionally cleaner) svn-id: r10282