scummvm/scummvm — pull request #209 by bluegr (2012-03-19 01:50:23+00:00)
Title: Per-engine and per-game GUI options (version 4)

This is a continuation of pull request #181, based on the approach taken in pull request #201.

It has not been possible to add the game-specific options for QUEEN. SKY and SWORD2 engines (originally added with the previous approach in commits f676adc, b407ca3 and ab64fed), as these engines do not use AdvancedMetaEngine or GUIO flags.

sev's change in main.cpp hasn't been added yet - i.e. replace this:
const ExtraGuiOptions engineOptions = (*plugin)->getExtraGuiOptions(ConfMan.getActiveDomainName());
with code like this:
ConfMan.get("guioptions", ConfMan.getActiveDomainName());

The other change commented by _sev hasn't been added yet, either:
"As we discussed with LordHoto, the solution would be to put GAMEOPTIONS references into ExtraGuiOption structure."