Commit Graph
137148 Commits
Author SHA1 Message Date
Thierry Crozat c9682dfbcf OPENGLSDL: Fix changing scaler with hotkey in games
Also improve decreasing the scaler when using a custom window size.
2021-08-13 23:58:34 +01:00
Walter Agazzi 241635372c I18N: Update translation (Italian)
Currently translated at 100.0% (1663 of 1663 strings)
2021-08-13 21:46:48 +00:00
Roland van Laar 9dc24508d0 DIRECTOR: Handle sndCommand 0x8050
0x8050 seems to be handled the same as 0x8051.
Was added to allow for 'Double Click' demo movie.
2021-08-13 23:32:38 +02:00
Timo Mikkolainen 5a948ab98b I18N: Update translation (Finnish)
Currently translated at 100.0% (1663 of 1663 strings)
2021-08-13 21:15:00 +00:00
Lothar Serra Mari 27f5e87536 I18N: Update translation (German)
Currently translated at 99.5% (1655 of 1663 strings)
2021-08-13 21:14:59 +00:00
IlDucci 50ca884279 I18N: Update translation (Spanish)
Currently translated at 100.0% (1663 of 1663 strings)
2021-08-13 21:14:54 +00:00
djsrv 48c4b08d0a DIRECTOR: LINGO: Allow scripts to call event handlers 2021-08-13 17:10:25 -04:00
a/ 87b1f858e5 SAGA2: Add check for out-of-range access in audioEnvironmentCheck 2021-08-14 06:04:43 +09:00
ScummVM-Translations 29d51b3e45 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-08-13 21:03:35 +00:00
Andrea Boscarino 75b36c6fd8 SCUMM: DiMUSE: Implement actual setVolume and setPan constraints 2021-08-14 00:03:23 +03:00
ScummVM-Translations d977e5ae92 I18N: Update translations templates 2021-08-13 20:41:42 +00:00
Thierry Crozat 5caacb763b SDL: Change signature of getDpiScalingFactor to return the result 2021-08-13 21:41:33 +01:00
Thierry Crozat ad31dfc8d5 GUI: Handle the GUI Scale option as a scaling rather than base resolution
Now that we can get an accurate HiDPI screen scaling from OSystem,
defaulting to using that seems to make sense. But we may still want
to use a slightly different scaling. The GUI scale option allows
that by providing a scaling (in percentage) with which to multiply
the HiDPI scaling.

I think it works better than a base resolution as it avoids having
the GUI getting bigger or smaller when we resize the window.

This commit keeps a popup widget, but this could be changed with
 a slider if we want more fine grain control.
2021-08-13 21:41:33 +01:00
Thierry Crozat abf782c670 COMMON: Remove kFeatureHiDPI from OSystem and use getHiDPIScreenFactor instead 2021-08-13 21:41:33 +01:00
Thierry Crozat 4ad54446f8 SDL: Get accurate HiDPI scaling on macOS
This fixes incorrect scaling on some non-retina screens that were
detected as HiDPI.
2021-08-13 21:41:33 +01:00
Thierry Crozat fe377775d6 ANDROID: Implement getHiDPIScreenFactor
This is a placeholder implementation that preserves the current
behaviour (asusmes a scaling of 2). But since the Android API
provides a way to get an accurare device-dependent scaling, this
should probably be used.
2021-08-13 21:41:33 +01:00
Thierry Crozat 2649f022de IOS7: Implement getHiDPIScreenFactor 2021-08-13 21:41:33 +01:00
Thierry Crozat 63dd44a81d SDL: Implement getHiDPIScreenFactor 2021-08-13 21:41:33 +01:00
Thierry Crozat 6d8462674f COMMON: Add getHiDPIScreenFactor to OSystem 2021-08-13 21:41:33 +01:00
sluicebox f20c9ab958 SCI: Fix pathfinding debug colors in SCI 1.1 games
The pathfinding debugging code is using Sierra's buggy 8-bit matching
algorithm to find colors for drawing obstacles and path points in most
of the SCI 1.1 games. This usually results all colors being black.
Now we select the good 16-bit algorithm for internal use.
2021-08-13 15:36:15 -05:00
sluicebox ee43d777c4 SCI: Fix crash in pathfinding debug code
Fixes crash when kDebugLevelAvoidPath is enabled and kMergePoly merges
room obstacles, such in QFG1VGA after defeating a monster.

