95095 Commits

Author SHA1 Message Date
Paul Gilbert
1c5cbbb186 QUEEN: Remove autosave code 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
a2a8229abe ENGINES: Do an autosave before loading a new game
Unfortunately, this will only apply to new engines that
use the Engine::loadGameState method. Other existing engines call
loadGameState directly and provide their own implementations,
so there's nowhere convenient to add the call that'd work for
all of them
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
429cfd1cad KYRA: Remove autosave code 2020-02-16 15:44:28 -08:00
Paul Gilbert
b1197cf26b COMPOSER: Remove autosave code 2020-02-16 15:44:28 -08:00
Paul Gilbert
128bd50051 AGI: Remove autosave code 2020-02-16 15:44:28 -08:00
Paul Gilbert
af265a12ac GRIFFON: Remove autosave code 2020-02-16 15:44:28 -08:00
Paul Gilbert
30d34fa63d ENGINES: Implement autosaving in the Engine base class 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
Le Philousophe
1bc068decd CRYOMNI3D: Fix Coverity warnings
- Add initializations to constructors
- Use correct variable
- Fix unintended sign extension because of int promotion
- Use camelCase for variable names
2020-02-16 20:20:46 +01:00
Le Philousophe
41e1dc00be Fix building when selected engines don't have their own debugger
In this case, the linker optimizes out Debugger which get required
later by Engine due to @dreammaster rework. Building with all engines
prevents optimization because several engines subclass Debugger and they
are included before gui.a in linker command line
2020-02-16 17:54:36 +02:00
Bastien Bouclet
e069f25e3a KEYMAPPER: Remove the debugger standard action
It is no longer used
2020-02-16 15:35:46 +01:00
Bastien Bouclet
06e6176285 PEGASUS: Remove the debugger keymapper action
Opening the debugger is now in the global keymap.
2020-02-16 15:35:31 +01: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
Eugene Sandulenko
988daefade GRAPHICS: MACGUI: Parse slant in extra fonts too 2020-02-16 15:53:19 +02:00
Eugene Sandulenko
8df4d8a339 GRAPHICS: MACGUI: Proper processing of font slant names 2020-02-16 15:53:19 +02:00
Eugene Sandulenko
0f3b188205 GRAPHICS: MACGUI: Fix double Geneva font ids 2020-02-16 15:53:19 +02:00
NMIError
c646bda078 KYRA: Add debug level to GS drumkit log message 2020-02-16 13:33:45 +02:00
NMIError
3628986b6d KYRA: Add debug message for GS drumkits 2020-02-16 13:33:45 +02:00
NMIError
18acefa6d2 KYRA: Apply correction for invalid GS drumkits
Lands of Lore sends several drumkit changes to Roland GS
devices with incorrect drumkit numbers. This would work
on some earlier devices like the SC-55, because they correct
these invalid selections. This change emulates the
corrections of the SC-55, so that the drumkit changes will
work on later Roland GS devices.
2020-02-16 13:33:45 +02:00
NMIError
b2468d9442 SCI/MIDI: GS drumkits - comments and re-usability
- Move the GS drumkit fallback map to generic audio code for re-use
- Added comments and debug message
2020-02-16 13:33:45 +02:00
NMIError
65f85a232d SCI: Add support for Roland GS drumkits
This adds support for the Roland GS drumkits used by SQ5 and QfG3.
The original Sierra GM driver does not pass the drumkit select MIDI
messages to the GM device, but they do exist in the MIDI data.

Another issue is that the drumkit numbers used are incorrect. This
does work on the original Roland SC-55 devices because they correct
the drumkit numbers. Later devices do not do this. Code has been
added to correct these wrong drumkit numbers.
2020-02-16 13:33:45 +02:00
Le Philousophe
b5bd7f4bee CRYOMNI3D: Fix two Coverity issues
- memory leak in loadHLZ when file couldn't be opened (CID 1401735)
- use of out of scope reference (nullptr) when script couldn't be found
    (CID 1401734)
2020-02-16 12:32:38 +01:00
Paul Gilbert
ba147f5ad5 SCI: Refactor to use Engine debugger 2020-02-16 13:07:19 +02:00
Paul Gilbert
818d9bab27 ENGINES: Change debugger trigger to Ctrl+Alt+D using keymapper 2020-02-16 13:07:19 +02:00
Paul Gilbert
b76b6d0e41 NEWS: Add line for error display in debugger 2020-02-16 13:07:19 +02:00
Paul Gilbert
98f9c4f254 ENGINES: Create a default debugger when needed if none is yet set 2020-02-16 13:07:19 +02:00
Paul Gilbert
73f17c2ae0 MUTATIONOFJB: Refactor to use Engine debugger 2020-02-16 13:07:19 +02:00
Paul Gilbert
0d0191fb44 SWORD25: Refactor to use Engine debugger 2020-02-16 13:07:19 +02:00
Paul Gilbert
03ca59c17d MOHAWK: Refactor to use Engine debugger 2020-02-16 13:07:19 +02:00
Paul Gilbert
c44a028ae7 ZVISION: Refactor to use Engine debugger 2020-02-16 13:07:19 +02:00
Paul Gilbert
528d62930a XEEN: Refactor to use Engine debugger 2020-02-16 13:07:19 +02:00
Paul Gilbert
848cb075f3 WINTERMUTE: Refactor to use Engine debugger 2020-02-16 13:07:19 +02:00
Paul Gilbert
813226095a WAGE: Refactor to use Engine debugger 2020-02-16 13:07:19 +02:00
Paul Gilbert
11dd04aa6b VOYEUR: Refactor to use Engine debugger 2020-02-16 13:07:19 +02:00
Paul Gilbert
c811d4c658 ULTIMA: Refactor to use Engine debugger 2020-02-16 13:07:19 +02:00
Paul Gilbert
85b469ff5d TUCKER: Refactor to use Engine debugger 2020-02-16 13:07:19 +02:00
Paul Gilbert
0107aace67 TSAGE: Refactor to use Engine debugger 2020-02-16 13:07:19 +02:00
Paul Gilbert
6b096f3a9f TOUCHE: Refactor to use Engine debugger 2020-02-16 13:07:19 +02:00
Paul Gilbert
ed71bef83b TOON: Refactor to use Engine debugger 2020-02-16 13:07:19 +02:00
Paul Gilbert
5a18e495e0 TONY: Refactor to use Engine debugger 2020-02-16 13:07:19 +02:00
Paul Gilbert
b97f66ba17 TOLTECS: Refactor to use Engine debugger 2020-02-16 13:07:19 +02:00
Paul Gilbert
7f90c4e961 TITANIC: Refactor to use Engine debugger 2020-02-16 13:07:19 +02:00
Paul Gilbert
17dc909e2c TINSEL: Refactor to use Engine debugger 2020-02-16 13:07:19 +02:00
Paul Gilbert
7d57569dd7 TEENAGENT: Refactor to use Engine debugger 2020-02-16 13:07:19 +02:00
Paul Gilbert
0d0ea44c31 SWORD2: Refactor to use Engine debugger 2020-02-16 13:07:19 +02:00
Paul Gilbert
46a1f92ef6 SWORD1: Refactor to use Engine debugger 2020-02-16 13:07:19 +02:00
Paul Gilbert
3da28a4c25 SUPERNOVA: Refactor to use Engine debugger 2020-02-16 13:07:19 +02:00
Paul Gilbert
bd381ae8d0 STARTREK: Refactor to use Engine debugger 2020-02-16 13:07:19 +02:00