[Scummvm-devel] Another plugin question
Johannes Schickel
lordhoto at gmail.com
Wed Sep 9 19:22:58 CEST 2009
>
> The other alternative that has been floated here in the past is to
> separate the detection code from the rest of the plugin, i.e., have
> some kind of two tier plugin system: For each engine, have one small
> plugin which only has the detection code, and one big plugin that has
> the full engine. That solves the above mentioned memory issue, but of
> course complicates the build process and plugin management. But at
> least it should be transparent to the engine if done properly.
>
Sure it would be transparent to the engine? Just wondering about the
SCI fallback (or maybe soon the normal) detection code, which relies
on some engine code (AFAIK). For that to be working with separated
plugins it would be required to either have some code compiled in both
the detection plugin and the engine plugin OR always load both plugins
for detection, which would be more or less the same as just a plugin
including detection and engine itself.
Of course one might say now, that relying on engine code in the
detection might not be proper ;-).
// Johannes
More information about the Scummvm-devel
mailing list