118904 Commits

Author SHA1 Message Date
Martin Gerhardy
b259e168a4 COMMON: fixed invalid read in zlib read stream
==1313424== Conditional jump or move depends on uninitialised value(s)
==1313424==    at 0x682225: Common::wrapCompressedReadStream(Common::SeekableReadStream*, unsigned int) (zlib.cpp:498)
==1313424==    by 0x46CDB9: DefaultSaveFileManager::openForLoading(Common::String const&) (default-saves.cpp:134)
==1313424==    by 0x68334D: Common::PlaybackFile::openRead(Common::String const&) (recorderfile.cpp:74)
==1313424==    by 0x444558: GUI::RecorderDialog::updateList() (recorderdialog.cpp:206)
==1313424==    by 0x4446BD: GUI::RecorderDialog::runModal(Common::String&) (recorderdialog.cpp:218)
==1313424==    by 0x3DF0E5: GUI::LauncherDialog::recordGame(int) (launcher.cpp:461)
==1313424==    by 0x3E0397: GUI::LauncherDialog::handleCommand(GUI::CommandSender*, unsigned int, unsigned int) (launcher.cpp:671)
==1313424==    by 0x400BF8: GUI::CommandSender::sendCommand(unsigned int, unsigned int) (object.h:55)
==1313424==    by 0x42DAB8: GUI::DropdownButtonWidget::handleMouseUp(int, int, int, int) (widget.cpp:497)
==1313424==    by 0x3D3A37: GUI::Dialog::handleMouseUp(int, int, int, int) (dialog.cpp:228)
==1313424==    by 0x3DB72C: GUI::GuiManager::processEvent(Common::Event const&, GUI::Dialog*) (gui-manager.cpp:668)
==1313424==    by 0x3DA9EA: GUI::GuiManager::runLoop() (gui-manager.cpp:429)

Happens when you start with the event recorder compiled into scummvm and open the dialog to start
a new record.
2021-06-07 01:36:30 +03:00
ScummVM-Translations
0d44072864 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/
2021-06-06 22:28:43 +00:00
Eugene Sandulenko
057cd171ed
ASYLUM: Fix warning 2021-06-07 00:28:23 +02:00
Eugene Sandulenko
275cad9f78
LILLIPUT: Added missing reference to debug flags 2021-06-07 00:28:23 +02:00
Eugene Sandulenko
d7f82b83aa
ASYLUM: Added override keywords 2021-06-07 00:28:23 +02:00
Eugene Sandulenko
238127f8e3
SCUMM HE: Added support for French Socks game 2021-06-07 00:28:23 +02:00
Antoniou Athanasios
578c68aa3d I18N: Update translation (Greek)
Currently translated at 100.0% (1643 of 1643 strings)
2021-06-06 22:25:21 +00:00
Purple T
dda96bcbd8 I18N: Update translation (French)
Currently translated at 100.0% (1643 of 1643 strings)
2021-06-06 22:25:20 +00:00
Timo Mikkolainen
e2d307e884 I18N: Update translation (Finnish)
Currently translated at 100.0% (1643 of 1643 strings)
2021-06-06 22:25:19 +00:00
Roland van Laar
a7f16ffbe1 DIRECTOR: allow setting of video casts to castNum
The game Majestic dynamically sets the castNum to video casts and expects them to play directly.
Videos were also stopped erroneously. Video stoppage is assumed when
movieRate is 0. The comment als indicated that it was probably broken
for D4.

The corresponding lingo code is, where anim is a cast label.
  set the castNum of sprite 48 to cast(anim)
  updateStage()
  set the movieRate of sprite 48 to 1
  repeat while the movieRate of sprite 48
    updateStage()
  end repeat
2021-06-06 18:15:18 +02:00
athrxx
1f7c52a942 SCUMM: whitespace 2021-06-06 17:06:33 +02:00
athrxx
fa48015bbd SCUMM: (ZAK/TOWNS) - fix bug no. 4594 and 4601
4594: "Zak keeps walk animation without moving"

