Commit graph

300 commits

Author SHA1 Message Date
Sezz
891fe3b203 Make turning in water tread states smoother; cleanup 2022-03-18 19:49:25 +11:00
Sezz
01e899a265 Lara swim state cleanup 2022-03-18 02:35:03 +11:00
Sezz
4a82931467 Increase vault and ledge grab angle tolerance; deprecate Lara dive count and query debounced input instead; allow surface dive from any surface tread state; update savegame schema; cleanup 2022-03-17 18:57:46 +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
ba724f0cec Cleanup 2022-03-10 02:27:11 +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
63f9c2fb39 Rename MOOD_TYPE to MoodType and convert it to enum class; cleanup 2022-03-06 15:32:11 +11:00
Sezz
0e40bca3e6 Temp. fix true slide direction bug in one corner case; cleanup 2022-03-06 14:43:33 +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
c738de8a65 Use correct dive death velocity; cleanup 2022-03-01 14:21:27 +11:00
Sezz
b4cd7d3091 Cleanup 2022-02-28 21:02:19 +11:00
Sezz
603d7c4d08 Refactor vertical pole velocity handling; cleanup 2022-02-21 20:27:30 +11:00
Sezz
4e4d30f945 Fix vehicle double speed 2022-02-20 14:22:26 +11:00
Sezz
7fd54041a6 Tweak vault state functions; cleanup 2022-02-17 15:01:48 +11:00
Sezz
f3e2f9df0e Update look functions; extend soft splat feature; cleanup 2022-02-16 18:13:07 +11:00
Sezz
c2a23696e8 Introduce soft splat; update animation enum 2022-02-16 14:20:26 +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
0e347f6326 Update GetLaraInfo(); disable smooth ledge angle adjustment for now; cleanup 2022-02-13 15:58:12 +11:00
Sezz
fa6ced09eb Introduce GetLaraInfo() and ResetLaraLean() 2022-02-12 00:25:05 +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
ed6ac2d7bc Rename ITEM_INFO members to comply with conventions 2022-02-09 16:55:46 +11:00
Sezz
0eaf6f9d02 Begin tidying ITEM_INFO; update savegame schema 2022-02-09 13:20:57 +11:00
Sezz
8e3d7cfa4c Begin tidying LaraInfo; cleanup tr4_senet.cpp; update savegame schema 2022-02-08 20:45:21 +11:00
Sezz
0dcbfba61f Cleanup 2022-02-08 01:26:59 +11:00
Sezz
ecfae534f8 Make stepping mechanism more abstract; elaborate comment; cleanup 2022-02-07 17:06:45 +11:00
Sezz
9fcd855f79 Adjust ledge snap distance; cleanup 2022-02-07 13:06:02 +11:00
Sezz
c40a98bef1 Completely rework vaulting 2022-02-05 23:13:31 +11:00
Sezz
a2685e7f5e Convert short to int or bool in LaraInfo where appropriate 2022-02-05 21:18:57 +11:00
Sezz
1d9cad5ba6 Smoothly adapt to projected floor height when vaulting (prototype) 2022-02-04 19:06:59 +11:00
Sezz
ec2c4e63df Cleanup 2022-02-03 12:21:28 +11:00
Sezz
be08902a5c Tentatively rename animation-related ITEM_INFO members 2022-02-02 20:16:16 +11:00
Sezz
29b2f68870 Fix(?) portal traversal in UpdateItemRoom(); round floats in TranslateItem() 2022-02-02 18:28:23 +11:00
Sezz
9c6003cd39 Add GetWaterSurface(), GetWaterDepth() and GetWaterHeight() overrides; cleanup 2022-02-01 21:46:58 +11:00
Sezz
3387515626 Tentatively rename some COLL_SETUP struct members; update comments; cleanup 2022-01-30 14:43:33 +11:00
Sezz
7517e00b26 Refine jump states 2022-01-29 07:30:59 +11:00
Sezz
e7ec8185b2 Consider current speed in wall jump smash test; fix monkey snap in idle state; fix LOS test in monkey move test 2022-01-28 01:22:11 +11:00
Sezz
d3e73e1d2d Remove int casts 2022-01-27 22:26:05 +11:00
Sezz
b63ad23519 Fix merge error; update step test; cleanup 2022-01-27 20:56:05 +11:00
Sezz
0a978c9d29 Enable functionality for backward monkey movement; update anim enum 2022-01-26 21:45:53 +11:00
Sezz
bede90ac4d Update Lara states; cleanup 2022-01-26 14:51:50 +11:00
Sezz
131a60184b Merge branch 'overhang_climbing' in to state_cleaning_tier_2 2022-01-26 12:47:38 +11:00
Sezz
9d253a732b Introduce TestEnvironment() 2022-01-25 18:02:22 +11:00
Sezz
1516f03c07 Replace some magic numbers; cleanup 2022-01-23 18:16:29 +11:00
Sezz
aa289da863 Fix sector flag detection; snap Lara to slopes; change temp. debug stuff; cleanup 2022-01-23 15:06:05 +11:00