[Scummvm-devel] Changes to plugins and config manager

Johannes Schickel lordhoto at scummvm.org
Tue Jan 4 15:36:39 CET 2011


On 01/04/2011 11:50 AM, yotam barnoy 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().

On a related matter:

I think the NDS backend always had such a special domain in the game 
domain entires (there's some code in other places, which ignores it as 
game id entry). So since we have such a special domain group now, one 
might want to look into adapting that into using the misc group instead 
of the game group.

// Johannes




More information about the Scummvm-devel mailing list