Commit Graph
137148 Commits
Author SHA1 Message Date
elasota 3f0c1f81d5 COMMON: Add function to flatten edit lists to work around Obsidian audio popping problem.
Obsidian's vidbot videos have audio tracks of consecutive audio chunks that are 22080 samples of 44100Hz audio, and a series of edit lists that are 0.5 seconds in duration (which would be 22050 samples), but have media times spaced 22080 samples apart, meaning every half-second, the audio skips 30 samples ahead.  This seems in line with how the QTTF specification says it should work, so it's not clear why other players don't have this problem.
2022-09-18 23:07:39 +03:00
BLooperZ 99e213be1f SCUMM: GUI: remove forced alignment 2022-09-18 22:06:41 +02:00
athrxx 8e87fe8c49 KYRA: get rid of wshadow warnings 2022-09-18 21:59:23 +02:00
Le Philousophe bd761c8705 COMMON: Fix memory leak when deserializing U32String 2022-09-18 20:55:16 +02:00
Le Philousophe c83ff22c8a COMMON: Fix uninitialized member
It was never used but static analysis complained
2022-09-18 20:43:33 +02:00
Le Philousophe 56f07b0e78 COMMON: Fix invalid shift
Sign bit is at bit 15 and must go to bit 63
2022-09-18 20:37:36 +02:00
ScummVM-Translations a18db273a5 I18N: Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: ScummVM/scummvm
Translate-URL: https://translations.scummvm.org/projects/scummvm/scummvm/
2022-09-18 15:31:15 +00:00
Paweł Kołodziejski 4cea5706d0 GRAPHICS, OPENGL: Fixed static analysis issue report 2022-09-18 17:30:57 +02:00
ScummVM-Translations 3d0166a0e6 I18N: Update translations templates 2022-09-18 14:16:29 +00:00
ScummVM-Translations ede7e21778 I18N: Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: ScummVM/scummvm
Translate-URL: https://translations.scummvm.org/projects/scummvm/scummvm/
2022-09-18 14:16:27 +00:00
Le Philousophe 8ec9835358 GRAPHICS: Initialize _japaneseFontsLoaded before it's used 2022-09-18 16:15:56 +02:00
Le Philousophe 5774811be8 GRAPHICS: Don't dereference a null pointer 2022-09-18 16:15:56 +02:00
Le Philousophe e020710d5d GRAPHICS: Free WinFont when erroring out 2022-09-18 16:15:56 +02:00
Le Philousophe 0fbd85772d ENGINES: Initialize _metaEngine 2022-09-18 16:15:56 +02:00
Le Philousophe 30d8b64657 ENGINES: Don't pass U32String by value 2022-09-18 16:15:56 +02:00
Le Philousophe 511852e431 MATH: Use reference instead of value
Else we can't return a reference to the object as it's a local copy
2022-09-18 16:15:56 +02:00
Le Philousophe aa5da2e140 GUI: Don't pass U32String by value 2022-09-18 16:15:56 +02:00
Le Philousophe 64675dbba6 COMMON: Avoid passing U32String full object as parameter
Use a const reference instead
2022-09-18 16:15:56 +02:00
ScummVM-Translations be164fa4e8 I18N: Update translations templates 2022-09-18 12:55:06 +00:00
Donovan Watteau 4586d2fc9d SCUMM: Allow rendering v2 games in forced Amiga mode again
Commit 2fe65d95ef limited render modes to
suitable targets, but many users are used to render the DOS/V2 versions
of Maniac Mansion and Zak in Amiga mode, to avoid the so-called "sunburn
effect".  Playing the game with this setting doesn't cause any issue, as
far as I know.
2022-09-18 14:54:55 +02:00
Le Philousophe 6854b155fc CRYOMNI3D: Prevent a possible out of bound memory access 2022-09-18 13:28:50 +02:00
Le Philousophe f04b3f6841 CRYOMNI3D: Use a null-terminated string
This is cleaner than just silencing the warning
2022-09-18 13:19:59 +02:00
Le Philousophe d9456b459f CRYOMNI3D: Add members initializer
This will fix static analyzer errors
2022-09-18 13:19:59 +02:00
Le Philousophe 32bd7cf446 IMAGE: Add missing initializer to HNM6 decoder
This clears static analysis error
2022-09-18 12:12:02 +02:00
Le Philousophe 5e2c6720a7 IMAGE: Cleanup HNM6 decoder 2022-09-18 12:11:44 +02:00
Le Philousophe 208cf8bd40 AUDIO: Initialize Cryo APC fields 2022-09-18 12:00:02 +02:00
Paweł Kołodziejski 843e201aea WINTERMUTE: Fixed static analysis issue report 2022-09-18 11:54:52 +02:00
Roland van Laar f440529512 DIRECTOR: only cleanup sharedcast when it exists
Fixes segfault when the sharedcast was a nullptr.
2022-09-17 23:51:57 +02:00
Roland van Laar a105a0c121 DIRECTOR: unregister shared cast before deleting
A pointer to sharedCast was stored in the HashMap_openResFiles.
sharedCasts were deleted when a switch to a new movie was made
while _openResFiles is cleared when quitting Director.

