Commit Graph

99285 Commits

Author SHA1 Message Date
NMIError
2f4937bd6d MIDI: Fix XMIDI SysEx Final Data controller
XMIDI defines controllers which allow the MIDI data to send controller changes
that build up SysEx messages. The last SysEx data byte is specified using the
Final Data controller, which should append the final byte to the SysEx message
and send it to the MIDI device. The old implementation did not append the last
byte. Additionally, when increasing the memory address for the SysEx, it did
not take into account that the MIDI bytes are 7 bit.

This commit fixes these issues. This restores a missing data byte in a SySex in
the MIDI initialization of The 7th Guest.
2020-07-25 00:35:47 +02:00
NMIError
dd0090dc7a GROOVIE: Use new Miles MIDI driver functionality
This adds using the updated Miles MIDI driver for GM music and using the driver
for source volume scaling.

This reduces the amount of MIDI volume messages when fading, because they are
now only sent on active MIDI channels and if they are different from the
current channel volume. This fixes problems with hardware MIDI devices like the
MT-32 and SC-55, which have trouble dealing with the high number of messages.
2020-07-25 00:35:47 +02:00
Kari Salminen
580a7e6568 CINE: Fix formatting, string copy and signedness.
Fix code formatting, string copying (strncpy -> strlcpy) and signedness (int -> uint).
2020-07-25 00:33:42 +02:00
Kari Salminen
9c68b62eb9 CINE: Fix clang compilation and DeepCode warning.
Change structure initialization from C++11 style to older style to fix
clang compilation. Add null check to fix DeepCode warning about
possible undefined behaviour.
2020-07-25 00:33:42 +02:00
Kari Salminen
2ca52fc007 CINE: Add support for Operation Stealth.
Add support for Operation Stealth PC 16 and 256 color versions with
AdLib and Roland MT-32 sound. Add support for 20 extended savegames
(Thumbnails, playtime etc) for both Future Wars and Operation Stealth
(20 because it fits on screen using the original save/load interface).

Details:
 - Add versioning to Future Wars and Operation Stealth savegames.
 - Add fade in effect to both Future Wars and Operation Stealth.
 - Add mouse wheel support and keyboard support to moving in menus.
 - Map middle mouse button to pressing both left and right buttons.
 - Make interface more responsive (See manageEvents() and drawFrame()).
 - Amiga versions should be completable but sound may or may not work.
 - Atari ST versions completely untested.

Game options currently supported:
 - Using original save/load interface
 - Using transparent dialog boxes in 16 color scenes (Also for PC)