The debugging code that draws obstacles uses the polygon type as an
index to a color array and asserts that this value is between 0 and 3,
but that didn't take into account the 0x10 flag that kMergePoly sets.
2021-08-13 15:36:15 -05:00
a/ 56a4ac1c03 SAGA2: Remove SSI save stub warnings 2021-08-14 05:15:33 +09:00
a/ aac41f36f8 SAGA2: Fix StorageSpellInstance saving 2021-08-14 05:14:05 +09:00
Carlo Bramini f44e87dfb7 WIN32: Remove F_OK/R_OK/W_OK hack (#3265)
In backends/fs/windows/windows-fs.cpp, the macros F_OK/R_OK/W_OK are not defined by system includes of MSVC, so they have been added manually into the code.
While this solution works, in my opinion it would be much cleaner to use GetFileAttributes() for getting this information.
Actually, this is what the _access()/_waccess() functions do and, afterall, this is a piece of code expected to work on Windows only.
2021-08-13 21:58:01 +03:00
a/ 79d35c92b9 SAGA2: Fix Effectron flags initialization 2021-08-14 03:37:24 +09:00
Eugene Sandulenko b58aa4ca61 DIRECTOR: Set machine type depending on the game platform 2021-08-13 19:58:21 +02:00
djsrv 43d676e56f Revert "DIRECTOR: Set default palette based on platform"
This reverts commit 49122e135b.
This made Meet MediaBand for Windows use the wrong palette.
More investigation is needed.
2021-08-13 13:18:23 -04:00
Eugene Sandulenko 84cddcf3f6 DIRECTOR: Initial support for l-zone MacII 2021-08-13 17:35:38 +02:00
Eugene Sandulenko a197e7e795 COMMON: Added MacintoshII platform 2021-08-13 17:07:27 +02:00
a/ 0bdf49fb71 SAGA2: Fix strlcpy range in document.cpp 2021-08-13 22:50:26 +09:00
a/ 81909e6dab SAGA2: Replace remaining SpecialKey uses by Common::KeyCode 2021-08-13 22:41:02 +09:00
a/ 0793305470 SAGA2: Fix Return and Escape keys on gTextBox 2021-08-13 22:17:21 +09:00
ysj1173886760 ca0e7c4a79 DIRECTOR: fix BITD decoder. 2021-08-13 21:05:28 +08:00
a/ 9e894a82d6 SAGA2: Fix mouse tooltip centering 2021-08-13 21:57:12 +09:00
a/ 5001268e3b SAGA2: Fix protagonist check in ObjectSensor::check 2021-08-13 21:57:12 +09:00
ysj1173886760 d00c5d1c36 DIRECTOR: fix _interLinear in mactext.
looks like it's the max text height, instead of the height of intervals of line.
2021-08-13 20:27:18 +08:00
ysj1173886760 67e47115d0 DIRECTOR: apply line spacing for text castmember. 2021-08-13 20:27:18 +08:00
alxpnv 3046bcb38c ASYLUM: (VCR puzzle) fix transition to video 2021-08-13 14:56:50 +03:00
alxpnv 68b204b9ef ASYLUM: add preliminary support for the Steam version 2021-08-13 14:56:49 +03:00
D G Turner 100541f247 AGS: Fix Set-But-Unused Variable GCC Warning 2021-08-13 12:36:20 +01:00
ysj1173886760 000efc160d DIRECTOR: update video time when render sprites. 2021-08-13 18:03:19 +08:00
ysj1173886760 c777d7452f DIRECTOR: fix getting duration. 2021-08-13 18:03:19 +08:00
Martin Gerhardy 0bc61bf574 TWINE: allow to re-use parser instances
... by resetting the previously parsed data
2021-08-13 10:41:13 +02:00
djsrv 0603d7f5a7 DIRECTOR: Exit transition early if user quits 2021-08-13 00:12:41 -04:00
djsrv 49122e135b DIRECTOR: Set default palette based on platform 2021-08-13 00:12:41 -04:00
Paul Gilbert 72cbc27fa3 AGS: Added TFG detection entries 2021-08-12 19:19:39 -07:00
djsrv 0cc5081ef4 DIRECTOR: Fix movie time overflow 2021-08-12 21:40:52 -04:00
djsrv 6abbdf4384 DIRECTOR: Decode labels 2021-08-12 17:25:16 -04:00
Thierry Crozat b33746e37f IOS7: Fix building with Xcode
This partially revert commit 0ff00cca2a and should hopefully
fix bug #12647.

The issue is that the executable name in the Info.plist did not
match the name of the executable generated by Xcode (ScummVM vs
scummvm). I changed it back to $(EXECUTABLE_NAME), which is
automatically replaced by Xcode, and added a sed command to the
make target to replace it with the actual executable name (as
we did with the $(PRODUCT_BUNDLE_IDENTIFIER) already).

An alternative would be to hardcode the name to "scummvm" in the
Info.plist and change the iphonebundle and ios7bundle target to
also use all lower case scummvm when copying the executable.
2021-08-12 21:27:30 +01:00
Walter Agazzi 34cc3cf6ed I18N: Update translation (Italian)
Currently translated at 100.0% (1663 of 1663 strings)
2021-08-12 20:11:18 +00:00