Commit graph

224 commits

Author SHA1 Message Date
Lwmte
91427f26ba Fix stutter also for walking into walls 2021-10-22 12:43:17 +03:00
Lwmte
265de48cfc Fix wall stutter on slopes 2021-10-22 12:28:27 +03:00
Sezz
ecab59c473 Use new DoLaraLean() function wherever possible; remove TestLaraLean() 2021-10-22 01:50:43 +11:00
Sezz
43e717bc05 Add collision checks; calibrate test functions; create new routine for lean 2021-10-22 00:07:24 +11:00
Sezz
34b539012e Add collision checks for movement dispatches from stop state; reorder collision functions; add test functions 2021-10-19 21:28:36 +11:00
Sezz
ea2022cb51 Don't use coll->Setup.ForwardAngle 2021-10-17 20:40:17 +11:00
Sezz
3396e48279 Change comments; make minor changes 2021-10-17 20:07:30 +11:00
Sezz
49e5747bc6 lara_as_compress(): add test function; increase maneuverability while preparing to jump 2021-10-16 23:51:42 +11:00
Sezz
345a962792 Rename TestLaraStandUp() to TestLaraKeepDucked() 2021-10-16 21:52:45 +11:00
Sezz
eca7bcac33 lara_as_all4s(), lara_col_all4s(): cleanup; rewrite crawl flex; add new test/helper functions; move test functions 2021-10-16 20:59:44 +11:00
Sezz
d1372f4aab "Fix many bugs" moment for previous commit 2021-10-16 14:14:11 +11:00
Sezz
b4a35ab8a6 Rewrite LaraFacingCorner() and rename it to TestLaraFacingCorner() 2021-10-16 13:49:14 +11:00
Sezz
e99ef67b45 lara_as_compress(), lara_col_compress(): cleanup 2021-10-15 22:20:55 +11:00
Sezz
607f37b4af Disable crouch failsafe for now (it is bugged with low, slanted ceilings) 2021-10-15 21:59:41 +11:00
Sezz
36c2c7eac4 lara_col_roll(): cleanup; improve ceiling collision handling; add collision checks 2021-10-15 18:26:03 +11:00
Sezz
7bfeb44fdf lara_col_turn_r(), lara_col_turn()l: cleanup; reorder stop collision function 2021-10-15 00:46:15 +11:00
Sezz
4c32d86c92 Allow side step in wade-height water 2021-10-14 21:11:59 +11:00
Sezz
e3f16b32c1 lara_col_roll2(), lara_as_dashdive(): cleanup; add helper function to set fall back state; remove magic number 2021-10-14 19:58:29 +11:00
Sezz
7be462029f lara_as_wade(): cleanup 2021-10-14 17:40:22 +11:00
Sezz
1150f8f9e0 lara_as_stepleft(), lara_as_stepright(): cleanup 2021-10-14 17:19:38 +11:00
Sezz
c9f5b9ff22 Fix wading back (oops); formatting; remove magic numbers; fine-tune crawl and crouch roll helper functions; state adjustments 2021-10-14 01:17:21 +11:00
Sezz
ae7864d256 Fix syntactical mistakes; formatting; confirm state dispatch changes; minor calibrations; add pseudo-states for wading 2021-10-13 19:50:46 +11:00
Sezz
fced36d6db Apply updates to new functions 2021-10-11 16:12:04 +11:00
Sezz
6323fa3503 Merge branch 'master' into lara_state_cleaning_etc 2021-10-11 16:03:10 +11:00
Sezz
ba1b9c69c5 Add crouch failsafe when ceiling is too low 2021-10-11 00:05:49 +11:00
Sezz
548dc7e587 lara_col_stepright(), lara_col_stepleft(): cleanup; use step function; fine-tune step function 2021-10-10 14:03:38 +11:00
Sezz
89451ab6ce Revert change to bad height up/down in stop state; things broke 2021-10-10 00:58:30 +11:00
Sezz
4dea7dc6b0 Allow fast turn dispatch when unholstering weapon 2021-10-10 00:35:06 +11:00
Sezz
ff16a1077b lara_col_stop(): change bad height up/down 2021-10-10 00:11:36 +11:00
Sezz
883d02c35f lara_as_dash(), lara_col_dash(): cleanup; reduce lean; remove sprint step up 2021-10-09 23:53:39 +11:00
Sezz
7cf61af283 lara_as_back(), lara_col_back(): cleanup; add lean; update step functions 2021-10-09 23:00:26 +11:00
Sezz
bd6e4f62fc lara_as_fastback(), lara_col_fastback(): cleanup; add lean; use step function; adjust step function 2021-10-09 20:19:34 +11:00
Sezz
8adcbda503 lara_col_run(): cleanup; adjust step function 2021-10-09 16:56:07 +11:00
Sezz
b24c134ed8 lara_as_walk(), lara_col_walk(): cleanup; add lean; add helper functions for step up/down dispatch 2021-10-09 14:39:06 +11:00
Sezz
b1d47b9073 Merge branch 'master' into lara_state_cleaning_etc 2021-10-09 14:06:43 +11:00
Sezz
b0bd5bbcb5 Split lara_as_fastturn() into two new states 2021-10-08 20:08:55 +11:00
Sezz
4f908e3413 WIP: New functions for turning states. 2021-10-08 15:47:54 +11:00
Lwmte
482662d644 Remove unnecessary additional ObjectHeadroom field from COLL_INFO 2021-10-07 11:01:39 +03:00
Sezz
f16f967399 Fix turning while holding FORWARD against wall for new turn state 2021-10-06 14:03:12 +11:00
Sezz
ddedb48a6e lara_as_turn_r(): cleanup; add state dispatches; fix turning in wade-height water 2021-10-05 22:09:07 +11:00
Sezz
29a76a25a5 Fix jump oversight; duck turning states default dispatch to idle; reorder some functions 2021-10-05 15:53:21 +11:00
Sezz
46b8db0f00 WIP lara_as_crawl(): cleanup 2021-10-04 23:52:23 +11:00
Sezz
74f2f05286 Add proper state dispatches in run and stop states; add test functions for step left/right dispatches; minor corrections 2021-10-04 22:02:02 +11:00
Sezz
abb56989a2 Add lwmte jump fix to rewritten stop state; formatting; correct error in stop state 2021-10-04 15:34:36 +11:00
Lwmte
d1dc52df27 Fix reach state 2021-10-03 21:13:00 +03:00
Sezz
d2672d01b8 Merge branch 'master' into 'lara_state_cleaning_etc' 2021-10-03 21:29:27 +11:00
Lwmte
d7960627e3 Fix jumps from very narrow slanted ceiling spaces 2021-10-02 17:26:12 +03:00
Lwmte
6c7276be28 Unhack lara_as_stop state - no more direct calls to other state code 2021-10-02 15:44:34 +03:00
Sezz
35b6108ba8 lara_as_dash(): cleanup; improve input precedence; more intuitive control logic; finetune lean rate values; add IsStandingWeapon() helper function 2021-09-29 18:35:21 +10:00
Sezz
d44d7d7441 Condense check 2021-09-28 23:22:45 +10:00