Commit Graph

133230 Commits

Author SHA1 Message Date
Eugene Sandulenko
fe4aca8cd2
SAGA2: Rename class variables in effect.h 2022-09-25 21:37:27 +02:00
Eugene Sandulenko
8527a03f0a
SAGA2: Rename class variables in document.h 2022-09-25 21:37:27 +02:00
Eugene Sandulenko
f0221d3b8a
SAGA2: Renamed class variables in dispnode.h 2022-09-25 21:37:26 +02:00
Eugene Sandulenko
bdb5066b35
SAGA2: Rename class variables in dice.h 2022-09-25 21:37:26 +02:00
Eugene Sandulenko
2aefa6c30f
SAGA2: Rename class members in contain.h 2022-09-25 21:37:26 +02:00
Eugene Sandulenko
40d9d2e9b9
SAGA2: Use class copy constuctor instead of memcpy() 2022-09-25 21:37:26 +02:00
Eugene Sandulenko
ef106cf716
SAGA2: Reanme GameObj class members 2022-09-25 21:37:26 +02:00
Eugene Sandulenko
e281cde4b6
SAGA2: Use portable struct copying 2022-09-25 21:37:26 +02:00
Einar Johan Trøan Sømåen
47b599de20
TINSEL: Fix wrong mapping of IO_-attributes
1839780513 made a mistake by
confusing the IO-attributes with the non-IO_-attributes,
as there is a difference in the order of the flags between
these two sets.

Fixes bug: https://bugs.scummvm.org/ticket/13810
2022-09-25 20:42:08 +02:00
D G Turner
9f2b694776 GROOVIE: Fix Format for 64-bit Integer GCC Compiler Warning in ROQ Code 2022-09-25 15:27:53 +01:00
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