Commit Graph
772 Commits
Author SHA1 Message Date
Cameron Cawley 28d7b361ea COMMON: Move more file format code into common/formats 2022-12-11 22:33:23 +01:00
BLooperZ 0c3c7a4b5c SCUMM: prevent possible issues when range is reversed 2022-11-29 12:48:27 +01:00
Donovan Watteau 030f104c12 SCUMM: Fix MSVC C4309 enum sign warning 2022-11-29 01:37:55 +01:00
Le Philousophe 137b51d7ac SCUMM: Don't use unsafe sprintf and vsprintf 2022-10-23 22:46:19 +02:00
Le Philousophe f564ffc12f SCUMM: Don't use unsafe strcat and strcpy 2022-10-23 22:46:19 +02:00
BLooperZ 11ec68fda5 SCUMM: HE: support BiDi in hebrew fan translations 2022-09-29 20:46:55 +02:00
athrxx 3d39d206ee SCUMM: replace strcpy calls with Common::strlcpy
This replaces every single strcpy call in the engine with
Common::strlcpy.

Some of these might cases seem a bit pointless, but it is
supposed to discourage future use of strcpy. If people don't
see a single occasion of it they might think twice before they
use it...
2022-08-27 13:08:38 +03:00
BLooperZ 6884be9b7f Revert "SCUMM: FREDDI4: workaround lipsync issues in final scene"
This reverts commit 16955a15f1.
2022-08-23 21:44:05 +03:00
BLooperZ 16955a15f1 SCUMM: FREDDI4: workaround lipsync issues in final scene 2022-08-02 22:17:49 +02:00
BLooperZ 716ed40240 SCUMM: FREDDI4: change subtitles colors in final scene 2022-07-26 10:39:26 +03:00
YYxsCnnPP 7dfa17ebf6 SCUMM: Change function prototype 2022-06-28 19:13:51 +03:00
YYxsCnnPP cad20a1c90 SCUMM: Rename function to tryLoadAudioOverride 2022-06-28 19:13:51 +03:00
YYxsCnnPP 088115f468 SCUMM: Implement dedicated option for hifi audio 2022-06-28 19:13:51 +03:00
YYxsCnnPP 2050bf44b8 SCUMM: Improve override function signature 2022-06-28 19:13:51 +03:00
YYxsCnnPP fc372c278b SCUMM: Move sound override to game enhancement
The feature will now only be active if the user enables
game-specific enhancements, instead of being
permanently enabled.
2022-06-28 19:13:51 +03:00
YYxsCnnPP a5bc78a63b SCUMM: Improve lip sync code for audio override 2022-06-28 19:13:51 +03:00
YYxsCnnPP 5474d78662 SCUMM: Fix animation speed when audio is overriden 2022-06-28 19:13:51 +03:00
YYxsCnnPP c17efa585e SCUMM: Fix lip sync when speech is overriden 2022-06-28 19:13:51 +03:00
YYxsCnnPP fb3f68f294 SCUMM: Add speech support for sound override 2022-06-28 19:13:51 +03:00
YYxsCnnPP f43402b80a SCUMM: Fix sound duration when overriden 2022-06-28 19:13:51 +03:00
YYxsCnnPP 78dacfa8d7 SCUMM: Add sound override for HE 70 games 2022-06-28 19:13:51 +03:00
Filippos Karapetis 8d9dc02374 SCUMM: Change the HE lipsync timer math to a cleaner and safer version 2022-05-23 23:22:45 +03:00
Stephen Robinson 1ae637fb57 SCUMM: Lip syncing fixes for some HE games.
Backyard Baseball 2003 was missing dialog which was lip-synced to
animation. This was due to it using the WAV block alignment as a count
of bytes per sample. This is not true for the IMA ADPCM format used for
speech in Backyard Baseball 2003.
2022-05-23 23:22:18 +03:00
Little Cat 07a795d600 SCUMM HE: Don't show exit dialog in Moonbase. 2022-04-15 22:41:21 +02:00
Torbjörn Andersson 8ad80a83c1 SCUMM: Initial work on replacement audio tracks for Loom
This allows EGA Loom and Mac Loom to use replacement audio tracks, e.g.
from the FM Towns or TurboGrafx-16 versions or, with a bit work, any
recording of the original ballet.

