145636 Commits

Author SHA1 Message Date
Thierry Crozat
cbf3daf4ab GUI: Fix missing Download buttons in classic theme layout
This made it impossible to switch to the Classic theme when DLC
are enabled.
2023-10-09 21:04:08 +01:00
Thierry Crozat
8f9cdff4a7 GUI: Add function in GuiManager to query if low-res GUI should be used
The same condition was scattered around in the code to switch between
normal labels and images and their lowres counterparts. Factorizing
that condition in a function will allow changing it easily.
2023-10-09 21:04:08 +01:00
Thierry Crozat
aa7572ef1e GUI: Fix testing width for lowres labels on HiDPI screens 2023-10-09 21:04:08 +01:00
VAN-Gluon
0cef82b0c1 I18N: Update translation (Japanese)
Currently translated at 100.0% (1999 of 1999 strings)
2023-10-09 19:41:21 +00:00
ScummVM-Translations
192c0d1645 I18N: Update translations templates 2023-10-08 22:23:52 +00:00
Eugene Sandulenko
0485f4a593
SDL: Added (disabled) Markdown table to the Keyboard help 2023-10-09 00:22:15 +02:00
Eugene Sandulenko
4fba78c13d
GRAPHICS: MACGUI: Render table cells in MacText 2023-10-09 00:22:15 +02:00
Eugene Sandulenko
b2a7bad618
GRAPHICS: MACGUI: Moved more methods int MacTextCanvas 2023-10-09 00:22:15 +02:00
Eugene Sandulenko
6004d955ea
GRAPHICS: MACGUI: Moved several methods to MacTextCanvas 2023-10-09 00:22:15 +02:00
Eugene Sandulenko
74910523c3
GRAPHICS: MACGUI: Turned MacTextCanvas into a class 2023-10-09 00:22:15 +02:00
Eugene Sandulenko
b2fb4dcb3b
GRAPHUCS: MACGUI: Moved more variables to MacTextCanvas 2023-10-09 00:22:14 +02:00
Eugene Sandulenko
382a1acfa7
GRAPHICS: MACGUI: Encapsulate text details in MacTextCanvas 2023-10-09 00:22:14 +02:00
AndywinXp
e7e18b79f7 SWORD1: Allow for immediate object look and combine
This stops George from walking or beginning its rest animation
when we perform an object look or combine on the top menu.
This is on the original code but we never implemented it...
2023-10-08 23:04:15 +02:00
AndywinXp
730af6eae6 SWORD1: Improve accuracy of menu bars handling
More specifically:
- Improve handling of menu bar fading during a palette fade;
- Fix _getOff not being handled if top menu was disabled.
2023-10-08 22:47:39 +02:00
grisenti
083a3f9211 HPL1: Disable non-portable features in AS library 2023-10-08 22:21:36 +02:00
grisenti
426609e01d HPL1: backport changes from newer AS library release
allows for non-portable features to be disabled
2023-10-08 22:19:10 +02:00
Lothar Serra Mari
10d1d32b89 I18N: Update translation (German)
Currently translated at 99.4% (1989 of 1999 strings)
2023-10-08 18:41:21 +00:00
AndywinXp
772df43094 SCUMM: Fix post load fixes for v3 games
This prevents higher than 1 values for _userPut and
_cursor.state on reload.
2023-10-08 20:03:29 +02:00
ScummVM-Translations
ea975e7e43 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/
2023-10-08 17:35:23 +00:00
AndywinXp
066ffdba60 SCUMM: Fix previous commit on inventory slots 2023-10-08 19:35:07 +02:00
Purple T
19f8d7ca9e I18N: Update translation (French)
Currently translated at 100.0% (1999 of 1999 strings)
2023-10-08 12:44:14 +00:00
AndywinXp
1091e82ed3 SCUMM: Do not fill inventory gaps before v4
Verified from INDY3 and ZAK disasms
2023-10-08 12:04:19 +02:00
ScummVM-Translations
a432ac70df 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/
2023-10-08 06:36:44 +00:00
Ralph Caraveo
f720fba1aa GUI: Adds clear and cls alias for gui console debugger 2023-10-08 08:36:31 +02:00
ScummVM-Translations
0396a08b42 I18N: Update translations templates 2023-10-08 06:32:27 +00:00
ScummVM-Translations
cc3f23e6f1 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/
2023-10-08 06:32:26 +00:00
Ralph Caraveo
e9b8394750 SCI: Provide additional errorString context on crash 2023-10-08 08:32:14 +02:00
Marcel Souza Lemes
91310caac5 I18N: Update translation (Portuguese (Brazil))
Currently translated at 100.0% (1999 of 1999 strings)
2023-10-08 04:41:21 +00:00
IlDucci
a67dd406dd I18N: Update translation (Spanish)
Currently translated at 100.0% (1999 of 1999 strings)
2023-10-07 22:22:59 +00:00
Simon Delamarre
43b0e79864 GOB: Fix a long standing bug in "cleanupStr"
Because of bug introduced in 2009, the cleaned-up string was emptied
instead of being just normalized - a bit radical !

