Commit graph

491 commits

Author SHA1 Message Date
Eugene Sandulenko
1b11072358
TWINE: Comment out unused class variables 2024-10-24 15:07:03 +02:00
Martin Gerhardy
f75439fc63 TWINE: the W key was supposed to only do Action on Normal
see #15408: https://bugs.scummvm.org/ticket/15408
2024-10-23 22:24:51 +02:00
Martin Gerhardy
6fd22e78ad TWINE: activated some lba2 code snippets 2024-10-18 20:22:15 +02:00
Martin Gerhardy
5a3fdf415b TWINE: further renaming and comments about original names 2024-10-18 20:22:15 +02:00
Martin Gerhardy
49539fb9b1 TWINE: re-added flagfade flag that was removed by accident
see issue #15384
2024-10-17 15:59:12 +02:00
Martin Gerhardy
ac12c15050 TWINE: renamed method to match original sources (createCellingGridColumn) 2024-10-17 15:41:44 +02:00
Martin Gerhardy
219ba171e2 TWINE: check against zoneGrm in CheckZoneSce - found in original sources 2024-10-17 15:41:44 +02:00
Martin Gerhardy
e5c54ccfc2 TWINE: renamed members to match original sources (grid related) 2024-10-17 15:41:44 +02:00
Martin Gerhardy
6839956b58 TWINE: added original function names as comments 2024-10-17 15:41:44 +02:00
Martin Gerhardy
76c9777994 TWINE: fixed typo 2024-10-17 15:41:44 +02:00
Martin Gerhardy
cf543baa73 TWINE: improved collision debug logging 2024-10-17 14:31:11 +02:00
Martin Gerhardy
15553de743 TWINE: new animation debug category 2024-10-17 14:31:11 +02:00
Martin Gerhardy
7b3a068296 TWINE: renamed members 2024-10-17 14:31:11 +02:00
Martin Gerhardy
8ac2ed039f TWINE: renamed members and methods to match original sources 2024-10-16 20:35:41 +02:00
Martin Gerhardy
fd56abaf3b TWINE: fade the holomap trajectory 2024-10-16 20:35:41 +02:00
Martin Gerhardy
53e0eac95a TWINE: removed unsetClip call that is not present in the original sources 2024-10-16 16:00:18 +02:00
Martin Gerhardy
5972fb1cc6 TWINE: handle the global flag of doSetInterAnimObjet 2024-10-16 16:00:18 +02:00
Martin Gerhardy
fe207a1432 TWINE: don't interfere with the actor animation state when doing the object found animation 2024-10-16 16:00:18 +02:00
Martin Gerhardy
4149f82613 TWINE: started to unify animation code with original sources
setInterDepObjet and doSetInterAnimObjet
2024-10-16 16:00:17 +02:00
Martin Gerhardy
68f7c92940 TWINE: renamed members and functions to match original sources 2024-10-16 16:00:17 +02:00
Martin Gerhardy
16249e34b2 TWINE: added debug option for playing the object-found-animation 2024-10-16 16:00:17 +02:00
Martin Gerhardy
2b806608a5 TWINE: renamed struct members to match original sources 2024-10-15 13:19:37 +02:00
Martin Gerhardy
8370685881 TWINE: document the enhancements a little bit better 2024-10-14 22:28:31 +02:00
Martin Gerhardy
fec46ac970 TWINE: renamed member to match original sources 2024-10-14 21:11:53 +02:00
Martin Gerhardy
f0f5c5c3bb TWINE: renamed functions and members to match original sources 2024-10-12 21:40:55 +02:00
Martin Gerhardy
a85299312c TWINE: removed ScopedEngineFreeze and updated lPLAY_FLA
by using saveTimer and restoreTimer directly again its easier to validate against the original sources
2024-10-12 21:40:54 +02:00
Martin Gerhardy
5c51993959 TWINE: Reverted "use addLife even for hit damage"
This reverts commit 5b33f309ae.

see bug https://bugs.scummvm.org/ticket/15401