Console commands currently supported:
 - labyrinthCheat (For cheating in Operation Stealth's labyrinths)
 - disableLabyrinthCheat (Disabling labyrinth cheat)
 - disableHacks (Disabling hacks, useful for testing)
 - enableHacks (Enabling hacks, useful for testing. On by default)
2020-07-25 00:33:42 +02:00
aryanrawlani28
22842d1a88 GUI: RTL: Do not repeatedly print warnings if fribidi is not available
- Previously, if using an RTL-based language and disabled fribidi, console would repeatedly have the same messages spamming.
- Reduce this to only print warning one time.
2020-07-25 00:32:34 +02:00
aryanrawlani28
2a239efa80 GUI: Always mark editable as dirty when press home or end
- Before, the implementation used to fetch this value based on setCaretPos.
- That would return true only if string needed scrolling.
- Thus, the small issue arised that 2 chars would be wobbled together. This commit fixes that.
2020-07-25 00:32:34 +02:00
aryanrawlani28
ed71d58b55 GUI: THEMES: Rebuild default-inbuilt theme for new changes in the rtl widgets. 2020-07-25 00:24:42 +02:00
aryanrawlani28
227a2b5413 GUI: THEMES: Rebuild theme packages to update rtl-widget spacings 2020-07-25 00:24:42 +02:00
aryanrawlani28
56bd98da26 GUI: THEMES: Update graphics files to correctly space rtl-widgets 2020-07-25 00:24:42 +02:00
Thierry Crozat
11015a917b GUI: Add missing space in tooltip 2020-07-24 22:36:27 +01:00
Donovan Watteau
b4519e199c I18N: Update translation (French)
Currently translated at 100.0% (1381 of 1381 strings)
2020-07-24 21:34:37 +00:00
djsrv
a7e9ad9de5 DIRECTOR: LINGO: Use events for menu callbacks 2020-07-24 17:12:43 -04:00
djsrv
14892f7f02 DIRECTOR: LINGO: GlobalScript -> EventScript 2020-07-24 17:12:39 -04:00
Roland van Laar
df4cbe8ab0 DIRECTOR: rename variable to split char
The ':' was replaced in favor of '@' in a later iteration.
This commit reflects that by updating the variables names.
2020-07-24 22:45:41 +02:00
Lothar Serra Mari
a0e584b908 NEWS: Update German NEWS file 2020-07-24 21:29:15 +02:00
djsrv
c12caa0e9b DIRECTOR: Don't processEvents if no main movie 2020-07-24 15:07:21 -04:00
Roland van Laar
14c92e6179 DIRECTOR: Extend --start-movie to start at frame
A frame number can be given to --start-movie and it will start
at that frame.
Examples:
    --start-movie=movie.dir@45  # start movie.dir at frame 45
    --start-movie=@23           # start the default movie frame 23
    --start-movie=movie.dir     # start movie.dir as usual
2020-07-24 20:57:52 +02:00
djsrv
1f48c98b7b GRAPHICS: MACGUI: Refesh WM on set window visible 2020-07-24 14:32:54 -04:00
djsrv
177283249e DIRECTOR: Fix event segfaults 2020-07-24 14:10:13 -04:00
Nathanael Gentry
c0d295f4f9 DIRECTOR: Load multiple palettes
Also, don't set the current palette upon loading it.
2020-07-24 13:53:43 -04:00
Nathanael Gentry
c9a1dfa75d DIRECTOR: Recenter stretched sprites 2020-07-24 13:22:30 -04:00
djsrv
8f84937256 DIRECTOR: LINGO: Kill Lingo execution on quit 2020-07-24 12:44:57 -04:00
djsrv
5d1976843e DIRECTOR: LINGO: Process events every 100 loops 2020-07-24 12:23:31 -04:00
Eugene Sandulenko
74e2899156 DIRECTOR: Move debug output on a higher level 2020-07-24 17:04:45 +02:00
djsrv
6493e0d763 DIRECTOR: Don't switch movie in processEvent 2020-07-24 11:03:35 -04:00
djsrv
eae6ab03ec DIRECTOR: Use parent movie in sprite methods 2020-07-24 11:03:35 -04:00
djsrv
fbf42314bb DIRECTOR: Add pointers to frame, sprite parents 2020-07-24 11:03:35 -04:00
Nathanael Gentry
91ac560619 DIRECTOR: Remove erroneous widget deletion
This reverts commit 48599bd622.
2020-07-24 09:19:19 -04:00
Roland van Laar
bf1a12220f DIRECTOR: Put isValidChannel check into function 2020-07-24 15:09:07 +02:00
Nathanael Gentry
b547674341 DIRECTOR: Initialize variable 2020-07-24 08:53:32 -04:00
Nathanael Gentry
cb40fe606e DIRECTOR: Remove extra comparisons from blitter 2020-07-24 08:46:25 -04:00
Nathanael Gentry
992b4ab0b8 DIRECTOR: Respect mask in stretched surface blit 2020-07-24 08:46:25 -04:00
sluicebox
85d6016782 SCI: Set SQ3 Mac and LSL6 Mac as Unstable
SQ3 relies on a display mode which ScummVM hasn't implemented. No text
is drawn on any screen.

LSL6 relies on native Macintosh menus which are not implemented.
2020-07-24 00:12:22 -07:00
antoniou79
617e56f165 ANDROID: increase jvm memory to 4096m 2020-07-24 06:34:11 +00:00
Marcel Souza Lemes
39f4106967 I18N: Update translation (Portuguese (Brazil))
Currently translated at 100.0% (1381 of 1381 strings)
2020-07-24 05:43:21 +00:00
djsrv
389f54ba1c DIRECTOR: LINGO: Implement title properties 2020-07-24 00:32:45 -04:00
djsrv
d7b1d27ccd GRAPHICS: MACGUI: Add title functions 2020-07-24 00:32:02 -04:00
djsrv
dc3216dab8 DIRECTOR: LINGO: Fix cb_objectfieldassign 2020-07-24 00:13:51 -04:00
djsrv
73c25028b8 DIRECTOR: LINGO: Add custom asString for window 2020-07-24 00:10:03 -04:00
djsrv
b014a78df1 DIRECTOR: LINGO: Fix setting window props 2020-07-24 00:08:37 -04:00
djsrv
3aa5b2e883 DIRECTOR: Don't step stopped movie 2020-07-23 20:47:34 -04:00
djsrv
3a17dcb024 DIRECTOR: Fix blank frame on loop 2020-07-23 20:05:49 -04:00
djsrv
f23ef93766 DIRECTOR: Move event handling to movie 2020-07-23 20:05:49 -04:00
djsrv
a86b95a4f3 DIRECTOR: Remove processEvents from updateStage
I don't think this makes sense here...
2020-07-23 20:05:49 -04:00
Eugene Sandulenko
927df2ceae DIRECTOR: LINGO: Added patch for warlock shared cast run by the buildbot 2020-07-24 00:42:15 +02:00
Eugene Sandulenko
67624c25e2 DIRECTOR: LINGO: Filter script patches by platform, add more debug output 2020-07-24 00:42:14 +02:00
Zvika
0781c40111 I18N: Update translation (Hebrew)
Currently translated at 81.8% (1131 of 1381 strings)
2020-07-23 21:43:35 +00:00
Niv Baehr
249ff84c8e I18N: Update translation (Hebrew)
Currently translated at 81.8% (1131 of 1381 strings)
2020-07-23 21:43:34 +00:00
anonymous
1d7b0e9115 I18N: Update translation (Hebrew)
Currently translated at 81.8% (1131 of 1381 strings)
2020-07-23 21:43:34 +00:00