Commit Graph
137148 Commits
Author SHA1 Message Date
Paul Gilbert 6a3e1297d1 XEEN: Fix conditions that prevent characters doing actions 2018-03-22 22:11:02 -04:00
Paul Gilbert b7492760aa XEEN: Fix roster characters going invalid during saving 2018-03-22 21:42:40 -04:00
Paul Gilbert 27ef37b400 XEEN: Add original copy protection dialog 2018-03-22 20:22:52 -04:00
Paul Gilbert 8080907927 XEEN: Fix bought items going into correct character's inventory 2018-03-22 19:17:54 -04:00
Paul Gilbert d725d78ec5 XEEN: Fix implementation of breakAllItems 2018-03-22 18:31:18 -04:00
Adrian Frühwirth d623ec2c38 COMMON: Fix UB, left shift of negative value 2018-03-22 22:16:24 +01:00
Paul Gilbert 001f2434c6 XEEN: Don't allow GMM load/save on the main menus or intro/end cutscenes 2018-03-21 21:05:33 -04:00
Adrian Frühwirth a86a4e0286 TUCKER: Use kLastSaveSlot where appropriate 2018-03-21 21:59:43 +01:00
Adrian Frühwirth 976d31be68 JANITORIAL: Fix indentation 2018-03-21 16:49:10 +01:00
Adrian Frühwirth 0749507a34 TUCKER: Add Location enum 2018-03-21 16:47:10 +01:00
Walter Agazzi 8ba85bc7b0 I18N: Update translation (Italian)
Currently translated at 100.0% (962 of 962 strings)
2018-03-21 15:26:54 +01:00
Paul Gilbert 0a5dcfb833 XEEN: Fix GMM savegame loads were waiting until a turn had passed 2018-03-20 22:06:22 -04:00
Paul Gilbert 078ea7228e XEEN: Fix transferring items between characters in items dialog 2018-03-20 21:03:17 -04:00
Adrian Frühwirth 5a07bc82c3 TUCKER: Remove unhelpful comment
Code matches disassembly and works like in the original. I can't spot
anything out of the ordinary with regards to audio playback either.
2018-03-20 23:22:35 +01:00
Adrian Frühwirth d4636f4616 TUCKER: Reset panel type to normal after loading a savegame 2018-03-20 22:53:18 +01:00
Adrian Frühwirth b4c1efe2f2 TUCKER: Remove superfluous workaround for Trac#4156
Despite what the comment says this does not seem to be in the original
game and I cannot replicate this in either the original or a current
ScummVM build. It is highly likely that this was one of several sprite
offset bugs which were present in our implementation earlier but which
have since been fixed.
2018-03-20 22:22:11 +01:00
Bastien Bouclet 1702925c31 CREATE_PROJECT: Place libs requiring symbols before libs providing them
In the CMake generator. So the linker can resolve the symbols it marked
as unresolved as it walks the libraries.

Fixes building ResidualVM with msys2 from Qt Creator on Windows.
2018-03-20 19:37:45 +01:00
Bastien Bouclet 728f4d4ba5 CREATE_PROJECT: Place libs requiring symbols before libs providing them
In the CMake generator. So the linker can resolve the symbols it marked
as unresolved as it walks the libraries.

Fixes building ResidualVM with msys2 from Qt Creator on Windows.
2018-03-20 19:36:44 +01:00
Eugene Sandulenko 891d972a62 BLADERUNNER: Simplified detection tables 2018-03-20 18:34:32 +01:00
rsn8887 9af2b5ca3a PSP2: fix touch sometimes not directly under finger 2018-03-20 03:14:11 -05:00
Paul Gilbert a69294d525 XEEN: Fix Items dialog header when an item is selected 2018-03-19 22:02:36 -04:00
Paul Gilbert 9504ecd74e XEEN: Fix whether events are checked after openGrate calls 2018-03-19 21:25:59 -04:00
Paul Gilbert 0a20df9259 XEEN: Fix setSpeedTable crash after missed ranged attack 2018-03-19 21:00:37 -04:00
Paul Gilbert 5645d63acd XEEN: Standardize on a single SPELLS_PER_CLASS define
There was previous confusion because characters can have a maximum of
39 spells for their class. But the spell list for each class has
40 entries, of which the last one, #39, is always the 'No Spell' value
2018-03-19 18:33:47 -04:00
Adrian Frühwirth ef593ed8e3 TUCKER: Work around original game bug when using the map in the mall in part three
If you don't have the appointment card yet and use the map to go to
Seedy Street Bud ends up being teleported back to the mall.
Because of the destination coordinates which warp Bud past x==583
Violet's logic, which makes him refuse Bud entrance to the dentist,
triggers. On top of that the graphics end up all garbled which
indicates that even worse things happen under the hood.
To work around this we only trigger Violet if Bud actually _walked_
past the trigger coordinates (as opposed to using the map).

