132837 Commits

Author SHA1 Message Date
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 12bb1a495fa5d98ef 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
ScummVM-Translations
783c77586f I18N: Update translations templates 2022-09-22 21:37:00 +00:00
ScummVM-Translations
49221b76a9 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 21:36:58 +00:00
Roland van Laar
c6c56efc4a DIRECTOR: Fix mac memory leaks
There are two types of memory types of leaks fixed that both deal with
mac resource files.

First one, opened resource files weren't always deleted when cleaning up
or on failure of opening.

Second one, the cursors are read from streams of resource files.
Those streams are marked as disposable. They are only disposed of when
delete is called on them.
2022-09-22 23:36:39 +02:00
ScummVM-Translations
7d42f4a449 I18N: Update translations templates 2022-09-22 19:01:44 +00:00
athrxx
3a49ea6248 KYRA: reduce unsafe string ops
(replace all strcpy calls and similar fixes)
2022-09-22 21:01:16 +02:00
George Kormendi
f39e7a15b4 I18N: Update translation (Hungarian)
Currently translated at 100.0% (1766 of 1766 strings)
2022-09-22 16:47:40 +00:00
Lothar Serra Mari
b84eab3329 I18N: Update translation (German)
Currently translated at 100.0% (1766 of 1766 strings)
2022-09-22 16:47:39 +00:00
Antoniou Athanasios
29b738ec5c I18N: Update translation (Greek)
Currently translated at 100.0% (1766 of 1766 strings)
2022-09-22 16:47:24 +00:00
Antoniou Athanasios
36789b8166 I18N: Update translation (Greek)
Currently translated at 100.0% (1766 of 1766 strings)
2022-09-22 16:46:05 +00:00
Roland van Laar
03da927aaa DIRECTOR: Fix check on (shared)cast for formatting
Check for existance of `cast and `sharedcast` before calling
`getCastMember` on it.
2022-09-22 17:26:35 +02:00
IlDucci
5a5cfe784b I18N: Update translation (Spanish)
Currently translated at 100.0% (1766 of 1766 strings)
2022-09-22 09:50:08 +00:00