Filippos Karapetis
01f3e6ccd2
SCI32: Fix a script bug when fighting revenants in QFG4
2018-08-25 13:53:13 +03:00
Filippos Karapetis
414d0277d0
SCI: Fix compilation
2018-08-25 12:57:01 +03:00
Filippos Karapetis
6fb19d1d01
SCI: Fix compilation when SCI32 is disabled
2018-08-25 12:44:13 +03:00
Filippos Karapetis
d597fbc5e3
SCI32: Fix the walk region in Cazanoux's house in GK1
...
Fixes bug #9770
2018-08-25 12:39:14 +03:00
Filippos Karapetis
a0bad913ae
SCI32: Add a workaround for Shivers
2018-08-25 12:39:13 +03:00
Filippos Karapetis
0101ac6f71
SCI: Add a default case to the switch in toDebugString()
...
Silences a false positive in MSVC
2018-08-25 12:39:13 +03:00
Filippos Karapetis
941869c466
SCI32: Remove reg32_t and use reg_t in all cases
...
reg32_t was a transitive solution, before reg_t's were
adapted to use 32-bit addresses internally, and before
support for SCI3 was added. It was introduced as another
way to handle large script offsets in SCI3, and was only
used for the program counter (PC). It's no longer
needed, as we now support SCI3 script offsets using
reg_t's, so we can use make_reg32 in all cases where
we need to access offsets over 64KB
2018-08-25 12:39:12 +03:00
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