4601: "SCUMM: Zak McKracken (FM-Towns) - shopkeeper keeps walking"

Bug 4594 also happens with the original ZAK FM-TOWNS interpreter (unlike SCUMM1/2). I have added a workaround similiar to PR #2991.

Bug 4601 does not happen with the original, although it seems to have the exaxct same cause and is also fixed by this workaround. So I have stopped exploring this one for now.

I have limited the workaround to ZAK, since the bug reports are all from that game. To me, it looks like an oversight when converting the original SCUMM1/2 scripts to SCUMM3.
2021-06-06 16:02:00 +02:00
athrxx
a408f44c1b SCUMM: (SCUMM1/2) - fix bug no. 4594 ("Zak keeps walk animation without moving")
This is only the fix for SCUMM1/2. It fixes at least the bug described in the ticket (clicking on the shop manager after buying a lotto ticket). Unlike later versions V1/2 adds and removes the MF_TURN flag on the actor without touching the other bits. I have verified this from disasm and dosbox debugging.
2021-06-06 16:01:50 +02:00
athrxx
f5ed4d54d3 SCUMM: (SCUMM1-3) - fix actor facing for diagonal walks
While testing fixes for bug no. 12278 I also noticed that the actor facing when walking diagonally did not match the original behavior when I had the ZAK intros running in ScummVM and UNZ (for Zak-Towns) and ScummVM and DosBox (for Zak-DOS-V1 and V2).