This fix removes the reference to the shared cast when the shared cast
is deleted.
2022-09-17 23:15:50 +02:00
Roland van Laar 9ddb71fe6e DIRECTOR: Improve comment ILS
ILS is the initial load segment.
The part of a shockwave file that's needed to get things going and
other media can be loaded later over a slow 90s internet connection
2022-09-17 22:24:56 +02:00
Eugene Sandulenko cb6966f652 SLUDGE: Add more files to detection entries for addressing graylisted names 2022-09-17 16:53:48 +02:00
Eugene Sandulenko f26851d19d AD: Added "gamedata" to detection graylist 2022-09-17 16:53:47 +02:00
Donovan Watteau d488212f7d SCUMM: Fix an original palette issue at Stan's in MONKEY1-CD (WORKAROUND)
In the versions of Monkey Island 1 with the full 256-color inventory,
going at Stan's (when he's not there) will mess up the color of some
objects, such as the "striking yellow color" of the flower from the
forest suddenly being greenish in this room.  The VGA floppy release
doesn't appear to have this issue, so this is probably another oversight
from the v5 release.

The setPalColor() calls are taken from the Ultimate Talkie Edition.

This fix is not applied to the FM-TOWNS and Sega CD releases, since they
use a smaller palette (and I don't have them).
2022-09-17 17:10:48 +03:00
eientei95 658e4114f4 CONFIGURE: Use grep -F instead of deprecated fgrep 2022-09-17 12:26:30 +02:00
Donovan Watteau 4e28498eab DOCS: MAN: Document some arguments as being optional 2022-09-17 12:06:40 +02:00
Donovan Watteau 6ae10828c2 DOCS: MAN: Fix missing equal sign for --speech-volume=NUM 2022-09-17 12:06:40 +02:00
Donovan Watteau 79a307ff53 DOCS: MAN: Only describe the difference between --md5mac and --md5 instead of repeating things 2022-09-17 12:06:40 +02:00
Donovan Watteau 5484cf56d8 DOCS: MAN: Describe the difference between filtered/unfiltered graphics 2022-09-17 12:06:40 +02:00
Donovan Watteau 4395a5a257 DOCS: MAN: Document Ctrl-Alt-d and tweak some shortcut descriptions 2022-09-17 12:06:40 +02:00
Donovan Watteau e31d85d90d DOCS: MAN: Work around .Lk limitations in older Groff 2022-09-17 12:06:40 +02:00
Donovan Watteau a1639b9e99 DOCS: MAN: Explicitly list most --no- options as well 2022-09-17 12:06:40 +02:00
Donovan Watteau bcfc6d4c1a DOCS: MAN: Use en-dash for ranges 2022-09-17 12:06:40 +02:00
Donovan Watteau 76471089d9 DOCS: MAN: Document that --engine-speed is for 3D games 2022-09-17 12:06:40 +02:00
Donovan Watteau 10d331e10e DOCS: MAN: Don't give any default value for --talkspeed
It looks like many engines have a different default value, nowadays.
2022-09-17 12:06:40 +02:00
Donovan Watteau e429bbf267 DOCS: MAN: Sort --renderer arguments alphabetically 2022-09-17 12:06:40 +02:00
Donovan Watteau 838c351a7e DOCS: MAN: Document that --dump-midi overwrites dump.mid
Since base/commandLine.cpp documents it.
2022-09-17 12:06:40 +02:00
Donovan Watteau 2e1a0fad39 DOCS: MAN: Mention the source of some lists for easier maintenance 2022-09-17 12:06:40 +02:00
Donovan Watteau bde1a8952b DOCS: MAN: --window-size being about ScummVM looks obvious enough 2022-09-17 12:06:40 +02:00
Donovan Watteau 42bf78e231 DOCS: MAN: Take the --enable-gs description from gui/options.cpp
Looks more informative.
2022-09-17 12:06:40 +02:00
Donovan Watteau 149f7e8cec DOCS: MAN: Document that --boot-param uses the given number, and is only supported by some games 2022-09-17 12:06:40 +02:00