Commit Graph

122074 Commits

Author SHA1 Message Date
djsrv
909595176a COMMON: Use Path type in MacResManager functions 2021-08-07 10:44:37 +02:00
djsrv
48ce80a32c AGS: Fix String -> Path conversions 2021-08-07 10:44:37 +02:00
djsrv
0d65c2fd12 ALL: Use Path type in File functions 2021-08-07 10:44:37 +02:00
djsrv
7eb4841065 ALL: Use Path type in Archive functions 2021-08-07 10:44:37 +02:00
djsrv
0db0b2c201 COMMON: Create Path type 2021-08-07 10:44:37 +02:00
a/
5a7eb68905 SAGA2: Fix for out-of-bounds intersect 2021-08-07 11:59:38 +09:00
a/
13310e555e SAGA2: Fix stillDoingVoice 2021-08-07 08:21:00 +09:00
a/
86108fbd9e SAGA2: Implement play voice command 2021-08-07 08:00:12 +09:00
a/
45945c989b SAGA2: Fix interval between sound samples 2021-08-07 07:54:46 +09:00
Eugene Sandulenko
60c79db522
DIRECTOR: Reworked --startup-movie processing. Now the options order is arbitrary 2021-08-07 00:02:01 +02:00
athrxx
7b6015bbe1 KYRA: (EOB/SegaCD) - fix text background color glitch 2021-08-06 23:32:47 +02:00
Coen Rampen
ad41e96403 SAGA2: Fix MIDI driver type detection
This fixes a small omission in the MIDI driver type detection where it would
not look at the Native MT-32 setting to set MT-32 type on a MIDI device.
2021-08-06 22:37:56 +02:00
Coen Rampen
af75c433e0 SAGA: Fix MIDI driver type detection
This fixes a small omission in the MIDI driver type detection where it would
not look at the Native MT-32 setting to set MT-32 type on a MIDI device.
2021-08-06 22:37:46 +02:00
Coen Rampen
d65edaa6b3 AUDIO/MIDI: Fix Miles default source volume
The default source neutral volume for the Miles MIDI driver is set at 256.
However, the default source volume was the same as that of the regular MT-32/GM
driver: 255. This would cause a small volume decrease if a game did not set
source volume.

This commit fixes this issue by setting the default source volume for the Miles
MIDI driver at 256.
2021-08-06 21:01:09 +02:00
Coen Rampen
54663b953a AUDIO/MIDI: Fix Miles AdLib initialization
The ScummVM Miles AdLib driver would write some different initialization values
to the OPL registers than the original Miles drivers did. The most significant
difference was the amplitude and vibrato depth.

This commit changes the Miles AdLib driver to set the same values as the
original drivers. It also adds support for initializing a dual OPL2
configuration.
2021-08-06 21:01:09 +02:00
Coen Rampen
d73b19b9b3 AUDIO/MIDI: Fix Miles 3 AdLib pitch bend range
Miles 2 uses the default MT-32 pitch bend range of 12 semitones for its AdLib
driver. Miles 3 switched to the default GM pitch bend range of 2 semitones for
AdLib. ScummVM would always use the Miles 2 pitch bend range, which caused
pitch bend for Miles 3 games to sound wrong on AdLib.

To fix this, a property was added to the Miles AdLib driver to specify which
Miles version to emulate. Depending on the value of this option, the correct
default pitch bend range is set.
2021-08-06 21:01:08 +02:00
Orgad Shaneh
c0c5330986 CONFIGURE: Suppress output of a52 test app
a52_init() unconditionally calls a52_imdct_init(), which prints "No
accelerated IMDCT transform found". This interferes with the normals
configure output, which looks like this:

