Filippos Karapetis
66cbaeefe2
SCI32: Adapt the pathfinding debug code to work woth SCI32 games
2018-08-25 12:39:12 +03:00
Michael Zinn
82e8bc43e6
IOS: Fix Arrow Key Capture in TextInputHandler.
...
This should fix these working from external keyboards i.e. IPad Pro and
other sources as well.
This is presumably what the original author intended.
2018-08-23 23:42:52 +01:00
Purple T
4865b02e39
I18N: Update translation (French)
...
Currently translated at 100.0% (989 of 989 strings)
2018-08-24 00:01:16 +02:00
Dan Church
192a885af6
BUILD: Fix build failure
...
Only happens when --enable-plugins is turned on.
2018-08-23 23:01:09 +01:00
lolbot-iichan
e97b1e560d
WINTERMUTE: Check keyboard state array index
...
vKeyToKeyCode() method was unsafe if vkey >= KEYSTATES_ARRAY_SIZE was
provided, fixed
2018-08-23 11:33:13 +02:00
lolbot-iichan
52b4206771
WINTERMUTE: Support more key codes for mapping
...
some keypresses were producing warnings because key codes were not
listed in
mappings, added more key codes
2018-08-23 11:33:13 +02:00
lolbot-iichan
20816b9f90
WINTERMUTE: Fix printable flag for keyboard state
...
_currentPrintable was set depending on _currentCharCode, which is 112
for both F1 and 'p' keys, fixed after detailed research on which keys
should be considered printable
2018-08-23 11:33:13 +02:00
Hubert Maier
8175439e3b
Fix link
...
Fix the Compiling AmigaOS4 link
2018-08-22 20:23:00 -04:00
Filippos Karapetis
4dc9f0e66d
SCI32: Fix attacking necrotaurs with the sword in QFG4
...
Fixes bug #10419
2018-08-23 01:59:26 +03:00
Filippos Karapetis
5e2db7a178
SCI32: Add workarounds for OOB reads for parameters
...
These are mostly used to silence known cases, for now. Some workarounds of this type have already been addded
2018-08-23 01:59:26 +03:00
Paul Gilbert
efd594993d
TSAGE: Don't allow saving in Ringworld copy protection dialog
2018-08-21 19:24:25 -07:00
Thierry Crozat
3ba76e354a
I18N: Update translations templates
2018-08-22 01:45:32 +02:00
Chatziargyriou Eleftheria
4188ba1252
GUI: Add editable path in file browser dialog
2018-08-22 00:39:51 +01:00
Filippos Karapetis
37c0342b32
SCI32: Extend a script workaround to all screens in QFG4
...
Fixes bug #10420
2018-08-21 08:53:19 +03:00
Filippos Karapetis
8998d00bf2
SCI32: Extend a pathfinding workaround to all screens in QFG4
...
Fixes entry into the Gypsy camp - bug #10418
2018-08-21 08:47:18 +03:00
Paul Gilbert
cce93d3b44
TSAGE: Fix ejecting disc from left cycle's drive in Ringworld 1
2018-08-20 20:02:13 -07:00
Filippos Karapetis
16fab2d480
SCI32: Ignore invalid kernel call when toggling the music in Hoyle 5
2018-08-21 03:36:07 +03:00
Filippos Karapetis
52ff27746f
SCI32: Fix fade-in for some screens in Hoyle 5
2018-08-21 03:36:07 +03:00
Filippos Karapetis
16aab5b281
SCI32: Add handling for config settings used in Hoyle 5
2018-08-21 03:36:06 +03:00
Filippos Karapetis
89785ea804
SCI32: Add stub for kWinDLL - used in Hoyle 5
2018-08-21 03:36:06 +03:00
Filippos Karapetis
d529692a5a
SCI: Enable detection entry for Hoyle 3 Amiga
...
The game works correctly now
2018-08-21 03:36:05 +03:00
Filippos Karapetis
5684273ee1
SCI: Add support for text loading in Hoyle 3 Amiga
2018-08-21 03:36:05 +03:00
Filippos Karapetis
2877c22097
SCI: Add workaround for buggy script in Hoyle 3 Amiga
2018-08-21 03:36:04 +03:00
Filippos Karapetis
06079340ac
SCI32: Add several workarounds for uninitialized reads in Hoyle 5
2018-08-21 03:36:04 +03:00
Filippos Karapetis
f18711f3c2
SCI: Update comment
2018-08-21 03:36:03 +03:00
Torbjörn Andersson
4d5c4232ee
BUILD: Remove .dwo files on clean
2018-08-20 23:03:31 +01:00
D G Turner
93ed8a2c47
AUDIO: Fix Compilation with Fluidsynth v1.1.6 or earlier.
...
The function signature for these functions was changed from (char *) to
(const char *) in the v1.1.7 release, so compiling against
Fluidsynth v1.1.6 or earlier requires the copying of the strings to
prevent compilation errors such as "error: invalid conversion from
'const char*' to 'char*'".
Normally, we would break compatibility with older versions as platforms
should be using the latest Fluidsynth v1.X release of v1.1.11.
However, since this is trivial to fix and prevents breakage for legacy
platforms, am restoring the string duplication with scumm_strdup().
Apart from this, we should look at the Fluidsynth v2.X releases
currently in RC testing as the API is now changed for this.
2018-08-20 22:31:15 +01:00
Cameron Cawley
0e8f1261c5
PS2: Replace usage of strdup with scumm_strdup
2018-08-19 11:47:28 +01:00
David Fioramonti
47c0e27017
STARTREK: Simplify sine table usage
...
The if checks that StarTrekEngine::sin is doing to evaluate the
correct index for the sine table lookup are already done in
Common::SineTable::at().
2018-08-18 16:30:57 +02:00
David Fioramonti
0805ac2be3
STARTREK: Update cos/sin table constructor change
...
They now take in the size rather than the power of 2 exponent.
2018-08-18 16:30:57 +02:00
David Fioramonti
da57cef0c3
COMMON: FFT update cos/sin table constructor change
...
They now take in the size rather than the power of 2 exponent.
2018-08-18 16:30:57 +02:00
David Fioramonti
e859a6f13e
BLADERUNNER: Update cos/sin table constructor change
...
They now take in the size rather than the power of 2 exponent.
2018-08-18 16:30:57 +02:00
David Fioramonti
9cfc70e7fe
COMMON: allow cos/sin number of points to be more flexible
...
Previously, the cos/sin table had to be a power of 2, but there
are many use cases where the number of points is not necessarily
a power of 2 so this change the constructor so it now takes
in the number of points rather than the number of points as the
exponent of a power of 2.
The restriction is that the size must be divisible by 4.
2018-08-18 16:30:57 +02:00
Cameron Cawley
4016cffd7a
COMMON: Make strdup a forbidden symbol
2018-08-18 16:30:05 +02:00
Cameron Cawley
7a437e909c
COMMON: Move new_strdup to common/str.cpp
2018-08-18 16:30:05 +02:00
Colin Snover
d43732ac47
IOS: Replace strdup with Common::String
2018-08-18 16:30:05 +02:00
Colin Snover
481b608c51
PARALLACTION: Replace use of strdup with Common::String & malloc
2018-08-18 16:30:05 +02:00
Colin Snover
bc3c8bd8d2
LURE: Replace use of strdup with Common::String
2018-08-18 16:30:05 +02:00
Colin Snover
0851a30769
AGI: Replace use of strdup with Common::String
...
It was also necessary to make sure that the Common::String objects
were initialised correctly by switching to use a C++ container
for engine objects instead of calloc, since they were no longer
C-compatible PODs.
2018-08-18 16:30:05 +02:00
Colin Snover
4db0f20f47
GOB: Replace use of strdup with Common::String
2018-08-18 16:30:05 +02:00
Colin Snover
2f87216864
SWORD2: Replace use of strdup with Common::String
2018-08-18 16:30:05 +02:00
Colin Snover
072a52a9d2
SCUMM: Replace use of strdup with Common::String
2018-08-18 16:30:05 +02:00
Colin Snover
f7e05a6ace
GRAPHICS: Fix incorrect maximum length passed to strlcpy
2018-08-18 16:30:05 +02:00
Colin Snover
c544d8050c
GRAPHICS: Remove use of nonstandard strdup API & fix mismatched malloc/delete
2018-08-18 16:30:05 +02:00
Colin Snover
a726b3bc89
AUDIO: Remove unnecessary string duplications in FluidSynth driver
2018-08-18 16:30:05 +02:00
Colin Snover
b9a649c3e1
GUI: Replace use of strdup with Common::String
...
strdup is a POSIX API, not an ANSI C API. It is not available with
-std=c++11 on newlib-based systems, and VS 2015 will throw errors
unless it is #defined to alias to _strdup or unless deprecation
warnings are turned off (which is not a good idea in general).
Common::String is a safer and potentially faster (due to small
string optimisation) alternative, so prefer it instead.
2018-08-18 16:30:05 +02:00
Cameron Cawley
08314ae61f
DREAMCAST: Fix compilation
2018-08-18 16:27:34 +02:00
Thierry Crozat
c062b342b2
I18N: Update translations templates
2018-08-18 14:21:37 +02:00
David Fioramonti
e2e0f9f528
TOON: Add playtime to saved game
...
Supports saved games made in the current version or the the last saved game version.
2018-08-18 14:21:28 +02:00
David Fioramonti
16ee8aa69f
STARTREK: Make atan table static
...
Currently, it is reloaded every atan call.
2018-08-18 14:17:36 +02:00