DOTT: support for Maniac Mansion on Ed's computer
|Reported by:||SF/tobigun||Owned by:||sev-|
|Game:||Day of the Tentacle|
This is a proposal for support of Maniac Mansion in DOTT. At the moment if Ed's computer is started only a pop-up will show up that informs the user that Maniac Maniac is unsupported so far.
The patch adds a new feature to the config-manager that allows to queue launcher entries.
This feature is used in DOTT's startManiac() method as follows:
1. Maniac Mansion is enqueued in the launcher queue
2. DOTT is enqueued in the launcher queue with the current savestate and all transient options that are currently set
3. DOTT quits itself
4. as there are entries in the launcher queue, ScummVM does not terminate but dequeues the next launcher entry from the queue and starts it (in this case MM)
5. When the user quits MM ScummVM still does not terminate as the DOTT entry is in the queue. The entry is dequeued and started (with the savestate passed in the "save_slot" transient option)
The patch does not auto-detect MM, instead the first launcher entry with gameid "maniac" is used. If no entry exists, a message box with a short instruction of how to add MM to the launcher (similar to the message before) is displayed.
Ticket imported from: #2911342. Ticket imported from: patches/1226.