Commit Graph

143329 Commits

Author SHA1 Message Date
ScummVM-Translations
17084a399f I18N: Update translations templates 2023-07-19 13:31:00 +00:00
Eugene Sandulenko
73ea1caedf
GUI: Added checkbox to disable BDF scaling. Bump theme version 2023-07-19 15:30:22 +02:00
Eugene Sandulenko
308e2fd340
GUI: Added possibility to disable BDF font scaling
Specify "gui_disable_fixed_font_scaling". The checkbox in the GUI will follow
2023-07-19 15:17:28 +02:00
Harishankar Kumar
7b6b6a5541 DIRECTOR: Refactor checks inside setAutoPuppet function
To make code cleaner and avoid duplication of code, moved the checks
inside setAutoPuppet function.
2023-07-19 14:57:59 +02:00
Harishankar Kumar
05c03891b8 DIRECTOR: auto-puppet skip individual properties in frame loading
It has been mentioned in "Director in a Nutshell, pg 15" that
auto-puppet is first introduced in D6, therefore completely
dropping checks for D2-D5. Also added code that skips individual
property of a frame if that specific property is found it be
auto-puppet.

eg, A sprite has change in `locH` and `blend`, and blend is auto-puppeted
(it was set somewhere before, and autoPuppet flag for this bit is true),
then that means frame loading will only skip any changes made to `blend`
and will load `locH` as usual.
2023-07-19 14:57:59 +02:00
Harishankar Kumar
e01bb235f7 DIRECTOR: Support individual auto-puppet sprites properties
According to "Director in a Nutshell, page 15", autoPuppet unlike
puppet is not a single property, instead it is individual for each
sprite property, ie we can have auto-puppet locH of sprite, but
other properties are not auto-puppet.

This change adds support for individual auto-puppet properties.
2023-07-19 14:57:59 +02:00
Harishankar Kumar
b1da9423b9 DIRECTOR: Refactor scoreCachedPaletteId to frames loading
Move caching logic of scoreCachedPaletteId from Score to Frame.
2023-07-19 14:57:59 +02:00
Harishankar Kumar
e13eba2162 DIRECTOR: Refactor tempo, remove scoreCachedTempo
This removes the scoreCachedTempo from main channel struct, it was
observed that with advent of on demand frame loading, the tempo is
automatically being overwritten when found in score, this renders
previous logic to cache tempo and carry to forward useless.

`More Puppets` of 'theapartment-4` is now working.
2023-07-19 14:57:59 +02:00
Harishankar Kumar
329e63b662 DIRECTOR: Refactor main channels into struct
Main channels of frame is now refactored into struct, this is
to make it easier to copy/add more flags and integrate it with
frames loading.
2023-07-19 14:57:59 +02:00
Harishankar Kumar
994d284d71 DIRECTOR: Set sprite _startPoint when setting location
Initially, all the changes to sprite location (ie set the locH..) was
being assigned to _currentPoint, which is not carried over to sprite,
thus the changes were not being applied.

Fixes bullet not showing when firing gun in
--start-movie="ATD\HD\bdDREAMA.DXR" totaldistortion-win
2023-07-19 14:57:59 +02:00
Harishankar Kumar
59f0433c5a DIRECTOR: Add >=D6 checks to autoPuppet cast property. 2023-07-19 14:57:59 +02:00
Harishankar Kumar
543db81f30 DIRECTOR: Copy back sprites from channel to frame
Without this the lingo modified non puppet sprites properties were not
being reflected in the frame. Now what happens is if you modify a non
puppet property then lingo will temporarily override the score (ie that
property is remain the same until an update from score is encountered)

This closely resembles the behaviour of the original engine.
2023-07-19 14:57:59 +02:00
Eugene Sandulenko
9c3baec6a4
Revert "DIRECTOR: Support "me(blah 1, 2)" syntax, e.g. no comma after the method name"
This reverts commit 9153ec4f52.

With the current grammar change, foo(bar(5)) is treated as foo(bar 5) which
obviously breaks too many things
2023-07-19 13:22:02 +02:00
Eugene Sandulenko
9153ec4f52
DIRECTOR: Support "me(blah 1, 2)" syntax, e.g. no comma after the method name
This is used in totaldistortion-win

   --start-movie="ATD\HD\bdDREAML.DXR"