Currently the Ouverture doesn't work, since it relies on the music
timer being updated.
2022-02-08 13:31:39 +01:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Orgad Shaneh ed5489929c SCUMM: Use nullptr
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +02:00
Orgad Shaneh c2e7eeb563 SCUMM: Replace new[]/memset with new[]() 2021-11-10 19:53:15 +01:00
Ben Castricum f68e0c6cf2 SCUMM: FREDDI - WORKAROUND for bug #4776, knocker floats while door is open 2021-09-13 21:01:36 +03:00
Paul Gilbert 0136043f09 COMMON: Revert Change Rect and Point to have int32 fields
This reverts commit 1c3e7fb4e9.
2021-07-06 20:35:42 -07:00
Paul Gilbert 1c3e7fb4e9 COMMON: Change Rect and Point to have int32 fields 2021-07-04 18:24:26 -07:00
Eugene Sandulenko 5e7fe2dc57 JANITORIAL: Replace spaces in indentation with tabs 2021-04-15 21:20:36 +02:00
D G Turner a404c80d41 SCUMM: Fix Memset on Non-Trivial Structure GCC Compiler Warnings 2021-03-24 23:23:46 +00:00
Orgad Shaneh e074a6da1b SCUMM: Fix compiler warnings for bad formats
long and size_t are not the same on Win64.
2021-03-23 17:32:04 +02:00
Torbjörn Andersson 7a99e06af8 SCUMM: Fix Valgrind warning about _isValid being uninitialized 2021-01-28 14:57:38 +01:00
Vladimir Serbinenko 5c91fb8d6a SCUMM: Support Lokalizator plugin.
This was used by Russian translation of Pajama Sam 2 and Spy Fox 3
2020-12-07 23:01:38 +01:00
Cameron Cawley 01b4432825 BACKENDS: Use Common::U32String for OSystem::setWindowCaption 2020-11-22 17:20:19 +00:00
YYxsCnnPP 93f78c4e57 SCUMM: Add compile-time check for array size 2020-10-27 18:15:54 +01:00
YYxsCnnPP 8fda85894b SCUMM: Add support for more formats on sound override 2020-10-27 18:15:54 +01:00
YYxsCnnPP dbb668dc3b SCUMM: Add music override 2020-10-27 18:15:54 +01:00
Bastien Bouclet 730a1ee4cc SCUMM: Add override keywords 2020-02-09 12:43:16 +01:00
Cameron Cawley 46056aba3c ENGINES: Reduce winexe_*.h header includes 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
D G Turner 59b639ed4d SCUMM: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
2019-12-23 11:56:16 +00:00
Eugene Sandulenko 1b4842f852 SCUMM HE: MBC: Hid noisy debug output 2019-11-17 00:28:59 +01:00
D G Turner 1cc669a317 SCUMM HE: Fix Signed vs. Unsigned Compiler Warning 2019-11-08 00:04:06 +00:00
Eugene Sandulenko ccab85ffb2 SCUMM HE: MBC: Remove empty callbacks 2019-11-07 17:08:11 +01:00
Eugene Sandulenko 17e6fa82c7 SCUMM HE: MBC: Implement Net::removeUser() 2019-11-07 16:02:15 +01:00
Eugene Sandulenko c17bf778e2 SCUMM HE: MBC: Store generated player key 2019-11-07 14:43:37 +01:00
Eugene Sandulenko 7b92e4372c SCUMM HE: MBC: Pass userid for the endsession request 2019-11-06 00:54:23 +01:00