Commit Graph

132920 Commits

Author SHA1 Message Date
Lothar Serra Mari
7b5bb8c470 NEWS: Mention PINK support in German NEWS file 2022-09-25 16:03:40 +02:00
Eugene Sandulenko
f0af4d997d
NEWS: Pink engine games are supported 2022-09-25 16:01:59 +02:00
Eugene Sandulenko
ab88fafd34
PINK: Clarify credits 2022-09-25 16:01:59 +02:00
Eugene Sandulenko
71ed655cdc
PINK: Enable engine by default 2022-09-25 16:01:59 +02:00
Eugene Sandulenko
94f5548b56
PINK: Mark all entries for testing 2022-09-25 16:01:55 +02:00
Donovan Watteau
e16c30d023 SCUMM: Fix the navigator head text color in MI1 CD (WORKAROUND)
When the navigator head speaks, the v5 release forgot to adjust the
`Color(6)` parameter for the v5 palette changes, meaning that the text
wasn't displayed with the intended brown color, as in all other versions
(this was fixed in the v5 SegaCD release, though).
2022-09-25 11:49:34 +03:00
Scott Percival
46fe41a77c DIRECTOR: Plug memory leak in AVI loader 2022-09-25 10:35:03 +02:00
Scott Percival
15a9cbe002 DIRECTOR: LINGO: Fix Datum leak in c_starts 2022-09-25 10:35:03 +02:00
Scott Percival
095ae06405 COMMON: Refactor MacResManager::load* methods to accept a pointer
Previously the methods would pass by reference, then convert to a
pointer on success and take ownership. This isn't ideal, as a
reference suggests no transferral of ownership, and doesn't suggest
it needs to be a heap resource allocated by new.
2022-09-25 10:35:03 +02:00
Scott Percival
00a7d69fd1 DIRECTOR: Plug stream leak for Mac archives 2022-09-25 10:35:03 +02:00
Scott Percival
4e22e09685 DIRECTOR: Prevent CastData leak if multiple with the same ID 2022-09-25 10:35:03 +02:00
Scott Percival
f502638290 DIRECTOR: Plug file handle memory leaks 2022-09-25 10:35:03 +02:00
Lothar Serra Mari
2c721608be NEWS: Fix wording of latest SCUMM Sam&Max credits change
Thanks, @athrxx!
2022-09-25 09:25:53 +02:00
Die4Ever
bf0da3ad90
GROOVIE: tweak Easier AI difficulty for modern art puzzle 2022-09-24 21:07:27 -05:00
lolovo
835f415e2b
GROOVIE: Fix #2 possible crash with incorrect seeks to endpos in roq.cpp (#4257)
* GROOVIE: Fix #2 possible crash with incorrect seeks to endpos in roq.cpp
Fix bug - https://bugs.scummvm.org/ticket/13809

* Optimization

* Next optimization & maintan appropriate debug log

* GROOVIE: Check end of stream before seek to avoid crash in roq.cpp

* GROOVIE: resolve %ld conflict

Co-authored-by: Die4Ever <30947252+Die4Ever@users.noreply.github.com>
2022-09-24 19:59:01 -05:00
elasota
9aff6a5094 MTROPOLIS: Add sound fade modifier stub 2022-09-24 20:50:13 -04:00
D G Turner
ad1b2190c2 MTROPOLIS: Remove Unused Variable Causing GCC Compiler Shadowing Warning 2022-09-25 00:53:18 +01:00
D G Turner
37e702a1ba GOB: Add v1.0 USA Floppy Version of Inca 2 to Detection
This was reported in the forums by Uka on 2022-08-22.
2022-09-25 00:26:24 +01:00
Roland van Laar
6c4e6321f3 DIRECTOR: LINGO: Improve frozen context handling
When an error happens during go, for example with a nonexisting movie
the lingo callstack isn't cleaned up properly.

Now the callstack is cleaned up via `popContext(aborting=true)`.

This improves on commit:
DIRECTOR: fix memleak when lingo context is frozen
27b314cb25
2022-09-24 23:49:10 +02:00
Roland van Laar
15ee7ba98a DIRECTOR: LINGO: fix memory leaks for lingo tests
The Lingo tests were failing because of memory leaks.
- `move` overwrote an existing cast without deleting it
- `puppetTransition` was set but not removed on class destruction
- the *.lingo test files were opened but never removed
2022-09-24 23:21:38 +02:00
elasota
9703a49791 MTROPOLIS: Add path motion modifier V1 2022-09-24 17:07:21 -04:00
elasota
a5371bd365 MTROPOLIS: Add MTI print modifier stub 2022-09-24 17:07:20 -04:00
Walter Agazzi
a68dcd3baf I18N: Update translation (Italian)
Currently translated at 100.0% (1766 of 1766 strings)
2022-09-24 20:51:42 +00:00
Roland van Laar
27b314cb25 DIRECTOR: fix memleak when lingo context is frozen
Cleanup the lingo callstack when closing.

When a movie calls `go frameId` a big pause button is hit
and everything is put into order to not go to the frame +1
but to the requested frameId. That big pause button is called
`_freezeContext`.

