[Scummvm-devel] Game enhancements

Max Horn max at quendi.de
Fri Nov 5 10:50:23 CET 2010


Am 05.11.2010 um 10:40 schrieb Max Horn:

> 
> Am 05.11.2010 um 08:58 schrieb yotam barnoy:
> 
>> If we're discussing dynamic game options in the GUI, we may also want
>> to discuss dynamic backend options. Different backends have options
>> that need to be set, and we only want to show the options for the
>> current backend. I think we may want to solve these 2 problems at the
>> same time.
> 
> Sure. We have had this on our TODO for a long time, too. People are welcome to work on that.
> 
> However, I think some planning would be due for this. To e.g. avoid introducing regressions, esp. in 320x200 mode. So that we avoid crashes like bug #3103351 caused by the new GUI option Filippos added. :)

Ooops, re-reading what I wrote (I should have done that before pressing "send"), this does not convey what I want to say.

First off, little regressions like that always can happen -- I merely wanted to stress that GUI changes need to be tested carefully with all kinds of scaler / aspect ratio combinations.

Moreover, though, when adding new GUI elements, we should adjust SCUMMVM_THEME_VERSION_STR to avoid people accidentally using outdated theme files with their current ScummVM version. We've neglected that in the past a log, sadly; this would now be a good time to update that string, and keep updating it in the future.

Lastly, the thing that we should *design* about the new engine/backends custom option is how engines/backends would signal what options to add, and where. Obviously, hard coding a long list would be possible, but undesirable.

For the backends, a new OSystem APPI comes to mind as a possible way, which somehow would be allowed to insert extra items on a dedicated tab in the global options dialog. What I don't know right now is how to make this play nice with the theme code, though...

For engines, the MetaEngine class seems to be the right place, as it is available from the launcher.


Bye,
Max



More information about the Scummvm-devel mailing list