Commit Graph
44 Commits
Author SHA1 Message Date
Martin Gerhardy 796f54ff89 TWINE: fixed endless magic ball action when console was activated
related to https://bugs.scummvm.org/ticket/13675
2022-09-29 04:55:37 +02:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Martin Gerhardy 5456346d78 TWINE: new debug command to place the actor at the center of the camera 2021-08-15 12:30:09 +02:00
Martin Gerhardy c6d26dc9d8 TWINE: renamed members 2021-07-31 16:48:23 +02:00
Martin Gerhardy f1d9fd2c8a TWINE: debug logging 2021-07-08 15:05:35 +02:00
Martin Gerhardy 937f3876b7 TWINE: fixed enableKeyMap call for holomap key bindings 2021-01-25 23:30:28 +01:00
Martin Gerhardy 3994680ad5 TWINE: fixed 'leaving text windows via space also triggers an attack if in aggressive mode'
see https://bugs.scummvm.org/ticket/12070
2021-01-25 17:54:40 +01:00
Martin Gerhardy 38360e51c4 TWINE: allow to continue running after jump animation finished
https://bugs.scummvm.org/ticket/12004
2021-01-02 10:21:04 +01:00
Martin Gerhardy 1fddaefa2b TWINE: allow to execute the jump action while running
https://bugs.scummvm.org/ticket/12004
2021-01-01 15:50:51 +01:00
Martin Gerhardy b7486b2249 TWINE: holoamp input actions 2020-12-22 17:17:36 +01:00
Martin Gerhardy d1aa2e3cb3 TWINE: started to reorganize the folder structure 2020-12-22 17:17:36 +01:00
Martin Gerhardy d46733ce2b TWINE: fixed ScopedKeyMap disabling of keymap
Addresses bug https://bugs.scummvm.org/ticket/11975
2020-11-26 09:43:08 +01:00
Martin Gerhardy edc226ae8e TWINE: use Rect::contains 2020-11-25 21:47:28 +01:00
Martin Gerhardy 1fbb881b19 TWINE: more use of Common::Rect 2020-11-25 17:00:44 +01:00
Martin Gerhardy e8fcff6e6d TWINE: implement ui control via mouse
Also optimized the on-screen keyboard rendering a lot, renamed
parameters and started to use Common::Rect
2020-11-25 17:00:44 +01:00
Martin Gerhardy 49be0a49a6 TWINE: changed behaviour of ScopedKeyMap
it's dangerous to disable a keymap because you could lose the action state.
Now we just enable another keymap - and disable it after we are done. So
we don't lose the action state. This fixes a problem with the hero walking
along a sign and hit the action button. We are starting the text sequence.
Once this is over and you have released the cursor keys during read, the actor
would still move.
2020-11-21 15:38:36 +01:00
Martin Gerhardy d21bfbe914 TWINE: moved cursor key mask handling into movement class 2020-11-21 15:24:46 +01:00
Martin Gerhardy a5295d0fa6 TWINE: hide member of Movements class 2020-11-21 15:24:46 +01:00
Martin Gerhardy e10aecad31 TWINE: extracted into single methods and cleanup in input code handling 2020-11-21 15:24:46 +01:00
Martin Gerhardy 3a3dc880a5 TWINE: simplified input code 2020-11-21 15:24:46 +01:00
Martin Gerhardy 976e139d27 TWINE: simplified input code 2020-11-21 15:24:46 +01:00
Martin Gerhardy 025866af83 TWINE: removed unused member from input class 2020-11-21 15:24:46 +01:00
Martin Gerhardy 28b5e2fb01 TWINE: ensure that we are ending with an invalid keymap state 2020-11-21 15:24:46 +01:00
Martin Gerhardy 631864146f TWINE: extended input class 2020-11-21 15:24:46 +01:00
Martin Gerhardy bf407a06d9 TWINE: added mouse cursor hovering helper function to input code 2020-11-18 20:29:43 +01:00
Martin Gerhardy 37054b47fc TWINE: started to convert the left/right mouse buttons to keymapper actions 2020-11-14 15:54:44 +01:00
Martin Gerhardy ab22f50b85 TWINE: fixed activating the desired keymap 2020-11-13 17:45:04 +01:00
Martin Gerhardy 39be27bbe6 TWINE: removed unused PageUp action type 2020-10-30 23:50:44 +01:00
Martin Gerhardy e93dd7d519 TWINE: removed unused entries from pressedKeyCharMap 2020-10-30 23:50:44 +01:00
Martin Gerhardy 5f7c967481 TWINE: fixed toggleAbortAction to reset all states
otherwise the next call to this function might still succeed due another action still being active
2020-10-27 17:14:05 +01:00
Martin Gerhardy 1eb3acf27a TWINE: small helper method for the Input class 2020-10-26 18:11:15 +01:00
Martin Gerhardy a8ca9e017b TWINE: make cursorKeys obsolet 2020-10-26 18:11:15 +01:00
Martin Gerhardy b90797e00d TWINE: moved pressed key states into movements class 2020-10-26 18:11:15 +01:00
Martin Gerhardy 4712894133 TWINE: make more or less private 2020-10-26 18:11:15 +01:00
Martin Gerhardy b307011170 TWINE: cleanup input code and replaced magic numbers 2020-10-26 18:11:15 +01:00
Martin Gerhardy 71921f241c TWINE: started to implement saving and loading as well as player name entering 2020-10-26 18:11:15 +01:00
Martin Gerhardy b951291d5e TWINE: removed internalKeyCode from Input class 2020-10-26 18:11:15 +01:00
Martin Gerhardy 3dd13e456b TWINE: fixed typo 2020-10-26 18:11:15 +01:00
Martin Gerhardy b159872166 TWINE: only disable our own keymaps in Input::enabledKeyMap 2020-10-25 09:21:44 +01:00
Martin Gerhardy 84f2ba7e41 TWINE: implemented more keymap actions 2020-10-24 16:12:55 +02:00
Martin Gerhardy 4c593bdbdd TWINE: further refactored the input code 2020-10-24 16:12:55 +02:00
Martin Gerhardy d417478b8c TWINE: started to split keymaps for ui, game and cutscenes 2020-10-24 16:12:55 +02:00
Martin Gerhardy c59fd6a32e TWINE: refactored input 2020-10-24 16:12:55 +02:00
Martin Gerhardy b7d5232708 TWINE: refactored input 2020-10-24 16:12:55 +02:00