Commit graph

448 commits

Author SHA1 Message Date
Sezz
18a3775d7c Remove LaraCollisionAboveFront() 2022-03-17 01:19:21 +11:00
Sezz
2d74a7b601 Organise lara_tests.cpp 2022-03-16 21:56:25 +11:00
Sezz
8296364f63 Combine TestLaraMoveTolerance() and TestLaraCrawlMoveTolerance() 2022-03-16 20:50:36 +11:00
Sezz
305c17684f Update TestLaraKeepLow(); fix minor errors; cleanup 2022-03-16 13:55:56 +11:00
Sezz
cacdddbd4d Refactor TestLaraCrawlVault() 2022-03-15 20:42:35 +11:00
Sezz
ca8c58b50c Introduce HasChange(); make vault dispatch functionally more secure 2022-03-15 19:53:16 +11:00
Sezz
f132eb9fe5 Refine slide functionality; refine landing test 2022-03-15 16:20:56 +11:00
Sezz
93e62d3e64 Update extra velocity handling; snap to floor height upon entering slope state; cleanup 2022-03-14 01:20:51 +11:00
Sezz
85df2ed1b1 ITEM_INFO cleanup; rename some structs to comply with TEN conventions; LaraInfo cleanup 2022-03-13 02:04:24 +11:00
Sezz
59fe5e419a Finish LaraInfo cleanup; general cleanup; update savegame schema 2022-03-10 00:29:28 +11:00
Sezz
b5ccf0c405 Lara weapon struct cleanup; general cleanup 2022-03-09 20:37:26 +11:00
Sezz
6978cb94f0 Refactor poison effect on Lara; LaraInfo cleanup; general cleanup; update savegame schema 2022-03-09 17:04:19 +11:00
Sezz
165dccb2d4 Cleanup 2022-03-09 13:03:21 +11:00
Sezz
683c830259 WIP slope experiments; LaraInfo cleanup; cleanup 2022-03-08 18:22:14 +11:00
Sezz
f771e9d8e0 Refine slope sliding 2022-03-07 20:29:47 +11:00
Sezz
bae68adc4c box.cpp cleanup; allow fall damage in swan dive state 2022-03-05 15:20:20 +11:00
Sezz
43606e0f76 Simplify GetLaraSlideDirection() 2022-03-04 21:30:09 +11:00
Sezz
950d8911d3 Refine slide functionality; implement smooth slide direction adjustment on slopes; reenable smooth angle adjustment for vaults. 2022-03-04 18:03:04 +11:00
Sezz
c8d34bfccb Update animation script 2022-03-04 15:51:53 +11:00
Sezz
3d2e4f5242 Implement sliding in true slope direction; make TestLaraSlide() more secure; cleanup 2022-03-04 15:14:38 +11:00
Sezz
d494a115b0 Fix ladder auto jump rotation; move UziLeft and UziRight globals to LaraInfo; cleanup 2022-03-03 15:10:07 +11:00
Sezz
14b726eb0a Dehardcode state dispatches in tightrope state functions 2022-03-02 20:50:29 +11:00
Sezz
345f05cb3d Fix dehardcoded crawlspace dive when landing on edges 2022-03-01 21:17:40 +11:00
Sezz
b4cd7d3091 Cleanup 2022-02-28 21:02:19 +11:00
Sezz
37c379a69b Simplify disabled smooth ledge angle adjustmnet 2022-02-28 00:40:18 +11:00
Sezz
6e7892c4ae Fix calculated jump velocity set error 2022-02-27 23:51:00 +11:00
Sezz
ad9dfb2ec2 Fix auto jump for ladders; overhang cleanup 2022-02-26 23:08:48 +11:00
Sezz
1299a670a1 Improve dehardcoded crawlspace dive; cleanup 2022-02-25 21:02:08 +11:00
Sezz
6967ce4a10 WIP dehardcode crawlspace swandive; do hardcoded slide state dispatches in lara_as_ functions for jump states. 2022-02-25 19:49:35 +11:00
Sezz
3fcc7cb1d1 Fix embedding bug when swandiving into sloped ceilings; do soft splat in swamps; update health.cpp; cleanup 2022-02-25 14:28:28 +11:00
Sezz
603d7c4d08 Refactor vertical pole velocity handling; cleanup 2022-02-21 20:27:30 +11:00
Sezz
38ed33fcab Update animation enum 2022-02-18 23:19:46 +11:00
Sezz
b619e5f555 Add vault functionality to turn states; default to soft splat in walk state; cleanup 2022-02-17 17:58:01 +11:00
Sezz
f3e2f9df0e Update look functions; extend soft splat feature; cleanup 2022-02-16 18:13:07 +11:00
Sezz
b18d6e24f7 LaraInfo cleanup; update savegame schema 2022-02-15 21:25:24 +11:00
Sezz
6f0ac77f32 Use GetLaraInfo() everywhere in Lara state code; cleanup 2022-02-15 20:36:27 +11:00
Sezz
43fcb34ee7 Cleanup 2022-02-14 17:05:52 +11:00
Sezz
cdb8eb5927 Merge branch 'master' into state_cleaning_tier_2 2022-02-13 20:23:09 +11:00
Sezz
410e222a54 Fix thin ledge grab animation dispatch when grabbing ladder. 2022-02-13 18:18:06 +11:00
Sezz
0e347f6326 Update GetLaraInfo(); disable smooth ledge angle adjustment for now; cleanup 2022-02-13 15:58:12 +11:00
Sezz
6116fa6dda Refine implementation of adjustment to ledge angle 2022-02-12 20:23:45 +11:00
Sezz
b6dbd5d362 Cleanup 2022-02-12 16:25:59 +11:00
Sezz
fa6ced09eb Introduce GetLaraInfo() and ResetLaraLean() 2022-02-12 00:25:05 +11:00
Sezz
9c8f092b74 Don't exit crawlspace if CROUCH is held and space ahead is a death sector; update savegame schema 2022-02-11 20:07:04 +11:00
Sezz
c2190ed872 LaraInfo cleanup; update savegame schema 2022-02-11 19:26:08 +11:00
Sezz
1e0f82b2c3 More LaraItem cleanup; update savegame schema; convert HandStatus and WaterStatus structs to enum class 2022-02-11 01:31:54 +11:00
Sezz
4ea2f10ec2 Further LaraInfo cleanup; update savegame schema 2022-02-10 16:18:15 +11:00
Sezz
5bba1df285 More LaraInfo cleanup; update savegame schema 2022-02-10 01:38:32 +11:00
Sezz
a63563913b Adjust crawlspace exit tests; fix crawl flex; continue cleaning LaraItem struct; update savegame schema 2022-02-09 20:38:13 +11:00
Sezz
ed6ac2d7bc Rename ITEM_INFO members to comply with conventions 2022-02-09 16:55:46 +11:00