This fixes Trac#10452.
2018-03-19 23:31:19 +01:00
Adrian Frühwirth d2ae21624e TUCKER: Implement workaround for original script bug mentioned in commit 23fd97c99a 2018-03-19 21:36:13 +01:00
Eugene Sandulenko 98620a45c4 BLADERUNNER: Fix bug with path generator in GenericWalkerA actor 2018-03-19 19:51:11 +01:00
Eugene Sandulenko bf798bdf80 BLADERUNNER: Mark a bug in original code 2018-03-19 19:40:27 +01:00
Torbjörn Andersson 5e94e8ab42 TITANIC: Fix small memory leak 2018-03-19 07:33:23 +01:00
Thierry Crozat 68596bed8e I18N: Regenerate translations data file 2018-03-19 05:05:04 +01:00
Paul Gilbert f30e96f18e XEEN: Fix crash on Cast Spell dialog for non-spell casters 2018-03-18 22:30:30 -04:00
Paul Gilbert afeeb76076 XEEN: Fix glitched border of Identify Monster dialog 2018-03-18 22:14:52 -04:00
Paul Gilbert 6a61468d0a XEEN: Fix Town Portal town selection dialog 2018-03-18 22:05:05 -04:00
Paul Gilbert d848c9a414 XEEN: Don't show a 'None Ready' spell in spell selection dialog 2018-03-18 21:56:26 -04:00
Paul Gilbert c1b094bba8 XEEN: Fix spells list selection for Vertigo guild 2018-03-18 21:29:51 -04:00
Paul Gilbert 500ed10658 XEEN: Add an enum SpellsCategory enum, code simplification using it 2018-03-18 20:02:45 -04:00
Adrian Frühwirth 23fd97c99a TUCKER: Actually implement mof opcode
When the 'mof' opcode was added in commit 1946dead77 it was implemented
as a NOOP, but what it actually should do is disable the mouse (set
_cursorState to kCursorStateDisabledHidden).
This is used in at least the Spanish and Polish versions of the game to
work around an earlier script bug which allowed the player to use the
mouse while freeing the professor in part two.

This commit fixes the 'mof' instruction so that the original script works
as intended in those versions that ship with the fix.

TODO: Add a workaround for those game versions which don't do the 'mof'
themselves.
2018-03-18 23:38:52 +01:00
Paul Gilbert 99f5b3cfb2 XEEN: Fix display of Spell Info dialog in Guild shops 2018-03-18 18:05:35 -04:00
Adrian Frühwirth 91ec2a0c38 TUCKER: Add missing buv and c0v opcodes
This commit adds the 'buv' and 'c0v' opcodes which are used to set speech
volume. Because these only seem to be used once in the English demo and
we right now playback all speech at kMaxSoundVolume anyway we can treat
them as NOOPs.

This fixes a bug in said demo which resulted in Bud being unable to talk
to Del.
2018-03-18 22:16:33 +01:00
Thomas Fach-Pedersen 5f5cee2be3 BLADERUNNER: Round coordinates to two decimals
Also fixes a couple of typos.
2018-03-18 20:36:11 +01:00
Paul Gilbert 21a0045828 XEEN: Fix display of Spells list dialog within Guild shops 2018-03-18 14:35:22 -04:00
Paul Gilbert b0bb560138 XEEN: Properly write party character data when saving the game 2018-03-18 14:33:03 -04:00
Eugene Sandulenko 4dd0713fdd BLADERUNNER: Added FreeSlotB actor 2018-03-18 16:53:45 +01:00
Eugene Sandulenko acdb8d055c BLADERUNNER: Added FreeSlotA actor 2018-03-18 16:53:45 +01:00
Bastien Bouclet 2e875a768d SDL: Split joystick mouse event generation into two functions
That way it is easier to implement relative mouse movement in
ResidualVM.
2018-03-18 13:09:00 +01:00
Laurent Merckx 7731737623 SDL: Improve joystick usage
- configuration of engines natively supporting joystick or not
- for engines not supporting joystick input (Myst3, TLJ), reuse the ScummVM code to emulate mouse from joystick.
  A modification was also needed to support relative movements (needed in Myst3 to support camera movements)
2018-03-18 13:06:48 +01:00
Bastien Bouclet 1b3592b60e SDL: Split joystick mouse event generation into two functions
That way it is easier to implement relative mouse movement in
ResidualVM.
2018-03-18 13:06:23 +01:00
Bastien Bouclet 4914eb0002 SDL: Add game controller API support 2018-03-18 08:25:34 +01:00
Bastien Bouclet ceb2657962 STARK: Fix a few coverity warnings 2018-03-18 07:57:32 +01:00
Paul Gilbert 16a1d637b5 XEEN: Fix Guild membership check 2018-03-17 21:09:21 -04:00