1486 Commits

Author SHA1 Message Date
Bastien Bouclet
1f5d4d1fdd MOHAWK: RIVEN: Configuration dialog changes
* Unify the custom options dialog (previously accessed through F5), and
  the in-game options dialog accessed through the Global Main Menu.
* Change the default keybinding for F5 to show the GMM for the non-25th
  anniversary editions of the game. This allows easy access to
  the load and save functionality. With the 25th anniversary edition,
  the main menu accessed through ESC should be used instead.
2020-03-28 07:38:39 +01:00
Bastien Bouclet
1be3c3c7c4 MOHAWK: MYST: Configuration dialog changes
* Unify the custom options dialog (previously accessed through F5), the
  engine options tab and the in-game options dialog accessed through the
  Global Main Menu.
* Change the default keybinding for F5 to show the GMM for the non-25th
  anniversary editions of the game. This allows easy access to
  the load and save functionality. With the 25th anniversary edition,
  the main menu accessed through ESC should be used instead.
* Change the Quit button in the Global Main Menu to show the credits
  before quitting. This is to reproduce the original game behavior.
2020-03-28 07:38:39 +01:00
Michael Ball
3b005ac890 MOHAWK: RIVEN: Refresh cursor on mouse-down
This fixes an issue in the 3DS backend where the cursor would not
update until after the transition was complete.
2020-03-18 20:40:32 +01:00
Michael Ball
366793db22 MOHAWK: RIVEN: Optimize image decoding
This mitigates long load times between cards on low-power devices
by streaming from memory. Code courtesy of Bastien Bouclet (bgK).
2020-03-18 20:40:32 +01:00
D G Turner
9712ab0f3d MOHAWK: MYST: Fix Missing Default Switch Case
These are flagged by GCC if -Wswitch-default is enabled.
2020-03-17 13:32:16 +00:00
aviloria
213d2d1cf4 MOHAWK: Add detection for a Mac CD game and demo
Add detection for the Macintosh CD 'La Tartaruga e la Lepre' (The Turtle and the Hare) [Italian, English], and a demo included on it for the game 'Al mare con la Nonna' (Grandma and me)
2020-03-15 08:08:12 +01:00
Bastien Bouclet
3498965e66 MOHAWK: Remove the autosave overwrite check
This check is now performed by the shared autosave code.
2020-02-17 20:01:44 +01:00
Paul Gilbert
c3c0d04d2a MOHAWK: Hook Myst & Riven into SaveStateDescriptor autosave flag 2020-02-16 15:44:28 -08:00
Paul Gilbert
233614a2ff MOHAWK: Re-add missing isAutoSaveAllowed call 2020-02-16 15:44:28 -08:00
Paul Gilbert
9f175c4053 ENGINES: Cleanup of savegame filenames generation
This removes filename methods when it matched the Engine method.
Secondly, ensuring there was an overriden getSaveStateName method
for engines that didn't do the standard target.00x save filenames
2020-02-16 15:44:28 -08:00
Paul Gilbert
d97949857f MOHAWK: Re-add saving autosave for Myst on quit
I haven't figured out a good way to an exit on save for all engines,
so I'm re-adding the save autosave on exit that Myst previously had,
to call the new common Engine autosave method
2020-02-16 15:44:28 -08:00
Paul Gilbert
d35d91e6f6 MOHAWK: Remove autosave code 2020-02-16 15:44:28 -08:00
Paul Gilbert
a00e44ba6c ENGINES: Merge saveGameState virtual methods into a single one 2020-02-16 15:44:28 -08:00
Bastien Bouclet
60ab1dc239 MOHAWK: Remove the debugger keymapper action
Opening the debugger is now in the global keymap.
2020-02-16 15:35:30 +01:00
Paul Gilbert
03ca59c17d MOHAWK: Refactor to use Engine debugger 2020-02-16 13:07:19 +02:00
Bastien Bouclet
cccd6428c0 MOHAWK: Add override keywords 2020-02-09 12:43:15 +01:00
Bastien Bouclet
678c9fd532 MOHAWK: RIVEN: Add script patch for the gallows throne hotspot bug 2020-02-09 07:29:43 +01:00
Bastien Bouclet
b1f95cff9d MOHAWK: RIVEN: Don't accept keyboard actions while the mouse is down
Otherwise the mouse up scripts may execute after a keyboard action
changed the card's state. Affects speedrunners who mash the mouse and
keyboard at the same time.
2020-02-07 18:33:56 +01:00
Eugene Sandulenko
3265068c67 MOHAWK: Added override keywords 2020-02-05 15:56:33 +01:00
Bastien Bouclet
3cd9a9fbf8 MOHAWK: RIVEN: Fix key mappings for look up/down 2020-02-04 09:05:39 +01:00
Eugene Sandulenko
fa8afb37a8 MOHAWK: Added missing override keyword 2020-01-31 13:57:55 +01:00
Bastien Bouclet
5106563c65 MOHAWK: MYST: Add a keymap 2020-01-29 08:51:30 +01:00
Bastien Bouclet
7ecccd3b30 MOHAWK: RIVEN: Add default joystick action mappings 2020-01-29 08:51:29 +01:00
Bastien Bouclet
519b4a57e2 KEYMAPPER: Allow engines to return multiple keymaps
The idea is that keymaps may be situational. A keymap may be always
enabled, while another one may be enabled only during combat..
2020-01-29 08:51:29 +01:00
Bastien Bouclet
426867f4bc KEYMAPPER: Give human readable descriptions to the keymaps 2020-01-29 08:51:29 +01:00
Bastien Bouclet
0995f40677 MOHAWK: RIVEN: Use custom engine actions for event handing 2020-01-29 08:51:29 +01:00
Bastien Bouclet
14663c4790 KEYMAPPER: Make the keymapper mandatory 2020-01-29 08:51:29 +01:00
Filippos Karapetis
684f8de589 MOHAWK: Fix build when the Riven subengine is not enabled 2020-01-27 01:26:35 +02:00
Bastien Bouclet
ee8229dc00 ENGINES: Move keymap initialization to MetaEngine
To be able to access the keymap while the engine is not running.
2020-01-26 23:09:08 +02:00
Bastien Bouclet
19de568e24 KEYMAPPER: Untangle the dependencies between Action and Keymap 2020-01-26 23:09:08 +02:00
Bastien Bouclet
d60190b12e ENGINES: Define default bindings for the existing engine keymaps 2020-01-26 19:07:53 +01:00
Bastien Bouclet
9c0bc2b633 KEYMAPPER: Simplify the way keymaps are enabled and disabled 2020-01-26 19:07:53 +01:00
Bastien Bouclet
ac44469558 KEYMAPPER: Remove the domain class 2020-01-26 19:07:53 +01:00
Bastien Bouclet
e197a75829 KEYMAPPER: Action can generate only a single event 2020-01-26 19:07:53 +01:00
Filippos Karapetis
12145ac50c MOHAWK: RIVEN: Do not call initKeymap() from within the engine
This is meant to be called from the base engine code (base/main.cpp)
2020-01-13 00:42:44 +02:00
Filippos Karapetis
afa23d3378 MOHAWK: RIVEN: Improve keymapper support 2020-01-13 00:42:44 +02:00
Cameron Cawley
5e05f43919 MOHAWK: RIVEN: Add keymapper support 2020-01-13 00:42:44 +02:00
Cameron Cawley
532f382602 MOHAWK: Unify Windows cursor managers 2020-01-11 17:34:12 +02:00
Cameron Cawley
b8e94e1acd COMMON: Rename PEResources::getNameList() to getIDList() 2020-01-11 17:34:12 +02:00
Cameron Cawley
948c555ea6 ALL: Create all instances of NEResources and PEResources using new instead of on the stack
Also adapted WinCursorGroup and MacMenu to reflect this.
2020-01-11 17:34:12 +02:00
Cameron Cawley
4d9ec631f1 MOHAWK: LB: Add a console command to change the cursor 2019-12-31 21:38:45 +02:00
D G Turner
dbd7581c41 MOHAWK: Remove Unused Engine Pointer from Riven Options Dialog
Flagged by GCC -Wunused-private-field
2019-12-14 21:31:44 +00:00
D G Turner
1072fca204 MOHAWK: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
2019-12-02 00:16:10 +00:00
Bastien Bouclet
bc983b82af MOHAWK: MYST: Loop the flyby movies and allow skipping using left click
Fixes #10599.
2019-11-15 19:34:18 +01:00
Bastien Bouclet
09ed67d7f0 MOHAWK: MYST: Use OSystem::fillScreen now it works with all pixel formats 2019-11-10 21:04:29 +01:00
Bastien Bouclet
3d34c3e5c0 MOHAWK: Stop relying on the target to detect the current game
The target is user defined and not may not contain the game name
2019-11-03 11:43:00 +01:00
Bastien Bouclet
9c8bd056d6 ENGINES: Stop using 'single id' 2019-11-03 11:43:00 +01:00
Bastien Bouclet
4b42112721 ENGINES: Add an engine ID to all the engines 2019-11-03 11:43:00 +01:00
Bastien Bouclet
8a02d0efad MOHAWK: MYST: Save the options to ConfMan when the game is not started 2019-10-30 19:54:12 +01:00
Bastien Bouclet
998bd303c6 MOHAWK: RIVEN: Save the options to ConfMan when the game is not started
That way changes made while on the main menu with no game started are
persisted across sessions. When a game is started, the options are saved
to the savegame as previously.
2019-10-29 21:29:47 +01:00