Commit Graph
137148 Commits
Author SHA1 Message Date
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
Eugene Sandulenko dff6943cbf VIDEO: Render subtitles without antialiasing (less artifacts) 2022-09-23 11:05:01 +02:00
Eugene Sandulenko 57ba69d046 VIDEO: Switched to Unicode 2022-09-23 11:05:01 +02:00
Eugene Sandulenko f255467bd3 VIDEO: Center subtitles on screen 2022-09-23 11:05:01 +02:00
Eugene Sandulenko 7c18243c1c GROOVIE: Show subtitles during video playback 2022-09-23 11:05:01 +02:00
Eugene Sandulenko 2ca793f720 VIDEO: Finished subtitle drawing implementation 2022-09-23 11:05:01 +02:00
Eugene Sandulenko af8c37db9d VIDEO: Initial code for drawing subtitles on overlay 2022-09-23 11:05:01 +02:00
Eugene Sandulenko 9cb80bc9fb VIDEO: Load font for Subtitles 2022-09-23 11:05:01 +02:00
Eugene Sandulenko 8fa9f74d59 VIDEO: Fix crash on subtitles reload 2022-09-23 11:05:01 +02:00
Eugene Sandulenko 5e05bacb1c GROOVIE: Initial plug in of subtitles to video player 2022-09-23 11:05:01 +02:00
Eugene Sandulenko bb42c9bda4 VIDEO: Started implementation of generic Subtitles class 2022-09-23 11:05:01 +02:00
Eugene Sandulenko d02ff2ea5a VIDEO: Renamed srt_parser.* to subtitles.* 2022-09-23 11:05:01 +02:00
Eugene Sandulenko f555592e10 VIDEO: Fixed subtitle search method 2022-09-23 11:05:01 +02:00
Eugene Sandulenko d9fdaa3fe1 VIDEO: Implemented subtitle retrieval for SRT subtitles 2022-09-23 11:05:01 +02:00
Eugene Sandulenko aafcce2a9a VIDEO: Sort SRT subtitles after loading 2022-09-23 11:05:01 +02:00
Eugene Sandulenko b45599fdb2 VIDEO: Initial implementation of SRT parser 2022-09-23 11:05:01 +02:00
elasota d35b69d48b MTROPOLIS: Add image effect modifier stub 2022-09-23 02:00:48 -04:00
athrxx 3ebd9fc90a KYRA: cleanup 2022-09-23 02:57:50 +02:00
athrxx 8e7989dbc8 KYRA: (LoK/Mac) - minor sfx priority fix 2022-09-23 02:28:05 +02:00
athrxx b44471c6b8 KYRA: add sanity asserts 2022-09-23 02:27:42 +02:00
athrxx 8da4751b2c KYRA: cleanup 2022-09-23 02:27:36 +02:00
ScummVM-Translations fd20e29615 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-22 22:43:19 +00:00
Misty De Meo e1f6771965 DIRECTOR: add German majestic 2022-09-22 14:50:00 -07:00