[Scummvm-devel] Changes to plugins and config manager

Eugene Sandulenko sev at scummvm.org
Tue Jan 4 13:43:06 CET 2011


On Tue, 4 Jan 2011 12:50:12 +0200
yotam barnoy <yotambarnoy at gmail.com> wrote:
> To allow writing the entries in the ConfigManager, I had to create
> another domain called plugin_files. The reason for this is that a) I
> didn't want to clutter the AppDomain with strange entries, and b) I
> also didn't have access to the game domain since I only had the gameid
> to work with. To enable this new domain, I made some changes to
> ConfigManager. From now on, every game domain must have a gameid key.
> A domain that doesn't have a gameid key will be considered a
> miscellaneous domain (miscDomain) when loading from the ini file. It
> will still be available from getDomain() and all normal operations,
> but it won't be included in operations that run on gameDomains only
> ie. hasGameDomain() and getGameDomains().
This part was not really clear to me. Could you please provide a sample
scummvm.ini with plugin detection entries?


Eugene




More information about the Scummvm-devel mailing list