However when quitting in the middle of a frozen context
there are lingo frames left on the callstack.

This can be reliably reproduced with a plethora of D2 and D3 movies
with the debugflags fewframesonly,fast.
2022-09-24 21:28:22 +02:00
Paul Gilbert
5c49468ecd COMMON: Added comments to indicate ScummVM forbidden equivalents 2022-09-24 10:22:55 -07:00
Donovan Watteau
8d44cb0581 AGOS: Keep clearing the surface when using disable_fade_effects
When using this option with Simon 1, Simon wouldn't be cleared from the
bottom of the screen, if pressing Esc when Simon starts walking through
the screen right after the "Simon the Sorcerer" title is printed, at the
very beginning of the game.

Triggering the clearSurfaces() code even when _neverFade is enabled
solves this problem.

Fixes a mistake of mine in commit 802caa4c39.
2022-09-24 18:19:06 +02:00
Roland van Laar
034a5efe98 DIRECTOR: Fix memory leak in registered FONDs
References to FOND resource streams are stored in an array.

Font streams were registered by their family name in a hashmap.
When a second font with the same name was encoutered it would replace
the pointer to the previous font.
The only use case for the hashmap was to register the stream to be able
to later close them.
2022-09-24 16:37:27 +02:00
athrxx
34ef055f44 KYRA: whitespace 2022-09-24 15:47:37 +02:00
athrxx
7204eaaf34 KYRA: more code style cleanup 2022-09-24 15:44:14 +02:00
Walter Agazzi
49b609c237 AGS: Add detection for Where Did The Humans Go? 2022-09-24 14:20:46 +02:00
Walter Agazzi
bcb3eb2a7e AGS: Add detection for various Digital Mosaic games 2022-09-24 14:20:46 +02:00
BLooperZ
aea6f5348a VIDEO: Support BiDi text in subtitles 2022-09-24 11:41:50 +02:00
elasota
55d31b0260 COMMON: Pass U32String format params by reference and fix warnings about passing a non-trivial class to va_start. 2022-09-24 10:16:24 +02:00
Cameron Cawley
252d9f20e3 OPENGL: Fix crash in forced GLES2 mode 2022-09-24 09:14:08 +02:00
Roland van Laar
1ff57a4c0f DIRECTOR: Fix segfault in D4 movies
The exeStream should only be deleted in `loadExeV3`

One `loadExeV?` is not like the others. They all load RIFX files
except for the V3 variant. They all error on an error during the opening of
the stream, except voor the V3 variant.

The segfault was introduced in 12bb1a495f by fixing a memory leak
for the `exeStream`.
2022-09-24 01:54:21 +02:00
Roland van Laar
12bb1a495f DIRECTOR: Fix memory leaks D3 win EXE loading
Fixed Archives that were instantiated but not closed.
2022-09-24 01:39:32 +02:00
Roland van Laar
dd7a914ff6 DIRECTOR: refactor createArchive
Simplify `createArchive` by checking for version first and platform
second.
2022-09-24 01:39:32 +02:00
ScummVM-Translations
f3f69e54d4 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-23 22:43:02 +00:00
Eugene Sandulenko
878b79a149
VIDEO: Fix compilation without freetype2 2022-09-24 00:42:28 +02:00
ScummVM-Translations
6880093731 I18N: Update translations templates 2022-09-23 21:00:28 +00:00
Roland van Laar
0091a20fe9 DIRECTOR: limit files closed by closeResFile
Lingo function `closeResFile` is only responsible for closing resource
file opened by `openResFile`. Register in `openResFile` which files
where opened and close only those files in `closeResFile`.

- Rename `_openResFiles` to `_allOpenResFiles` and
- Add new `_openResFiles` hashmap to track which files were opened in
  `openResFile`.
2022-09-23 22:55:50 +02:00
Roland van Laar
423783f394 JANITORIAL: DIRECTOR: Improve debug message
Make debug message reference the function it's in.
Not the old one.
2022-09-23 22:09:40 +02:00
ScummVM-Translations
7afda3b08f 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-23 19:38:25 +00:00
athrxx
b54f6adcb7 KYRA: more coding style and sanity checking cleanup 2022-09-23 21:37:55 +02:00
athrxx
77866676a7 KYRA: init non-initialized member vars 2022-09-23 21:37:51 +02:00
athrxx
f0a2d470b6 KYRA: (HOF) - fix palette glitch when loading savegames
This is the same in the original interpreter, but I assume
they just don't update the screen as much as we do.
The problem is that the new scene palette is
generated and set before the new scene is actually drawn. So there is a moment where the old scene is visible with the new palette...
2022-09-23 21:37:45 +02:00
ScummVM-Translations
e4a01c8102 I18N: Update translations templates 2022-09-23 09:05:14 +00:00
BLooperZ
3f611f9d51 VIDEO: Adapt subtitles overlay to text size 2022-09-23 11:05:01 +02:00
Eugene Sandulenko
a72b97097c VIDEO: With shadow we do not need to render monochrome anymore 2022-09-23 11:05:01 +02:00
Eugene Sandulenko
0a093d5e0a VIDEO: Attempt to fake font outline 2022-09-23 11:05:01 +02:00