Known to fix the following easter egg in Adibou2: when creating a
character with a name from the Coktel team (e.g. "Cathy"), the birth
date is automatically filled with the real world value.
2023-10-07 23:59:41 +02:00
Kaloyan Chehlarski
1c34e1c614 AGS: Fix for surface blitting-related crashes
This is a second attempt at fixing the crashes that pop up
when attempting to blit past the bottom-right corner of a
surface. The previous commit caused a bunch of surfaces
to not blit their last row, and introduced more drawing
errors in scrolling scenes. Also, made sure the size check in
AVX2 code is 8 bytes everywhere, as this was also likely to
cause issues.
2023-10-07 23:32:11 +03:00
Kaloyan Chehlarski
8fc73a36a6 Revert "AGS: Fix blitting-related crash"
This reverts commit e2720d39f327bd152a472cf41b1272fb0e866d16.
The changes were based on a wrong assumption on where
the issue actually lies, and introduced a new problem:
some surfaces' bottom rows were getting entirely skipped.
2023-10-07 23:32:11 +03:00
Kaloyan Chehlarski
d542838664 Revert "AGS: Fix clipping issue in blitting code"
This reverts commit 90beb8887ec9f593e1a9ef6a67461d95d4b9ae4b.
The changes were based on a wrong assumption on
where the issue lies, and also introduced even buggier
behavior in scrolling scenes.
2023-10-07 23:32:10 +03:00
Kaloyan Chehlarski
7f84df864d AGS: Fix incorrect format check in generic blitting code
This fixes a bunch of errors in 5 Days a Stranger (and all other
games with 16-bit surfaces), including leaked memory and
incorrectly displayed text.
2023-10-07 23:32:10 +03:00
D G Turner
614507859e SCUMM: Fix Unused Variable GCC Compiler Warning 2023-10-07 20:15:45 +01:00
ScummVM-Translations
460d2ca28d 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/
2023-10-07 12:18:26 +00:00
Kaloyan Chehlarski
e2720d39f3 AGS: Fix blitting-related crash
Fixed an off-by-one error in the non-scaling blit code, which
would result in an attempt to draw to one row beyond the
bounds of the dest surface (affects only the optimized paths).
2023-10-07 14:45:31 +03:00
Kaloyan Chehlarski
90beb8887e AGS: Fix clipping issue in blitting code
Fixed a clipping issue that would crash ScummVM when
attempting to blit to a surface with a negative dest x
(affecting both the optimized and non-optimized paths).
2023-10-07 14:45:22 +03:00
Kaloyan Chehlarski
151561e6ee NANCY: Implement KeypadTersePuzzle
Implemented the short variant of KeypadPuzzle introduced
in nancy7. Also added the new flag that marks whether
we need to check the order the buttons were pressed in.
2023-10-07 14:45:22 +03:00
Kaloyan Chehlarski
4aa0727f95 NANCY: Reset textbox scrollbar when adding new line 2023-10-07 14:45:22 +03:00
Kaloyan Chehlarski
3a72322d55 NANCY: Ensure objects' last position is cleared
Added a safeguard against an issue that could pop up
when moveTo() is called multiple times between draws.
2023-10-07 14:45:22 +03:00
Kaloyan Chehlarski
67d36e46b7 NANCY: Add support for nancy7 special effects
The SpecialEffect action record got some significant changes
in nancy7, including a new type of fade, and the removal
of the predefined number of frames to fade. Testing with the
original is tough, since it runs way too fast on modern PCs,
and the new fade type is never actually used properly, so
the current implementation is only an approximation. Also,
I've discovered that prior to these changes the entire screen
got crossfaded, so the screenshotViewport() function is now
entirely removed.
2023-10-07 14:45:22 +03:00
Kaloyan Chehlarski
f126ac3d5f NANCY: Fix intro sound in nancy3
It seems a scene change only interrupts the execution of
the rest of the ActionRecords in a scene starting from nancy4.
Adding the version check fixes the intro of nancy3, where
the narration wouldn't start playing.
2023-10-07 14:45:22 +03:00
Kaloyan Chehlarski
6ed79ba757 NANCY: Add support for Bink video
nancy7 started using Bink videos for some SecondaryMovies
2023-10-07 14:45:21 +03:00
Kaloyan Chehlarski
6475f9bf6a NANCY: Animated Overlay loop improvement
Looping Overlays no longer speed up to "catch up" to the
current frame when a slowdown happens (e.g. when the
console is opened)
2023-10-07 14:45:21 +03:00
Kaloyan Chehlarski
85b1332ab7 NANCY: Do not retain satisfied status for dependencies
Fixed all instances of dependencies that, once satisfied, stay
that way forever. This fixes more complex event flag
dependency like the one in nancy7 scene 2805.
2023-10-07 14:45:21 +03:00
Kaloyan Chehlarski
a3f1695f2d NANCY: Implement terse Overlay variants
Added the short variants of Overlay, OverlayStaticTerse,
and OverlayAnimTerse, which were introduced in nancy7.
2023-10-07 14:45:21 +03:00
Kaloyan Chehlarski
7f16ac517d NANCY: Define kNoScene constant 2023-10-07 14:45:21 +03:00
Kaloyan Chehlarski
8b7c7f9b17 NANCY: Implement SetVolume action record 2023-10-07 14:45:21 +03:00
ScummVM-Translations
066ef760c5 I18N: Update translations templates 2023-10-06 20:25:07 +00:00