Commit graph

224 commits

Author SHA1 Message Date
Sezz
707df1bfff Fix swandive into clamps; fix swandive onto slopes; fix wall hiccup when sprinting on inclines; simplify step function 2021-12-01 13:26:28 +11:00
Sezz
31ff9bff08 Use step function in idle states 2021-12-01 02:11:14 +11:00
Sezz
1aab2947dd Prevent sidestep or walk back into death sectors while moving 2021-11-30 23:17:51 +11:00
Sezz
811852ec0e Fix turn rate mess up 2021-11-28 13:56:12 +11:00
Sezz
8cf76578cf Add flex reset function; add new turn rate macro 2021-11-27 23:15:26 +11:00
Sezz
d50401382b Organise macros; refine crawl flex reset 2021-11-27 22:42:10 +11:00
Sezz
a4c3dbbc3d Add macros for turn rates in swamps and wade-height water 2021-11-27 20:55:42 +11:00
Sezz
2fe97c3048 Remove comment 2021-11-26 17:42:24 +11:00
Sezz
a8e5c20d5e Restore hop back down slopes; allow walking on slopes in swamps 2021-11-26 16:25:16 +11:00
Sezz
778882ba5f Fix typo 2021-11-26 00:07:17 +11:00
Sezz
d85eea8c1f Rename basic state functions; rename some state enum members; rename LG_NO_ARMS to LG_HANDS_FREE; move lara_as_gymnast() to lara_hang.cpp; minor corrections 2021-11-25 23:38:59 +11:00
Sezz
f3881f9796 Fix floating away from pole bug; fix turn lock when holding FORWARD against a wall in a fast turn state; adjust jump count max in walk state; remove old comments 2021-11-25 21:08:51 +11:00
Sezz
82b4e66c3e Housekeeping; adjust lean rates for some states; fix snap when colliding with wall joining a slanted floor 2021-11-23 13:53:35 +11:00
Sezz
00ec05650f Make vault take precedence over splat 2021-11-23 12:30:04 +11:00
Sezz
f1c5ab4ac4 Streamline new anim conditions 2021-11-21 13:47:55 +11:00
Sezz
5d9157ae85 Add death state dispatch to walk back state; include sprint state in wade step check; revert TestLaraFacingCorner() rewrite 2021-11-20 17:52:18 +11:00
Sezz
d92a98bf2c Move jump control and collision functions to lara_jump.cpp 2021-11-20 17:15:48 +11:00
Sezz
71adaf98ab Disallow weapon undraw when swandiving 2021-11-20 16:50:18 +11:00
Sezz
4d086f9b22 Housekeeping; fix oscillation when hopping back into clamped spaces 2021-11-20 12:25:51 +11:00
Sezz
7cfdfd7dbb Housekeeping; add jump timer 2021-11-19 22:48:47 +11:00
Sezz
8b1fe51139 Reduce turn rate when walking back in swamps 2021-11-17 16:49:21 +11:00
Sezz
fe4529f51b Change lean function 2021-11-17 15:59:51 +11:00
Sezz
3f2dddc380 Adjust turn rate of slow turn in wade-height water 2021-11-16 14:01:26 +11:00
Sezz
888fe22a04 Adjust max turn rate of slow turn 2021-11-16 13:47:05 +11:00
Sezz
691e89defb Adjust turn rates for wading in swamps 2021-11-15 00:21:52 +11:00
Sezz
380842c33f Reintroduce possibility for immediate dispatch to fast turn when coming to a stop 2021-11-14 23:08:58 +11:00
Sezz
8f69108db4 Remove references to global LaraInfo in lara_basic.cpp 2021-11-14 22:51:43 +11:00
Sezz
c88a6f3b9c Remve references to global LaraInfo in lara_crawl.cpp 2021-11-14 21:01:50 +11:00
Sezz
b7ef1f1343 Disable look in some states 2021-11-14 19:02:28 +11:00
Sezz
4610bc63ad Remove ability to turn while performing standing reverse; disable look camera in swamps 2021-11-14 17:31:00 +11:00
Sezz
f95e424a2c Remove basic legacy state functions 2021-11-13 22:23:38 +11:00
Sezz
338c904b43 Remove commented legacy step code from basic state functions 2021-11-13 21:57:10 +11:00
Sezz
6275dcbdce Rename instances of "ducked" to "crouched" 2021-11-13 18:10:22 +11:00
Sezz
8a3dc7d2c8 Fix crawl-to-hang on diagonals being impossible as a result of Lara stopping too far from the ledge (temp) 2021-11-13 17:34:24 +11:00
Sezz
f9681c54a9 Fix directional jump stutter 2021-11-13 16:28:14 +11:00
Sezz
fc275992a0 Tune turn handling 2021-11-12 17:38:36 +11:00
Sezz
a2327814d9 Death dispatch in crouch turn right state; correct ordering mistake in fast turn right state; formatting; remove comments 2021-11-12 15:35:16 +11:00
Sezz
c58dec14f6 Reintroduce distance limits to perform crouch roll; calibrate sprint lean 2021-11-11 23:31:04 +11:00
Sezz
0463cda44e Use new animation functions 2021-11-11 01:02:50 +11:00
Sezz
52b962f0e8 Merge branch 'master' into lara_state_cleaning_etc 2021-11-10 23:26:55 +11:00
Lwmte
74522842df Fix wade back 2021-11-10 12:25:05 +03:00
Sezz
2b0f2924ea Add missed merge changes 2021-11-10 16:25:38 +11:00
Sezz
36641d87e3 Merge branch 'master' into lara_state_cleaning_etc 2021-11-10 16:24:16 +11:00
Sezz
a3b1403433 Refactor health.cpp 2021-11-10 16:11:36 +11:00
Sezz
e135d492d1 Calibrate lean values again 2021-11-09 17:59:36 +11:00
Sezz
a48996f511 Merge branch 'master' into lara_state_cleaning_etc 2021-11-09 17:12:18 +11:00
Lwmte
980e26a726 Cleanup camera code more 2021-11-08 19:35:17 +03:00
Sezz
c5dd714e51 Merge branch 'master' into lara_state_cleaning_etc 2021-11-08 22:27:12 +11:00
Sezz
9e016a3e56 Improve front collision handling in crawl states; make camera elevation consistent for crouch and crawl states; adjust lean in swamp wade pseudo-state 2021-11-08 22:24:49 +11:00
Sezz
3a41fd1c69 Streamline wade forward handling 2021-11-08 00:54:26 +11:00