Commit Graph
54649 Commits
Author SHA1 Message Date
Ľubomír Remák f7d5a825a0 MUTATIONOFJB: Start implementation of ATN scripts (IF command). 2018-08-25 23:12:01 +02:00
Ľubomír Remák 356a6809c3 MUTATIONOFJB: Fix loading room 11 (and possibly some others). 2018-08-25 23:12:01 +02:00
Ľubomír Remák 3696865e69 MUTATIONOFJB: Load initial game state and allow room change 2018-08-25 23:12:01 +02:00
Ľubomír Remák 95cd6b7442 MUTATIONOFJB: Load and draw scene background 2018-08-25 23:12:01 +02:00
Ľubomír Remák 764ee3a5a3 MUTATIONOFJB: Base for new engine 2018-08-25 23:12:01 +02:00
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
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
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
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
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 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
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
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
David Fioramonti 54419e045a STARTREK: Detect another ST25 CD/DOS English variant 2018-08-18 14:17:36 +02:00
Ben Castricum 91b17af1cf SCUMM : Add support for European Wii Pajama Sam (EAN3546430138939) 2018-08-18 13:51:54 +02:00
Paul Gilbert 11e33ba3fc JANITORIAL: Removing trailing spaces after int casts 2018-08-17 20:30:20 -07:00
Andrei Prykhodko c8d3af3874 PINK: removed some unnecessary forward declarations 2018-08-17 17:29:19 +03:00
Andrei Prykhodko 736e94ce39 PINK: JANITORIAL: fixed local vars naming 2018-08-17 17:14:15 +03:00
Andrei Prykhodko d60265d7d4 PINK: removed unused parameter 2018-08-17 17:14:15 +03:00
Andrei Prykhodko 5f462c1ebc PINK: implemented skipString method in Archive 2018-08-17 17:14:15 +03:00
Colin Snover 78c2bb6a6a DIRECTOR: Remove non-standard fileno & unistd.h 2018-08-16 16:21:44 +02:00