also revert an accidental change from cd03d7e8b6
that caused this issue, too
2024-10-12 20:10:25 +02:00
Martin Gerhardy
02794f262b TWINE: fixed checkCarrier logic
see issue #15386 (https://bugs.scummvm.org/ticket/15386)
2024-10-12 16:07:45 +02:00
Martin Gerhardy
c344768b70 TWINE: added new collision debug channel 2024-10-12 15:58:08 +02:00
Martin Gerhardy
8d972b2535 TWINE: header inclusion cleanup 2024-10-11 17:29:25 +02:00
Martin Gerhardy
e3b8cf864c TWINE: renamed struct and members to match the original sources 2024-10-11 17:29:25 +02:00
Martin Gerhardy
f2afa31897 TWINE: added new log categories and improved logging 2024-10-11 17:29:25 +02:00
Martin Gerhardy
2a3d39edf7 TWINE: renamed function to better match the original name 2024-10-11 08:39:00 +02:00
Martin Gerhardy
90ee431c75 TWINE: renamed methods and member vars to match the original sources (holomap) 2024-10-10 20:39:46 +02:00
Martin Gerhardy
d1a1be8f71 TWINE: moved functions out of class scope (boundRuleThree/lerp) 2024-10-10 20:22:06 +02:00
Martin Gerhardy
803714660d TWINE: a few palette fixes
this transition is not yet done...
2024-10-10 18:11:45 +02:00
Martin Gerhardy
78e16a2001 TWINE: scenes are faded in now (found in the original sources) 2024-10-10 18:11:45 +02:00
Martin Gerhardy
7ebec1d234 TWINE: fixed missing setBlackPal call for holoTraj 2024-10-10 18:11:45 +02:00
Martin Gerhardy
b018caf4e4 TWINE: renamed holomap related functions to match original sources 2024-10-10 18:11:44 +02:00
Martin Gerhardy
f59b041175 TWINE: moved dark/normal palette mode code into life script 2024-10-10 14:01:07 +02:00
Martin Gerhardy
9903a2afa2 TWINE: further renaming of variables to match the original sources 2024-10-09 11:29:53 +02:00
Martin Gerhardy
6be51ef289 TWINE: renamed to match original sources 2024-10-09 10:01:26 +02:00
Martin Gerhardy
8a1aa15544 TWINE: renamed palette members and functions to match the original sources 2024-10-09 08:53:04 +02:00
Martin Gerhardy
1c9ef86837 TWINE: added editing of static and work flags to the debugger 2024-10-08 21:46:21 +02:00
Martin Gerhardy
cd03d7e8b6 TWINE: renamed flags to match the original sources 2024-10-08 21:27:01 +02:00
Martin Gerhardy
0bd98f3b6e TWINE: renamed method to match original sources (checkCarrier) 2024-10-08 21:27:01 +02:00
Martin Gerhardy
5b33f309ae TWINE: use addLife even for hit damage 2024-10-08 11:54:24 +02:00
Martin Gerhardy
af35f3f150 TWINE: removed hack from issue #13177
https://bugs.scummvm.org/ticket/13177

get the helper with debug commands

set_game_flag 77 0
set_game_flag 89 1
set_game_flag 74 1
change_scene 63
toggle_god_mode
force the track 2 for actor 1 (the tank) to start without playing the scene

change_scene 63
scene_actor 1
toggle_free_camera
set_track_obj 1 2
2024-10-08 11:25:23 +02:00
Martin Gerhardy
4ad6a6961c TWINE: fixed a few collision related issues
Skeletons hitboxes may be glitched: https://bugs.scummvm.org/ticket/15387
Tank is stuck: https://bugs.scummvm.org/ticket/13177
Bulldozer driven by Twinsen can get stuck behind truck (soft lock): https://bugs.scummvm.org/ticket/15388
2024-10-08 11:25:18 +02:00
Martin Gerhardy
17f6f2dc24 TWINE: renamed getter 2024-10-08 10:25:04 +02:00