Commit graph

328 commits

Author SHA1 Message Date
Lwmte
4ffeabc876 Fix corner embed issue 2021-10-27 11:10:39 +03:00
Lwmte
38862dac8d Use enum class for collision enums 2021-10-27 09:48:31 +03:00
Lwmte
90be115e7e Fix reach tunneling on high velocities 2021-10-26 17:23:14 +03:00
Lwmte
7a3b633223 Fix false distance returns in hard candidate cases 2021-10-26 13:29:20 +03:00
Lwmte
814aa3b2a7 Implement diagonal corner changes 2021-10-26 12:50:26 +03:00
Lwmte
b66297e5a6 Update collide.cpp 2021-10-26 11:39:35 +03:00
Lwmte
eae3c65464 Fix angle detection ceiling misfires 2021-10-26 11:36:56 +03:00
Lwmte
9f2b851094 Fix scissor ceiling split angle detection 2021-10-26 10:56:08 +03:00
Lwmte
8c70129cff Prevent long-distance misfires while calculating angles 2021-10-26 10:37:38 +03:00
Lwmte
2bb0b5a2e8 More adjustments 2021-10-25 19:28:19 +03:00
Lwmte
f960924cce Fix 2 similar planes distance misfires 2021-10-25 18:28:50 +03:00
Lwmte
2347e245e9 Fix reach state embedding, implicitly do 3-pass probing for angles 2021-10-25 17:09:14 +03:00
Lwmte
17098c192b Move items with subfunction 2021-10-25 12:12:36 +03:00
Lwmte
af850403ed Do more precise nearest ledge calc for no quadrants coll modes 2021-10-25 10:50:38 +03:00
Lwmte
4fdbeecc02 Fix accumulating rounding errors on side speed shifts 2021-10-24 05:09:54 +03:00
Lwmte
1b6eb6d035 Stabilize shimmying 2021-10-24 04:08:54 +03:00
Lwmte
254dfe99bb Make subfunction for snapping item to ledge 2021-10-23 13:29:00 +03:00
Lwmte
c1efad6a4a Napalm GetOrthogonalIntersect 2021-10-23 13:11:24 +03:00
Lwmte
428c9d56b2 Fix wall embed during vaults 2021-10-22 13:47:19 +03:00
Sezz
5db4aa56fc Add new GetCollisionResult() overload function for the purposes of probing 2021-10-16 22:10:01 +11:00
Sezz
6323fa3503 Merge branch 'master' into lara_state_cleaning_etc 2021-10-11 16:03:10 +11:00
Lwmte
1bcfad0dcb Update collide.cpp 2021-10-10 15:24:28 +03:00
Sezz
4903192226 Bugfix: stop embed when colliding with 1 step floor + 3 step ceiling 2021-10-10 20:59:12 +11:00
Lwmte
fd776eae7f Update collide.cpp 2021-10-10 12:06:11 +03:00
Lwmte
c82c6f5b6f Move no quadrants flag into coll setup 2021-10-09 19:19:02 +03:00
Lwmte
5938d2d9ca Merge branch 'master' into surface_angle_detection 2021-10-09 05:02:15 +03:00
Lwmte
19b12f42dc Draw true spheres 2021-10-09 05:01:39 +03:00
Lwmte
a74903e373 Merge branch 'master' into surface_angle_detection 2021-10-08 21:15:41 +03:00
Lwmte
6d5f1d3913 Revert "Fix tilt values spilling into COLL_INFO from floor on bridges"
This reverts commit 6667db3893.
2021-10-08 21:15:27 +03:00
Lwmte
21b00de93e Merge branch 'master' into surface_angle_detection 2021-10-08 20:51:08 +03:00
Lwmte
6667db3893 Fix tilt values spilling into COLL_INFO from floor on bridges 2021-10-08 20:44:22 +03:00
Lwmte
d2b7eb3b90 Update collide.cpp 2021-10-08 14:48:41 +03:00
Lwmte
9177fd4e72 Update collide.cpp 2021-10-08 14:48:34 +03:00
Lwmte
42075950fa Fix bridge cases on second pass 2021-10-08 14:47:41 +03:00
Lwmte
30cea4bf15 Implement two-pass ledge angle check for tight diagonal setups 2021-10-08 13:58:51 +03:00
Lwmte
6220efb3da Implement unconstrained GetCollisionInfo for water surface movement 2021-10-08 12:57:48 +03:00
Lwmte
1d08f534dc Remove obsolete function 2021-10-07 18:03:55 +03:00
Lwmte
844e885566 Use ceiling split angle instead of floor split angle if it's in the way 2021-10-07 18:03:17 +03:00
Lwmte
034e961e10 Get rid of GetOrthogonalIntersect for vaults 2021-10-07 17:11:01 +03:00
Lwmte
c9b6ded878 First test for arbitrary angle vaults 2021-10-07 16:45:26 +03:00
Lwmte
b580f81850 Update collide.cpp 2021-10-07 16:17:50 +03:00
Lwmte
02e4945b71 Fix block angles 2021-10-07 16:10:02 +03:00
Lwmte
ac1a28645f Do better tests 2021-10-07 15:45:26 +03:00
Lwmte
89dede3cc6 Tests 2021-10-07 15:42:49 +03:00
Lwmte
65f5c17cc9 Deduplicate GetCollisionInfo code in preparation for unconstrained probe angles 2021-10-07 12:34:16 +03:00
Lwmte
482662d644 Remove unnecessary additional ObjectHeadroom field from COLL_INFO 2021-10-07 11:01:39 +03:00
Lwmte
7002560915 Fix errors 2021-10-07 10:08:25 +03:00
Lwmte
26a97bddb9 Update collide.cpp 2021-10-07 02:00:01 +03:00
Lwmte
7168c2ca41 More cleanup 2021-10-07 01:29:02 +03:00
Lwmte
110a764730 Cleanup and comment 2021-10-07 01:24:45 +03:00