Commit Graph

150660 Commits

Author SHA1 Message Date
Walter Agazzi
853c225331 AGS: Engine: fix legacy pathfinder imprecision in some old games
This complements c3a0553e25
adding a configurable parameter. There are no functional differences

From upstream 1c226816e2c3c9c18c3afb976e05535401fc5db4
2024-05-03 17:24:08 +02:00
Tarek Soliman
ea5ccff782 KYRA: Fix building lol without eob 2024-05-03 13:02:14 +02:00
Walter Agazzi
7abf9ab5fd AGS: Engine: fixed "mouse up" event could cause a recursive on_event
First "on_event" firing after mouse button is released may cause a sequence of blocking actions.
If there's any control checks during them, the global "wasbutdown" variable will be tested again,
potentially leading to a recursive "mouse up" event, except it's not run immediately, but scheduled
until after the first one has completed running.

For this reason "wasbutdown" must be reset BEFORE firing any events.

This was broken a VERY long time ago, it seems, probably by commit 2f54a16
From upstream ff1baccbffd8ee79fe3a5aff547e2ac7b8d8aaf5 (branch 3.6.1)
2024-05-03 12:49:51 +02:00
Paul Gilbert
133c189e53 MM: MM1: Further MM1 startup fix 2024-05-02 18:30:56 -07:00
Purple T
3850396fd1 I18N: Update translation (French)
Currently translated at 100.0% (2135 of 2135 strings)
2024-05-02 20:42:49 +00:00
Walter Agazzi
67aa2574bc GLK: Add IF Grand Prix games
Fix #15068
2024-05-02 22:19:36 +02:00
Walter Agazzi
7a50244f8d DIRECTOR: Add picarddossier jp
Fix #15101
2024-05-02 22:16:28 +02:00
scemino
a08689672f DISTS: Add OpenFontIcons.ttf + fonts.dat, fonts-cjk.dat regenerated 2024-05-02 22:06:25 +02:00
Eugene Sandulenko
41b1192b3b
DIRECTOR: DEBUGGER: Show control panel in the top right corner and added frame number to it 2024-05-02 21:01:05 +02:00
Eugene Sandulenko
25dd77d22c
DIRECTOR: DEBUGGER: Improve visuals for Control Panel 2024-05-02 20:23:14 +02:00
Eugene Sandulenko
b4e4ac208c
DIRECTOR: DEBUGGER: Added stub graphics for Control Panel 2024-05-02 14:21:41 +02:00
scemino
acb1d9ee5a DIRECTOR: Update Cast in ImGUI 2024-05-02 13:33:44 +02:00
IlDucci
457fe6fe0b I18N: Update translation (Spanish)
Currently translated at 100.0% (2135 of 2135 strings)
2024-05-02 09:11:51 +00:00
Paul Gilbert
9bf01106fd MM: MM1: Fix crash on startup 2024-05-01 21:55:58 -07:00
Marcel Souza Lemes
42e9dde7d1 I18N: Update translation (Portuguese (Brazil))
Currently translated at 100.0% (2135 of 2135 strings)
2024-05-02 04:42:50 +00:00
Paul Gilbert
11b9df5d63 MM: XEEN: Fix error starting Swords 2024-05-01 21:07:04 -07:00
AndywinXp
f5f6d86d78 SCUMM: SPYFOX3: Fix #15108 and #15106 2024-05-02 01:25:01 +02:00
Eugene Sandulenko
ff24083fd4
GRAPHICS: Make convertTo() work with incomplete palettes
We we always assuming that the provided palette is 256 bytes long,
up to the point that we hardcoded this value and skipped this parameter
almost everywhere.