When the bulb explodes, the Lingo tries to execute a constructed
   do("me(bubdie2 5, 75)")

which then leads to syntax error.

The original allowed this broken Lingo syntax
2023-07-19 13:05:31 +02:00
neuromancer
0d585896ed FREESCAPE: correct computation of mouse position when clicking onscreen controls 2023-07-19 12:12:06 +02:00
Scott Percival
856ec09514 DIRECTOR: XOBJ: Replace crash in parseMCICommand with warning 2023-07-19 10:52:01 +02:00
Scott Percival
2f64b8cd32 DIRECTOR: XOBJ: Add stub for ManiacBg 2023-07-19 10:52:01 +02:00
Scott Percival
45f5678eab DIRECTOR: Add ability to fake the current date
Required for titles which stop working after a certain date,
e.g. the Hollywood High "Be a Hollywood Hot Shot Contest" promo.
2023-07-19 10:52:01 +02:00
Scott Percival
dff38babeb DIRECTOR: Fix palette loading for D2
PaletteCastMembers exist in D2, and the process for loading them is
the same as in D3. The special case in Cast::loadCast() isn't needed.

In D2 the PaletteCastMember::load() hook wasn't getting called;
we solve this by copying the load() hook to loadCastDataVWCR, which will
get called even if there are no CastInfo objects.

Fixes the colour-cycling Invictus logo in Alice: An Interactive Museum.
2023-07-19 10:52:01 +02:00
Eugene Sandulenko
9717100508
AD: Added more common file names to graylist 2023-07-19 10:48:41 +02:00
Marcel Souza Lemes
336c63c6e6 I18N: Update translation (Portuguese (Brazil))
Currently translated at 100.0% (1951 of 1951 strings)
2023-07-19 03:40:46 +00:00
Misty De Meo
26e203856f
DIRECTOR: fully remove old shared cast
When reloading the shared cast, erase the references from both
_allSeenResFiles and _allOpenResFiles. In the case that the shared
cast is reloaded from a different path, this would leave a dangling
reference in _allOpenResFiles. This would then lead to a crash later
when enumerating _allOpenResFiles and trying to access the found
path in _allSeenResFiles.

Fixes a crash in the D4 version of Alice which would occur when loading
the cursor. This occurs since Alice ends up loading first Shared.dir and
then DATA:Shared.dir, leaving a dangling reference to Shared.dir in
_allSeenResFiles.

