Commit Graph

95679 Commits

Author SHA1 Message Date
Thierry Crozat
8eac9606bc MACOSX: Check selector exists when trying to replace application menus
In particular it has been reported that setHelpMenu was introduced in
MacOS X 10.6. So hopefully this change will fix running ScummVM on
MacOS X 10.5 or older.

This might fix bug #11260: MAC OS X: App incomplete when launched on
OS X 10.5.8.
2020-03-22 20:36:35 +00:00
Matthew Duggan
a5953a4945 ULTIMA8: Make ShapeFrame references const. 2020-03-22 20:47:52 +02:00
SupSuper
897efb1454 POSIX: Add support for native GTK file browserOnly enabled on platforms with libgtk 2020-03-22 20:46:42 +02:00
SupSuper
a4d44e3de9 BACKENDS: Move shared DialogManager code to common
All backends need to flush events and window when opening a dialog
2020-03-22 20:46:42 +02:00
Eugene Sandulenko
80f1132e22 GRAPHICS: FONTS: Fix Mac outline font generation 2020-03-22 18:08:30 +01:00
Eugene Sandulenko
4193097f3f GRAPHICS: MACGUI: Draw text styles in MacMenu 2020-03-22 17:59:19 +01:00
Eugene Sandulenko
930cf4df03 GRAPHICS: Generate Mac outline fonts 2020-03-22 17:41:21 +01:00
Eugene Sandulenko
39ad4d4e02 GRAPHICS: MACGUI: Request outline fonts generation 2020-03-22 17:40:59 +01:00
Eugene Sandulenko
6774d7aced GRAPHICS: MACGUI: Initial code for generating outlined fonts 2020-03-22 01:39:29 +01:00
Walter Agazzi
7dbe6cf110 I18N: Update translation (Italian)
Currently translated at 100.0% (1360 of 1360 strings)
2020-03-21 22:15:04 +00:00
George Kormendi
0e42e75586 I18N: Update translation (Hungarian)
Currently translated at 100.0% (1360 of 1360 strings)
2020-03-21 22:15:03 +00:00
IlDucci
881af5caa6 I18N: Update translation (Spanish)
Currently translated at 100.0% (1360 of 1360 strings)
2020-03-21 22:15:02 +00:00
Lothar Serra Mari
153bfbc386 I18N: Update translation (German)
Currently translated at 98.3% (1338 of 1360 strings)
2020-03-21 22:15:01 +00:00
Matthew Duggan
ea31e3d822 ULTIMA8: Use ScummVM PixelFormat struct 2020-03-21 14:47:03 -07:00
Matthew Duggan
619aa02273 ULTIMA8: Add short fade in/out around menu items to match original game 2020-03-21 14:34:28 -07:00
Filippos Karapetis
41e1053898 SCI: Stop any currently playing audio when loading. Fixes bug #9953.
Loading is not normally allowed while audio is being played in SCI games.
Stopping sounds is needed in ScummVM, as the player may load via
Control-F5 at any point, even while a sound is playing.
2020-03-21 18:35:27 +02:00
Filippos Karapetis
41dbcb6e64 SCI: Remove dead code 2020-03-21 18:35:27 +02:00
Scott Percival
4a5d11bcba DIRECTOR: When loading cast strings, only skip first byte for name 2020-03-22 00:09:07 +08:00
Scott Percival
59d6c5e5fd DIRECTOR: Fix audio lifetime, implement b_puppetSound 2020-03-21 23:40:13 +08:00
Scott Percival
3382e3e965 DIRECTOR: LINGO: Add helper for fetching cast ID from a Datum 2020-03-21 23:37:50 +08:00
Scott Percival
e68f7eebab DIRECTOR: Fix loading cast names with 13 letters 2020-03-21 23:37:50 +08:00
Scott Percival
d36d0473d9 DIRECTOR: Implement loading for SND data 2020-03-21 23:37:50 +08:00
Roland van Laar
124b9ecc31 DIRECTOR: transformColor in non _vm places
- future proofing transformColor by using an uint32 instead of a byte
- handling cases where there is no reference to _vm by using
g_director->.
2020-03-21 14:45:08 +01:00
Roland van Laar
6bfcb9197d DIRECTOR: implement transformColor function
The palettes are reversed by default. This is useful when rendering
sprites, as they use reversed ids as well.
When a color is read directly as an int, it is in the original
unreversed order.
So, reverse it by hand when it's coming from lingo or other sources.
This was done in multiple places by subtracting the color id from 255.
The function transformColor handles this now.