This changes the default parameter to 256 and allows the lesser values
be passed.
2024-05-01 22:42:03 +02:00
Eugene Sandulenko
5642e2cead
DIRECTOR: Implement interface to toggle breakpoints in Script view 2024-05-01 21:36:13 +02:00
AndywinXp
e1bb816a50 SCUMM: GFX: Simplify expression and fix truncation issue 2024-05-01 19:48:15 +02:00
ScummVM-Translations
8ce0c0bb5c 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/
2024-05-01 16:21:19 +00:00
Walter Agazzi
bb1536e272 AGS: Update dreamswitchhouse + add new games
AGS forums + TRAC #15102
2024-05-01 18:19:17 +02:00
ScummVM-Translations
922c174c8f I18N: Update translations templates 2024-05-01 14:07:11 +00:00
athrxx
b6171112da SCUMM: (HE) - silence some warnings 2024-05-01 16:06:11 +02:00
athrxx
55f1bbd47d SCUMM: (FM-Towns) - add menu option to force 640 x 480 mode
English versions usually run in a 320 x 240 resolution in ScummVM.
The original interpreter uses 640 x 480. It has a unique pause/restart
banner that we cannot display in 320 x 240. So that is really the only
reason for adding this option.
2024-05-01 16:06:11 +02:00
Eugene Sandulenko
03d3d1e363
DIRECTOR: Refactored byte script display 2024-05-01 13:49:24 +02:00
scemino
59554e76a4 DIRECTOR: Add Cast in ImGUI 2024-05-01 13:37:49 +02:00
Eugene Sandulenko
9e5534e53c
DIRECTOR: Improvements to the Channel window
* Set window size to viewport size
* Process factories (not yet properly tested)
2024-05-01 12:31:59 +02:00
Le Philousophe
9c681ddd77 ANDROID: Fix segmentation fault
We expect the array to be of even size so don't add the external data
title if there is no external data mount point
2024-05-01 11:44:10 +02:00
Le Philousophe
8475ef50da ANDROID: Add shim for AccessibilityEvent 2024-05-01 11:44:10 +02:00
Le Philousophe
bb2ebef540 ANDROID: Make a compatibility shim for AudioTrack construction 2024-05-01 11:44:10 +02:00
Le Philousophe
abca8ce013 ANDROID: Split deprecated code in its own function
This allows to remove deprecation warning on a limited part of code
2024-05-01 11:44:10 +02:00
Le Philousophe
bed4b2ee0d ANDROID: Remove deprecated use of toggleSoftInputFromWindow 2024-05-01 11:44:10 +02:00
Le Philousophe
5146495601 ANDROID: Don't use deprecated getDefaultDisplay and getMetrics 2024-05-01 11:44:10 +02:00
Le Philousophe
c155e3dc3b ANDROID: Remove old compatibility code
We don't support something like Honeycomb anymore
2024-05-01 11:44:10 +02:00
Le Philousophe
35e6c7a094 ANDROID: Introduce Compatibility helper class
It's kind of based on Androidx but is simpler and goes up to Jelly Bean.
This removes a bunch of warnings.
2024-05-01 11:44:10 +02:00
Le Philousophe
2522cba583 ANDROID: Don't use deprecated WiFi API
Use ConnectivityManager instead:
- it's more accurate
- it has been available since API level 16 which is the minimum we
  require
- it removes a deprecation warning
2024-05-01 11:44:10 +02:00
sluicebox
86891601d1 CI: Use macos-13, set macosx destination 2024-05-01 11:42:35 +02:00
Eugene Sandulenko
b98f0e2d50
DIRECTOR: Initial code for bytecode script browser 2024-05-01 02:15:41 +02:00
athrxx
55d7f16dc1 SCUMM: (v5/FM-Towns) - fix regression 2024-05-01 01:54:14 +02:00
athrxx
b868dab4c5 SCUMM: (V3/FM-Towns) - partial fix for bug no. 15027
(INDY3 (FMTowns): Map lines are drawn incorrectly)

This fix addresses the part concerning the line width of the travel
marker. Turns out that SCUMM3 FM-Towns draws all boxes one
pixel wider and higher on virtual screens other than 1. This also
allows removal of a hack in ScummEngine_v5::o5_drawBox().

I also fixed the old style pause/restart banners, since they incorrectly
used drawBox() for line drawing (which would be glitchy with the now
verdrawing drawBox(). The positive outcome is that we no have original
looking FM-Towns banners (only in Japanese, though, since - unlike the
original - we don't run the English version in 640x480).

The changed method of drawing and removing the banner also fixes
the removal of the black country borders on the map. But it will still
be removed below the pause banner and in the spots where the travel
marker passes the border. So that has to be addressed separately.
2024-04-30 23:29:53 +02:00
Eugene Sandulenko
fb6b349a77
DIRECTOR: Better layout for Channels window 2024-04-30 22:38:00 +02:00
NorwayFun
d55b49dcda I18N: Update translation (Georgian)
Currently translated at 56.0% (1195 of 2133 strings)
2024-04-30 18:40:21 +00:00
Timo Mikkolainen
c35d2d6098 I18N: Update translation (Finnish)
Currently translated at 100.0% (2133 of 2133 strings)
2024-04-30 18:40:20 +00:00
AndywinXp
410a3241f1 SCUMM: HE: Address some PVS issues
PVS-Studio V519, V501

Thanks sluicebox!
2024-04-30 17:07:37 +02:00
Matthew Jimenez
4931f6405b ULTIMA8: Adjust run and walk threshold calculation.
Previous calculation only used half the range of 0-255.
2024-04-30 07:58:46 -05:00
Matthew Jimenez
e678ed2bb8 ULTIMA8: Override mouse length with step & run key binds
This with a low walk threshold provides a solution for feature request #15105
2024-04-30 07:16:55 -05:00
Matthew Jimenez
f73b9b0c48 ULTIMA8: Add config settings for walk and run thresholds 2024-04-30 07:16:55 -05:00
Eugene Sandulenko
5bcc36155c
DIRECTOR: Slight improvements to Channels dialog 2024-04-30 14:12:14 +02:00
Antoniou Athanasios
3cb107a1d8 I18N: Update translation (Greek)
Currently translated at 100.0% (2133 of 2133 strings)
2024-04-30 10:06:23 +00:00