Checking for liba52... No accelerated IMDCT transform found
yes
2021-08-06 19:25:31 +03:00
sluicebox
7fab586735 SCI: Update LB1 armor-oiling script patch
Simplifies the patch and updates the comments
2021-08-06 11:08:42 -05:00
djsrv
c66e415408 DIRECTOR: LINGO: Process timeout events in score scripts 2021-08-06 11:09:53 -04:00
djsrv
bae70bf784 DIRECTOR: Fix where timeout events are handled 2021-08-06 11:09:50 -04:00
athrxx
ecd02afeda SCUMM: minor v1-3 walk code cleanup 2021-08-06 16:13:07 +02:00
ysj1173886760
0d32674049 DIRECTOR: fix the implementation of loading startup scripts. 2021-08-06 21:35:12 +08:00
athrxx
3c69292a66 SCUMM: fix Actor_v2 initActor regession 2021-08-06 15:25:31 +02:00
athrxx
3218092187 SCUMM: some walking code cleanup
(move more code from Actor to Actor_v3 and generally try to cleanup the mess I created over time)
2021-08-06 15:22:33 +02:00
djsrv
40c8ab4724 GRAPHICS: MACGUI: Fix registering font to preferred ID 2021-08-06 08:56:32 -04:00
ysj1173886760
ce7cdd11b8 DIRECTOR: use comma to split the parameter of start-movie. implement loading startup movie. 2021-08-06 20:44:02 +08:00
Andrea Boscarino
886e6d83e6
SCUMM: COMI: Disable saving/loading during SMUSH videos (#3241) 2021-08-06 14:58:04 +03:00
Eugene Sandulenko
8892902c8f
DEVTOOLS: COMPANION: Keep the original filename encoding in MacBinary 2021-08-06 13:29:06 +02:00
a/
3b691de5ca SAGA2: Fix Actor loading debug messages 2021-08-06 18:44:57 +09:00
a/
c8bd76084d SAGA2: Fix leader initialization on loadActors 2021-08-06 18:44:57 +09:00
a/
8347351b13 SAGA2: Use CHUNK macros in saveBands 2021-08-06 18:44:57 +09:00
ysj1173886760
57bac4ff9a DIRECTOR: fix processing timeOut related events 2021-08-06 17:01:07 +08:00
ysj1173886760
e24d00a81b DIRECTOR: implement handling timeOut related values. 2021-08-06 16:44:07 +08:00
ysj1173886760
5466511dce DIRECTOR: implement handling timeOut event 2021-08-06 16:44:07 +08:00
ysj1173886760
63f72c5963 DIRECTOR: implement set the timeOutLength 2021-08-06 16:44:07 +08:00
ysj1173886760
a1b9d60dde DIRECTOR: introduce lastTimeOut and implement get the timeOutLapsed 2021-08-06 16:44:07 +08:00
Fiodar
bcc7b05b41
SYMBIAN: Implement openUrl() method. (#3236) 2021-08-06 11:25:30 +03:00
Le Philousophe
c8343480d7 WAGE: Fix compilation with Mac cursor management cleanup
93f585c524 has removed pushArrowCursor
2021-08-06 09:05:38 +02:00
djsrv
421c8471ad DIRECTOR: Always playSoundChannel in renderFrame 2021-08-06 01:12:04 -04:00
djsrv
2cc0ad6e0c DIRECTOR: LINGO: Update cursor in updateStage 2021-08-06 01:11:57 -04:00
djsrv
19dab8f130 DIRECTOR: Set cursors per-movie, not globally 2021-08-06 01:11:49 -04:00
djsrv
1e61684570 GRAPHICS: MACGUI: Add replaceCustomCursor 2021-08-06 01:11:39 -04:00
djsrv
93f585c524 GRAPHICS: MACGUI: Clean up cursor management
Cursor types are now stored in a stack. Pushes and pops to the cursor
stack, cursor palette stack, and cursor type stack are now fully
synchronized.
2021-08-06 01:11:30 -04:00
D G Turner
4968e0206f ADL: Remove C++-11 flag From Engine
This is not required as this engine does not use any C++-11 specific
code and thus will build fine with C++-98.
2021-08-06 05:28:39 +01:00
Paul Gilbert
0dd0e436b2 AGS: Second try at String AppendFmt GCC_PRINTF 2021-08-05 20:35:33 -07:00
Paul Gilbert
10e1b4a4ec AGS: Add German language to German Gemini Rue detection 2021-08-05 20:35:33 -07:00
a/
59dcd4090f SAGA2: Move _nextMT to MotionTaskList 2021-08-06 09:27:13 +09:00
a/
8def0618c6 SAGA2: Fix ActiveItem hashmap 2021-08-06 09:27:13 +09:00
athrxx
c4678c993f SCUMM: split Actor::calcMovementFactor() into separate functions for SCUMM1-3 and SCUMM4+.
(The code has diverged so much, it makes sense to make use of the already existing sub class here)
2021-08-06 01:00:57 +02:00
athrxx
5a94f51eab SCUMM: (v1/2) - fix actor move flags
(final fix for ticket no. 3215 ("SCUMM: Zak McKracken - intro behavior + movement")

The ticket has been closed a couple weeks ago, since a user claimed that the intro was fully fixed. And it mostly was. Except one little thing about the movement of the floating hat which, after chasing Zak, would return to the left of the screen one step to early.

Turns out that o2_waitForActor() got triggered one step to early, because we didn't set the final MF_TURN flag...
2021-08-06 01:00:15 +02:00