Changes

Jump to navigation Jump to search

OpenTasks

1,176 bytes added, 14:23, 28 March 2008
If you don't have any of the required games, there are several [http://www.scummvm.org/demos.php demos] available. A 16bit graphics demo example would be the [http://quick.mixnmojo.com/demos/ffcovedemo.zip Freddi5 demo].
== Implement "return to launcher" feature & global "main menu" ==
''Technical Contact'': [[User:Fingolfin|Max Horn]], [[User:JoostP|Joost Peters]]
''Background:''
Presently we have to exit the ScummVM application completely when a users exit a game because mostengines do not clean up memory properly on their exit.In particular, it is not possible to return to thelauncher (short: Rtl) without restarting ScummVM, which is annoying, esp. on systems where "exit" equals "reboot" (e.g.certain gaming consoles). Also, there is no uniform GUI in ScummVM which lets the user Quit/Return to launcher/Set game options. The SCUMM enginehas such a dialog (shown when pressing F5), but most engines have custom dialogs for this, and not all offer everything(like there may be no button for quit, no way to change all game options available in the launcher, etc.)
''The Task:''
The first part concerns the Rtl feature>
What we need is to analyze what's going on there and plug all memory leaks, properly shut down
subsystems like sound, so it will be possible to play more than a single game within one
** In SCUMM, add a "RTL" button to the F5 menu.
Make sure to reuse code when possible and appropriate (e.g. for the quit confirmation dialog). The next part of the task is to implement a "main menu" dialog (using our GUI code, modeled after the one in SCUMM). This dialog would have buttons for "About", "Options", "Quit", "Return to launcher", "Cancel", and should be extensible (so that e.g. the SCUMM main dialog could be a subclass of this, which adds extra buttons for "Save" and "Load"). The "main menu" dialog should be usable from all engines via a shared hotkey (so e.g. you might want to hook it up via the EventManager).As a bonus, make the dialog look cool, e.g. by displaying the ScummVM logo in it.
1,079

edits

Navigation menu