137297 Commits

Author SHA1 Message Date
Martin Gerhardy
2cc9844c9e TWINE: fixed holomap arrow positions 2023-01-20 17:17:37 +01:00
Martin Gerhardy
6fc57dd947 TWINE: renamed clip methods
and synced drawHoloObj with original source code
2023-01-20 17:06:11 +01:00
Martin Gerhardy
0aab461f60 TWINE: use original holomap rendering methods 2023-01-19 19:59:11 +01:00
Martin Gerhardy
889b4b6aee TWINE: use the original render methods code
fixed bug #14019 https://bugs.scummvm.org/ticket/14019

allocate single buffers to detect buffer overflows easier
removed radius modification
don't clamp vertices
use vtop and vbottom and converted them to int16
2023-01-20 16:02:22 +01:00
Martin Gerhardy
caa9321815 TWINE: use original line drawing algorithm 2023-01-20 16:00:53 +01:00
Martin Gerhardy
bfa8af9b94 TWINE: cleanup in return values 2023-01-20 16:00:53 +01:00
Walter Agazzi
8c887bdd8c I18N: Update translation (Italian)
Currently translated at 100.0% (1808 of 1808 strings)
2023-01-20 14:52:56 +00:00
George Kormendi
e9023717e0 I18N: Update translation (Hungarian)
Currently translated at 100.0% (1808 of 1808 strings)
2023-01-20 14:25:13 +00:00
Lothar Serra Mari
fe092355a9 I18N: Update translation (German)
Currently translated at 100.0% (1808 of 1808 strings)
2023-01-20 14:24:59 +00:00
Walter Agazzi
f2a41c8476 AGS: Updated build version (3.6.0.36)
From upstream 17503d7bd066e8bd4a5af490c9ab053a47e4468f
2023-01-20 14:14:56 +00:00
Walter Agazzi
5ae3427f9d AGS: Common: simplified MFLUtil::ReadEncInt32(), use conditional function
Apparently, this was already done once in b6b8701, but then broken soon after by a merge 22e3a83 (years ago).
From upstream 50800e0e2aca0b7678af4a24bd6322d82261760f
2023-01-20 14:14:56 +00:00
Walter Agazzi
da147138d4 AGS: Script API: removed a rule that Viewport and Camera 0 can't be deleted
This was a silly thing to have, and actually it was not
implemented correctly, as a cam or viewport with 0th index is not
necessarily the "primary" one (set as Game.Camera and
Screen.Viewport). The logic was rather weak there anyway.

From upstream eb90cfa46251d595f8b8f8c5f29ea720d2833038
2023-01-20 14:14:56 +00:00
Walter Agazzi
300379a2d6 AGS: Engine: ScreenOverlay.SetImage() accepts offset as arguments
+ Fixed overlays losing offsets when restoring a save.

From upstream 2002caf32882ab28accd544369c9991675a0dcb1
2023-01-20 14:14:56 +00:00
Walter Agazzi
7e3c3f1f0b AGS: Engine: reimplemented Overlay.SetText without call to _display_main()
Previously Overlay.SetText was passing into CreateTextOverlay() -> Overlay_CreateTextCore() -> _display_main().
This effectively removed and recreated an overlay with different image but the same ID.

Also, previously, this method could have been only called for custom overlays in practice.
For these the script object was not touched, and kept the correct overlay reference.

The situation has changed when we let user script to access some of the internally created
 overlays, such as Text and Portrait overlays created by a blocking Say command.
When these overlays are recreated, they also must be completely destroyed, invalidating any
existing script references. Hence calling _display_main() from Overlay.SetText() is no longer
acceptable, as it leads to a full overlay recreation, and possible duplication of a script
reference with two (or more) separate managed handles (this is almost like, two shared
pointers owning same object).

To fix this problem, here we replace a call to CreateTextOverlay() with manual recreation of a
textual image, and assigning a new image to the same overlay.
This does not change anything from the script's POV, as SetText method already suggests
that the overlay reference remains valid (previously only the internal object was secretly
replaced).

