112 Commits

Author SHA1 Message Date
Jordi Vilalta Prat
e3852c92a7 Remove undesired spaces and an old TODO
svn-id: r30827
2008-02-08 01:45:46 +00:00
Jordi Vilalta Prat
00987db3a9 Implemented plugin versioning
svn-id: r30826
2008-02-08 01:02:25 +00:00
Jordi Vilalta Prat
c103290e2b Initial support for plugin types
svn-id: r30825
2008-02-08 00:02:23 +00:00
Jordi Vilalta Prat
e4ab5dd339 Change MetaEngine references to PluginObject where possible to make its semantics more generic.
svn-id: r30789
2008-02-04 18:38:22 +00:00
Max Horn
3cd1e60e7a Moved common code from Plugin subclasses to class Plugin itself
svn-id: r30787
2008-02-04 13:14:52 +00:00
Max Horn
5fb7f7a4d6 Commited updated version of my own patch #1868402: Basic savestate plugin API
svn-id: r30786
2008-02-04 10:15:21 +00:00
Max Horn
8a73356a2d Revised Engine plugin API to only provide a single func which returns a MetaEngine instance. Used this to simplify the rest of the plugin system
svn-id: r30780
2008-02-03 18:56:47 +00:00
Max Horn
5dfabb24d0 Moved enum PluginError from base/plugins.h to common/error.h
svn-id: r30723
2008-02-01 23:36:45 +00:00
Max Horn
0ec8d35e4d Revert accidental commits in rev 30372
svn-id: r30374
2008-01-10 12:00:10 +00:00
Max Horn
7ed64488a8 Removed obsolete FIXME
svn-id: r30372
2008-01-10 11:29:29 +00:00
Gregory Montoir
6c6e8657b6 added 'igor' engine for the game 'Igor: Objective Uikokahonia'
svn-id: r29318
2007-10-29 23:35:50 +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
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
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
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
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