This is about the decision whether a character that walks diagonally should face up/down or left/right. I implemented the original method to determine the facing.
2021-06-06 16:01:19 +02:00
athrxx
74ed6d94c8 SCUMM: (SCUMM1-3) - (very minor) fix for walk dir interpolation
Our current interpolation does not always turn characters in the same direction as the original, e. g. when walking straight up or down the original will always turn the character counter-clockwise. I implemented the interpolation table used by the original interpreters for more faithful display. Verified visually for v1-v3, and from disasm for v3 and v1.
2021-06-06 16:01:10 +02:00
athrxx
c57243ae85 SCUMM: (ZAK) - fix bug #12278 ("Zak's positioning in the intro")
(added 2 lines of code from disasm)
2021-06-06 16:00:51 +02:00
Strangerke
61dc5d353e TRECISION: Change the order of initialization of GraphicsManager to please MSVC, fix missing initialization 2021-06-06 08:40:13 +01:00
Strangerke
5d27d3a964 TRECISION: Pass a pointer instead of SDText in drawText 2021-06-06 08:40:13 +01:00
Strangerke
5ecae9704d TRECISION: Fix warning in MSVC 2021-06-06 08:40:13 +01:00
Marcel Souza Lemes
d07cf1b0a5 I18N: Update translation (Portuguese (Brazil))
Currently translated at 100.0% (1643 of 1643 strings)
2021-06-06 05:54:37 +00:00
George Kormendi
d06bb8815b I18N: Update translation (Hungarian)
Currently translated at 100.0% (1643 of 1643 strings)
2021-06-06 05:54:37 +00:00
Lothar Serra Mari
1d7e05bddb I18N: Update translation (German)
Currently translated at 100.0% (1643 of 1643 strings)
2021-06-06 05:54:36 +00:00
Thierry Crozat
8559354d8d
DOC: Update number of stretch modes 2021-06-06 02:11:19 +01:00
Strangerke
f3dd3de43f TRECISION: Fix some Coverity issues 2021-06-05 23:51:57 +01:00
ScummVM-Translations
ed72a00f5d 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/
2021-06-05 22:03:23 +00:00
aviloria
2dbf699b07 AGS: Fix size for Bad Bunker detection 2021-06-05 23:02:11 +01:00
ScummVM-Translations
53f872f3c3 I18N: Update translations templates 2021-06-05 13:17:52 +00:00
ScummVM-Translations
e6eda1b39c 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/
2021-06-05 13:17:51 +00:00
Thierry Crozat
5948d8a432 DOC: Document even pixel stretch mode 2021-06-05 14:17:40 +01:00
Thierry Crozat
31a6b39fb3 SDL: Add new pixel perfect stretch mode for OpenGL
This mode ensure that an integral scaling is used both for the width
and for the height. Compared to the old pixel perfect stretch mode
it thus differs in the way it handles the aspect ratio correction.
It may stretch or squeeze the vertical direction to snap it to a
multiple of the original game height.
2021-06-05 14:17:40 +01:00
ScummVM-Translations
f04dfed9ad I18N: Update translations templates 2021-06-05 05:25:36 +00:00
SupSuper
f45aefcf2b TRECISION: Move save listing to MetaEngine 2021-06-05 06:24:30 +01:00
D G Turner
a3f1211f42 ASYLUM: Fix Various GCC Compiler Warnings 2021-06-05 01:51:24 +01:00
djsrv
1b3501af94 DIRECTOR: Autohilite matte sprites in D3 2021-06-04 19:17:59 -04:00
djsrv
06f74a2416 DIRECTOR: Set initial values for CastMemberInfo fields 2021-06-04 19:17:59 -04:00
SupSuper
91c6a0864a TRECISION: Read 3D texture into Graphics::Surface 2021-06-04 23:02:53 +01:00
djsrv
b6d111a678 DIRECTOR: Lower VM version if it is wrong 2021-06-04 17:51:25 -04:00
djsrv
a58cb03c1c DIRECTOR: Improve autohilite behavior
In D3 or higher, there's an autohilite flag in the cast info.
In D2, sprites seem to autohilite only if they have matte ink.
2021-06-04 17:51:25 -04:00
djsrv
9cf248bdec DIRECTOR: Check for cast script in isActive
Either a score script or a cast script can make a sprite respond to
clicks.
2021-06-04 17:51:25 -04:00
djsrv
9db8f29708 DIRECTOR: Add CastMember::getInfo() 2021-06-04 17:51:25 -04:00
ScummVM-Translations
7939c6c917 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/
2021-06-04 20:48:56 +00:00
djsrv
ba9f696482 DIRECTOR: Fix APPL archives
_rifxType was getting changed before it reached the APPL conditional
before. This fixes that. I also moved APPL handling out of readMemoryMap
since it was sort of out of place there.
2021-06-04 16:47:19 -04:00
ScummVM-Translations
a849897150 I18N: Update translations templates 2021-06-04 20:34:47 +00:00
aviloria
fa2eb39c24 TRECISION: Add Deustch demo (#12600)
Added the German demo to the detection table. It's working right now
2021-06-04 21:34:38 +01:00
djsrv
486513c715 DIRECTOR: Skip normal loading for APPL archives again 2021-06-04 09:50:02 -04:00
Roland van Laar
0f1e9f19c3 Revert "DIRECTOR: Continue playing videos even if they are audio-only"
This codechange resulted in a video playing too fast and getting
out of sync with the audio.
The audio playback speed was normal.

This reverts commit 3d8523a86eb60c8486130091baa7261c89cc27a6.
2021-06-04 13:02:42 +02:00
Matthew Duggan
9a37bf5b3b ULTIMA8: Implement No Regret's Rolling Thunder process 2021-06-04 19:37:12 +09:00
alxpnv
8ba3df6821 ASYLUM: refactor inventory 2021-06-04 12:53:52 +03:00
Eugene Sandulenko
33d05618b5 I18N: Update translation (Ukrainian)
Currently translated at 100.0% (1642 of 1642 strings)
2021-06-04 09:08:31 +00:00
Eugene Sandulenko
5f85c565b3 I18N: Update translation (Russian)
Currently translated at 100.0% (1642 of 1642 strings)
2021-06-04 09:08:20 +00:00