Commit graph

53 commits

Author SHA1 Message Date
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Cameron Cawley
44f7f801a1 HDB: Add keymapper support 2020-08-27 10:34:59 +02:00
D G Turner
4be7972561 HDB: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
2019-12-03 22:12:24 +00:00
Strangerke
3996676c45 HDB: Fix issue in stylusDown 2019-09-22 14:01:51 +02:00
D G Turner
d7972603e7 HDB: Fix Game Breaking Bug in Right Mouse Button Handling
The right mouse button (which is the "Use" button for throwing gems etc.)
function sets the Button B flag in the _buttons flag field, but never
cleared it. This resulted in blocking of setting of movement waypoints
with the left button and thus locked up the player character.

You could avoid this by using the "Return" key which is also mapped to
use, but this would only be possible on desktop ports or with a virtual
keyboard.

This commit fixes the mouse handling code to clear the flag and thus
avoids future bug reports.
2019-09-22 00:11:51 +01:00
Strangerke
0344e0adce HDB: Simplify some code 2019-09-19 08:10:49 +02:00
Strangerke
feafd2a956 HDB: Remove unused static in setButtons 2019-09-08 22:15:15 +02:00
Strangerke
2178770898 HDB: Change init functions to handle errors 2019-09-03 17:17:34 +02:00
Nipun Garg
c2a8a0c2c4 HDB: Fix PPC Double Click code 2019-09-03 17:17:34 +02:00
Eugene Sandulenko
8198a5d99e HDB: Fix crash in start menu in PPC version 2019-09-03 17:17:33 +02:00
Nipun Garg
53534edc8f HDB: Fix PPC controls 2019-09-03 17:17:33 +02:00
Strangerke
161553db9b HDB: Reduce some more variable scopes, simplify a couple of checks in input.cpp 2019-09-03 17:17:32 +02:00
Eugene Sandulenko
7916f2c86b HDB: Fix warnings 2019-09-03 17:17:31 +02:00
Nipun Garg
7ad5cf9d30 HDB: Add new PPC-specific code 2019-09-03 17:17:31 +02:00
Nipun Garg
89e4c9f5a9 HDB: Integrate PPC version of Window 2019-09-03 17:17:31 +02:00
Nipun Garg
345c017ff7 HDB: Section off WIN32 specific-code 2019-09-03 17:17:31 +02:00
Nipun Garg
0fb3ad7ba0 HDB: Make Platform specific constants into variables 2019-09-03 17:17:30 +02:00
Nipun Garg
c1d2468f07 HDB: Section off PPC-specific code 2019-09-03 17:17:30 +02:00
Eugene Sandulenko
810ac81b0f HDB: Reduce header dependency 2019-09-03 17:17:28 +02:00
Eugene Sandulenko
91da8c7aab HDB: Reduce header dependency 2019-09-03 17:17:27 +02:00
Eugene Sandulenko
a0817b0b5a HDB: Reduce header dependency 2019-09-03 17:17:27 +02:00
Eugene Sandulenko
2844b48ac1 HDB: Reduce header dependency 2019-09-03 17:17:27 +02:00
Eugene Sandulenko
c3d0f49538 HDB: Reduce header dependency 2019-09-03 17:17:27 +02:00
Strangerke
4b65e396c8 HDB: Reduce some variable scopes, some janitorial work 2019-09-03 17:17:26 +02:00
Strangerke
bd26cda952 HDB: Fix compilation for MSVC9 2019-09-03 17:17:25 +02:00
Nipun Garg
8a80cc77e9 HDB: Add warnings 2019-09-03 17:17:24 +02:00
Nipun Garg
4876064372 HDB: Unstub the Quit functionality 2019-09-03 17:17:21 +02:00
Nipun Garg
6aa054fcac HDB: Unstub the TRY AGAIN screen 2019-09-03 17:17:20 +02:00
Nipun Garg
c31217f1ee HDB: Add Debug checks 2019-09-03 17:17:20 +02:00
Nipun Garg
b36569d201 HDB: Add code to enable Debugging 2019-09-03 17:17:20 +02:00
Nipun Garg
812a8c7c9d HDB: Remove redundant warning 2019-09-03 17:17:18 +02:00
Nipun Garg
ee9de9157c HDB: Add Menu calls 2019-09-03 17:17:17 +02:00
Nipun Garg
5b4602fdbe HDB: Set _menuKey 2019-09-03 17:17:17 +02:00
Nipun Garg
a510482d64 HDB: Add stubs in Sound and Input 2019-09-03 17:17:17 +02:00
Nipun Garg
d5a779168f HDB: Add Pause Button 2019-09-03 17:17:17 +02:00
Nipun Garg
a2c9c83b83 HDB: Unstub Window function calls 2019-09-03 17:17:13 +02:00
Nipun Garg
4622fb3b80 HDB: Unstub playSound calls 2019-09-03 17:17:09 +02:00
Eugene Sandulenko
362cb060f3 HDB: Rename _drawMan -> _gfx 2019-09-03 17:17:07 +02:00
Eugene Sandulenko
45b90776e2 HDB: Hid noisy stubs 2019-09-03 17:17:07 +02:00
Nipun Garg
b9fbfa1639 HDB: Unstub DialogChoice and MessageBar checks 2019-09-03 17:17:07 +02:00
Nipun Garg
c702968984 HDB: Initialize _buttons
Fixes the BUG where Guy is randomly moving about
the screen
2019-09-03 17:17:05 +02:00
Nipun Garg
f0ab92faa1 HDB: Update setButtons() 2019-09-03 17:17:04 +02:00
Nipun Garg
08771f2aeb HDB: Add getter-setter for _buttons 2019-09-03 17:17:04 +02:00
Nipun Garg
8a63a2169d HDB: Add updateKeys() 2019-09-03 17:17:04 +02:00
Nipun Garg
0ede3a249c HDB: Remove 'Check Pause Flag' stubs 2019-09-03 17:17:04 +02:00
Nipun Garg
ff25a0f4dd HDB: Add updateMouseButtons and update updateMouse 2019-09-03 17:17:04 +02:00
Nipun Garg
5e0e12531b HDB: Update Mouse data for buttons 2019-09-03 17:17:04 +02:00
Nipun Garg
4a8ce49968 HDB: Remove _lastMouseX and _lastMouseY 2019-09-03 17:17:04 +02:00
Nipun Garg
f41e1999fb HDB: Add updateMouse() and call it in game loop 2019-09-03 17:17:04 +02:00
Nipun Garg
037400ed1b HDB: Unstub stylusMove() and stylusUp() 2019-09-03 17:17:04 +02:00