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
Bastien Bouclet
d810bb7451
MOHAWK: MYST: Fix misuse of OSystem::fillScreen
...
OSystem::fillScreen is documented to only accept values between 0 and
255, and thus cannot be sanely used for hi-color graphics. This is
probably an unfortunate leftover of when hi-color support was added.
Fixes videos playing on a white background on the 3DS.
2019-10-27 20:24:05 +01:00
Bastien Bouclet
ecccefcbec
MOHAWK: Cut down on seeks when opening archives
...
Helps with loading times on systems with slow storage.
2019-10-26 19:18:47 +02:00
Michael Ball
44b607a052
MOHAWK: RIVEN: Modify cursor preloading to resolve crashing on 3DS
...
Common::PEResources being allocated on the stack was causing a stack overflow. ScummVM is configured to have 256kb of stack memory on the 3DS.
2019-10-12 21:47:20 +02:00
Eugene Sandulenko
ed98a96e87
MOHAWK: Add Myst ME as a subengine, and mark 'jpeg' as a required dependency
...
Because our build system does not allow recursive dependencies, inserting
#error for incorrect configuration. For enabling mystme, myst target must
be enabled as well
2019-10-05 19:07:50 +02:00
Cameron Cawley
fe5dddf901
GRAPHICS: Add a version of CursorManager::replaceCursor that accepts a Graphics::Cursor
2019-08-09 23:58:32 +03:00
Filippos Karapetis
f5ed07c3e7
MOHAWK: Fix MSVC warnings
...
Fix assignments to float variables, by adding a float suffix
2019-05-27 14:53:40 +03:00