Issue was introduced in 9aa0958736.
2023-07-18 15:45:10 -07:00
Purple T
5e3a767b74 I18N: Update translation (French)
Currently translated at 100.0% (1951 of 1951 strings)
2023-07-18 20:41:09 +00:00
Misty De Meo
793d958bbd
DIRECTOR: add The Treasure Hunt 2023-07-18 13:24:37 -07:00
Misty De Meo
85783e4a82
DIRECTOR: add willywabbitmosaic 2023-07-18 13:24:37 -07:00
Misty De Meo
4548593108
DIRECTOR: add SG version of Willy Wabbit Mac 2023-07-18 13:24:36 -07:00
athrxx
8040f2a8ce KYRA: (EOB II/ZH) - fix party/inventory/stats pages 2023-07-18 21:36:20 +02:00
athrxx
15415dc7f4 KYRA: (EOB II/ZH) - fix character name length 2023-07-18 21:36:16 +02:00
athrxx
f93a3acd2d KYRA: (EOB/Amiga) - fix text color regression 2023-07-18 21:36:12 +02:00
athrxx
4d1e616816 KYRA: (EOB II/ZH) - update static resources
(still weren't complete; also fix a couple of PC98 strings)
2023-07-18 21:36:08 +02:00
athrxx
1f97973e01 KYRA: (EOB II/ZH) - fix minor text glitch 2023-07-18 21:36:04 +02:00
sluicebox
5a9f14cc4e SCI32: Fix kSetShowStyle version checks
Fix version checks and divisions table. Now the early SQ6 demos start.

Fix version typo introduced in e23f5fe855
2023-07-18 11:48:26 -07:00
sluicebox
c3f6ccfdca SCI32: Add fixes for early SQ6 demos 2023-07-18 11:48:26 -07:00
sluicebox
f16f8c792f SCI32: Fix SQ6 demo inventory crash
Fixes bug #14547
2023-07-18 11:46:38 -07:00
Lothar Serra Mari
637d35e864 ANDROID: Update German translation of store metadata 2023-07-18 13:38:39 +02:00
Harishankar Kumar
abb4b988ad DIRECTOR: Fix memory leaks when using b_move and lingotests
Fixed memory leaks in `builtin.lingo` where the problem was due
to not deleting existing cast member before replacing it inside
`createOrReplaceCastMember`, the lingo instruction `move cast 1,3`
was having problems.

-p ./engines/director/lingo/tests/ --start-movie=builtin.lingo directortest
2023-07-18 13:09:03 +02:00
Harishankar Kumar
bf3f43ef64 DIRECTOR: LINGO: b_scummvmassertequal working for arrays
Initially `b_scummvmassertequal` was not working for arrays comparison
thus the test was failing. Now it is working and the tests are passing.

-p ./engines/director/lingo/tests/ --start-movie=sort.lingo directortest
2023-07-18 13:09:03 +02:00
VAN-Gluon
d4d86bb0e3 I18N: Update translation (Japanese)
Currently translated at 100.0% (1951 of 1951 strings)
2023-07-18 09:13:33 +00:00
IlDucci
28812ac40f I18N: Update translation (Spanish)
Currently translated at 100.0% (1951 of 1951 strings)
2023-07-18 09:13:28 +00:00
ScummVM-Translations
a458237999 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-07-18 08:37:37 +00:00
antoniou79
5cb87c1eca ANDROID: Remove LEANBACK_LAUNCHER from AndroidManifest
Since June 30, 2023 Play Store requires TV apps that use this category to use the app bundle distribution model

Since we currently build separate APKs this removal is a temporary measure for the upcoming release of 2.7.1.
However, we should re-instate the tag when we switch to the App Bundle distribution module and perhaps investigate, test
and resolve any other issues related to running the ScummVM Android app for TVs.
2023-07-18 11:32:05 +03:00
ScummVM-Translations
b073fda7e2 I18N: Update translations templates 2023-07-17 19:42:36 +00:00
Lars Sundström
1d63f4f0af IOS7: Update virtual controller on orientation changes
The virtual controller layout is not updated properly on
orientation changes. Buttons can be placed outside the screen.
Make sure to set the GCControllerView properties on orientation
changes by connecting the virtual controller based on the
user settings.

On iPhones the virtual game controller buttons does not fit
within the screen borders in portrait mode. Disconnect the
virtual controller on iPhones when changing orientation to
portrait mode.
2023-07-17 21:42:25 +02:00
Lars Sundström
77244e516f IOS7: Set virtual gamepad controller properties
Utilize an undocumented way to find the GCControllerView by drilling
down the subviews. When found, set the GCControllerView frame size
to full screen size to make sure all buttons do fit within the
screen boundries. This is important to do on devices with safe areas
like iPhones with the sensor panel.

Set the GCControllerView alpha to the user specified value.
2023-07-17 21:42:25 +02:00
Lars Sundström
3c85d6a7a6 IOS7: Add on-screen opacity to iOS backend options
Let the user configure the opacity for the on-screen controls using
a slider with allowed values from 1 to 10, where 10 is 100%.
2023-07-17 21:42:25 +02:00
Torbjörn Andersson
086661d2d9 AGI: Fix regression in Winnie the Pooh graphics
The left side of each picture was cut off, and padded with white at the
right side instead. This regression was introduced somewhere between
1.7.0 and 1.8.0 as part of a "graphics rewrite + cleanup".
2023-07-17 15:27:45 +02:00
BLooperZ
150984d11f ASYLUM: Add Hebrew board puzzle 2023-07-16 23:53:26 +03:00
Eugene Sandulenko
88462f03b7
DIRECTOR: JANITORIAL: Added few whitespaces 2023-07-16 14:02:18 +02:00
Scott Percival
889130a3fa DIRECTOR: Share Sprite parsing code between Frame and FilmLoopCastMember 2023-07-16 14:01:48 +02:00
Scott Percival
f4bab7a34d DIRECTOR: Add missing guardrail for Cast::loadExternalSound 2023-07-16 14:01:48 +02:00