From upstream aaf6144e5123d36e4f04fcc6592b02ec18f869e0
2023-01-20 14:14:56 +00:00
Walter Agazzi
51e541cfb6 AGS: Remove unneeded La Croix Pan workaround
The help text now behaves like the original game
2023-01-20 14:14:56 +00:00
Walter Agazzi
862759135e AGS: Engine: split out create_textual_image() out of _display_main()
This simply makes generation of the textual image a separate function that may be used elsewhere, besides creating a new message overlay.
From upstream a49550d32e9ea210e2d9b6711157251359d3c4c0
2023-01-20 14:14:56 +00:00
Walter Agazzi
6f82ba6008 AGS: Engine: fixed ScriptOverlay loosing ID when changing text
From upstream acd7ac23d35aafbceb0115b3c3ae1a946e4de20a
2023-01-20 14:14:56 +00:00
Walter Agazzi
5dea74f224 AGS: Engine: also print uid into log along with guid
From upstream e1d0e9648173629e0345b528b79a490d5e345ee1
2023-01-20 14:14:56 +00:00
Walter Agazzi
b1d4f4ee47 AGS: Engine: print game's guid into log along with the title
From upstream 473604e6dafb647b83f039ea4ca5db97975325d0
2023-01-20 14:14:56 +00:00
Walter Agazzi
dcba4db6f1 AGS: Engine: fixed voice is disabled if tried to enable already enabled vox
From upstream 24eb9c8f16cfc518ae343f825d49f05cefaee32e
2023-01-20 14:14:56 +00:00
Walter Agazzi
5614bc15de AGS: Engine: prevent cursor from leaving game area
From upstream 8cf49996d05a6fb4fd8691fa87fb6a12114e45d7
2023-01-20 14:14:56 +00:00
Walter Agazzi
2ef1dfd3a6 AGS: Engine: fixed few typos in error messages
From upstream dd961852cf3e94c202dd0d9a7984f90e48ccd2fa
2023-01-20 14:14:56 +00:00
Lothar Serra Mari
5a49cc0776 NEWS: Mention latest SCUMM improvements in German NEWS file 2023-01-20 14:52:36 +01:00
ScummVM-Translations
d5afc7c596 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-01-20 13:45:56 +00:00
Lothar Serra Mari
7773628277 NEWS: Mention latest SCUMM improvements in German NEWS file 2023-01-20 14:45:30 +01:00
Lothar Serra Mari
029430ddd7 I18N: Update translation (German)
Currently translated at 100.0% (1806 of 1806 strings)
2023-01-20 13:18:55 +00:00
ScummVM-Translations
7b2bd0fe1c I18N: Update translations templates 2023-01-20 13:14:18 +00:00
Le Philousophe
baf42ae7e6 ANDROID: Add a dialog to revoke SAF authorizations
Remove old all-in-one revoke authorizations process
2023-01-20 14:14:03 +01:00
Le Philousophe
f78e79fd4f ANDROID: Clear SAF cache when activity is hidden
This allows to refresh when user changed the folders behind ScummVM back
2023-01-20 14:14:03 +01:00
Le Philousophe
a465718c24 ANDROID: Fix comment
For coherence sake
2023-01-20 14:14:03 +01:00
Le Philousophe
f939e442bb ANDROID: Increase SDK version 2023-01-20 14:14:03 +01:00
Le Philousophe
ca1dbfc9d6 ANDROID: Add SAF support 2023-01-20 14:14:03 +01:00
Le Philousophe
0fdf53f984 ANDROID: Remove platform specific code from shared code 2023-01-20 14:14:03 +01:00
Le Philousophe
c60ad0a554 ANDROID: Various cleanups in JNI
Mostly fixing memory leaks (Java references).
No need to preinit semaphore (sem_init is called).
First initialize methods ID before starting anything.
Aborts if a method is not found.
2023-01-20 14:14:03 +01:00
Le Philousophe
9631567923 ANDROID: Add a method to get running SDK version
Co-authored-by: antoniou79 <a.antoniou79@gmail.com>
2023-01-20 14:14:03 +01:00
Le Philousophe
c84c9cd313 ANDROID: Update build tools
Update minSdkVersion to fit with what the code do
2023-01-20 14:14:03 +01:00
Le Philousophe
e17b34c9dc ANDROID: Store JNI environment in a thread local variable
This avoids to query JVM every time we need to do a JNI call.
A different environment is attached to each thread, hence the TLS
variable.
2023-01-20 14:14:03 +01:00
Le Philousophe
54fd20c36c POSIX: Refactor DrivePOSIXFilesystemNode to allow for dynamic drives 2023-01-20 14:14:03 +01:00
Le Philousophe
787d4e1db6 POSIX: Allow to subclass DrivePOSIXFilesystemNode
Without this, there are some cases where the nodes created are not the
subclass.
Also make _config available to derived classes.
2023-01-20 14:14:03 +01:00
Eugene Sandulenko
8feb679e92
DIRECTOR: Fix warnings 2023-01-20 14:01:20 +01:00
Eugene Sandulenko
c4afc4ac3e
JANITORIAL: Remove excess empty lines 2023-01-20 14:01:20 +01:00
Eugene Sandulenko
b8e6bbcce4 I18N: Update translation (Ukrainian)
Currently translated at 100.0% (1807 of 1807 strings)
2023-01-20 11:57:21 +00:00
Eugene Sandulenko
569f887ac0 I18N: Update translation (Russian)
Currently translated at 100.0% (1807 of 1807 strings)
2023-01-20 11:57:13 +00:00
Martin Gerhardy
ba37360480 TWINE: fixed renderObjectIso return value check
error introduced in ad23fb4dc7b05cb57e527e7789ca6be409120f76
2023-01-20 12:31:58 +01:00
neuromancer
d7d0f9b6c0 FREESCAPE: added detection of zx spectrum disk release of driller 2023-01-20 12:22:18 +01:00
neuromancer
8c14ff08e0 FREESCAPE: initialize _inkColor and _paperColor from Area object 2023-01-20 12:22:18 +01:00
Vladimir Serbinenko
8f775a4cc2 NEVERHOOD: Reload BOBBY puzzle when changing languages with NHC.
This has slightly different logic that original NHC override library.
Original library attempts to rotate the solution and current state by the
same amount. We do the following:

1. If correct solution didn't change, load as usual
2. If correct solution changed and puzzle was already solved, set both current
   and correct solution to the new correct solution
3. If correct solution changed and puzzle was not already solved, reinit the
   puzzle
2023-01-20 12:07:23 +01:00
Martin Gerhardy
ad23fb4dc7 TWINE: renamed stuff to match original sources 2023-01-20 12:02:54 +01:00
ScummVM-Translations
575b928b17 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-01-20 10:57:37 +00:00
AndywinXp
7fc6f69c0f NEWS: Update SCUMM section 2023-01-20 11:57:20 +01:00