[ scummvm-Patches-1117443 ] Experimental plugin code revision

SourceForge.net noreply at sourceforge.net
Sun Feb 6 20:15:49 CET 2005


Patches item #1117443, was opened at 2005-02-06 20:15
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=1117443&group_id=37116

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Max Horn (fingolfin)
Assigned to: Marcus Comstedt (marcus_c)
Summary: Experimental plugin code revision

Initial Comment:
The attached patch modifies the way plugins (both static and
dynamic are detected):

1) Dynamic plugins now are built in a "plugins/" subdirectory;
ScummVM doesn't hard code a plugin file/path list anymore,
rather, all files in the "plugins/" dir are checked; if the
filename has the right prefix & suffix, we try to load it

2) Static plugins use an old C++ trick to "auto-register". This
is  potentially troublesome, if your C++ compiler / linker is
odd.


It would be nice if this could be tested on non-OSX systems, in
particular:
* on Linux using GC 3.3, 3.2
* on Windows using mingw
* on Windows using MS VC++
* on Dreamcast, which has a custom plugin system
* on anything else, too, of course :-)

For a proper test, you should compile & run ScummVM once in a
normal build, and once with plugins enabled (the latter is only
supported on Linux, FreeBSD, OSX and Dreamcast at this time).


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=1117443&group_id=37116




More information about the Scummvm-tracker mailing list