Reversing the color means: 255 - color_id.
2020-03-21 14:35:17 +01:00
Roland van Laar
666d4dc783 DIRECTOR: fix spelling: evetns -> events 2020-03-21 11:39:19 +01:00
Lothar Serra Mari
99c2e23b13 I18N: Rebuild translations.dat 2020-03-21 09:04:29 +01:00
Lothar Serra Mari
e2aa2a3a17 I18N: Update translation files from source 2020-03-21 09:04:12 +01:00
Rafał Będźkowski
dbc77ca242 I18N: Update translation (Polish)
Currently translated at 63.6% (856 of 1344 strings)
2020-03-21 05:15:00 +00:00
SupSuper
22943ee368 NETWORKING: Fix delete instead of free 2020-03-20 16:02:16 +00:00
Eric Fry
21778dcb80 DRAGONS: Added power meters to thumb wrestling mini game 2020-03-20 23:16:57 +11:00
athrxx
5991e8cc07 AUDIO: fix compiler warning
(also remove translation for debug message, since we don't translate this kind of output)
2020-03-20 00:27:52 +01:00
Eric Fry
aaaea78b3b DRAGONS: Added map screen transition effects
Fixed overrun bug with loading screen flames
2020-03-19 23:30:42 +11:00
Thanasis Antoniou
76bc50aa95 BLADERUNNER: Fix McCoy reporting twice Lucy's VK result
When she is Replicant
2020-03-18 22:13:31 +02: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
047545cc1b KEYMAPPER: Fix Missing Default Switch Case
These are flagged by GCC if -Wswitch-default is enabled.
2020-03-17 13:33:12 +00: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
Filippos Karapetis
f25ffc2eea SCI32: Add a sanity check for array structures in kFileIOReadRaw 2020-03-17 09:36:38 +02:00
Zvika Haramaty
0b747dba48 SCI: fix #9907 by choosing queued sound with highest priority 2020-03-17 09:34:45 +02:00
Bastien Bouclet
16d0687b66 SWITCH: Use ScummVM file buffering instead of newlib's implementation
Fixes #11384.
2020-03-16 14:53:09 -05:00
Bastien Bouclet
9cc2fee887 SDL: Enable joystick input by default
Game controller input is now enabled whenever a compatible device is
connected. The keymapper's keymaps are refreshed when a joystick is added
or removed.

Fixes #10366.
2020-03-16 18:41:27 +01:00
Eugene Sandulenko
4428ecb349 CONFIGURE: Move saved flags to beginning of config.mk
This lets easier lookup during the development.
2020-03-16 09:22:01 +01:00
Filippos Karapetis
7a68ee57b1 SCI: Always include the opcodeNames table, as it's used in VM hooks 2020-03-16 01:58:34 +02:00
Filippos Karapetis
121fb4798b MIDI: Added sysEx function to Miles MT-32 driver
The Miles MT-32 MIDI driver extends MidiDriver_BASE, but does not
override its sysEx method, which does nothing by default. This
resulted in a few initialization sysex messages for The 7th Guest
not being sent.

I've added an implementation for this method.

Adapted from 3657db3a7b7bf640edb768f6ffc37df9d5073d22
2020-03-16 01:45:13 +02:00
NMIError
52d5d60907 GROOVIE: Fix 7th Guest GM initialization
The 7th Guest initializes GM devices during the "loading GM drivers"
screen, which is a normal video that plays "audio" that consists of
initialization messages (mostly Roland GS sysexes). The original
interpreter plays this video twice, which is enough time to play the
entire INI_SC.XMI initialization file. ScummVM apparently plays video
a bit faster, and there is not enough time to play the entire init
file. Because of this GM initialization is incomplete.

I've fixed this by making the init video loop until the audio has
finished playing.

Note: I have only tested this with the original DOS version of the
game. I don't know if the file reference I've used to identify the
GM init video is the same on other platforms. If not, this change
might not work and/or have unintended results.
2020-03-16 01:40:10 +02:00
NMIError
e11d408f0a GROOVIE: Add Roland GS invalid drumkit correction
The GM music for The 7th Guest contains several drumkit selection
messages which use an incorrect drumkit number. This relied on a
correction mechanism of the Roland SC-55, which would correct these
numbers to valid selections. This mechanism was not present in later
GS and GM devices, causing error messages and wrong drumkits.

I've fixed this by adding code which simulates the correction
mechanism of the SC-55.
2020-03-16 01:40:10 +02:00
NMIError
a7082b15fa GROOVIE: Send GS SysEx messages
The 7th Guest sends several SysEx messages for Roland GS devices during
startup. ScummVM did not send these messages.

The Groovie MusicPlayerMidi class encapsulates the MidiDriver which is
actually used for sending MIDI events. However, it did not implement the
sysEx method, so the empty implementation of MidiDriver_BASE was used.
I've added a sysEx method which forwards the messages to the actual
MidiDriver.
2020-03-16 01:40:10 +02:00
Cameron Cawley
d205578d4d SDL: Add a separate function for setting the hardware size 2020-03-16 01:30:05 +02:00
Cameron Cawley
3e94325df9 BACKENDS: Allow compiling certain backends for standard Linux platforms 2020-03-16 01:29:20 +02:00
lolbot-iichan
74de2d61bf WINTERMUTE: Add detection and keymap for "Myth: A Guff's Tale"
SOLO DESIGN decided to distribute "Myth: A Guff's Tale" for free since
game's co-creator Phil Argent passed away...
Download it here:
https://www.kartridge.com/games/solodesign/myth-a-guffs-tale
2020-03-16 01:25:48 +02:00