Commit graph

297 commits

Author SHA1 Message Date
Lwmte
10f2562db9 Fix ledge tests near zero coords 2021-11-15 00:34:31 +03:00
Sezz
625a433980 Add new GetCollisionResult() overload function. 2021-11-15 00:34:04 +11:00
Sezz
1ac1fec4e1 Remove LaraItem global usage in lara_flare.cpp + minor cleanup 2021-11-12 19:52:48 +11:00
Lwmte
4c16ee30fb Update collide.cpp 2021-11-12 01:16:29 +03:00
Lwmte
8f51243ca4 First commit 2021-11-10 02:41:59 +03:00
Lwmte
f288186341 Fix CollectConnectedRooms 2021-11-09 08:54:33 +03:00
Lwmte
09e87ca18b Rewrite TestObjectOnLedge 2021-11-09 03:16:34 +03:00
Lwmte
5031079637 Fix TestForObjectOnLedge 2021-11-09 01:50:28 +03:00
Lwmte
c33e4759c6 Swap y/z args in new FD funcs 2021-11-08 17:48:57 +03:00
Lwmte
3a34300367 Fix lateral movement 2021-11-04 19:24:28 +03:00
Lwmte
c7237ac98b Filter out surface detachment cases for CalcItemToFloorRotation 2021-11-04 13:38:23 +03:00
Lwmte
4ddfaae169 Refactor CalcItemToFloorRotation 2021-11-04 13:22:26 +03:00
Lwmte
ba6a70cf30 Update collide.cpp 2021-11-04 04:52:31 +03:00
Lwmte
755ee5f073 Add pushouts near triangles 2021-11-04 04:49:40 +03:00
Lwmte
5630a5813d Remove unused function 2021-11-03 20:44:24 +03:00
Lwmte
b079fb1f32 Update collide.cpp 2021-11-03 10:41:16 +03:00
Lwmte
6d3c231d04 Update collide.cpp 2021-11-03 10:40:22 +03:00
Lwmte
319a532ffc Merge branch 'master' into arbitrary_hanging_and_shimmying 2021-11-03 02:26:09 +03:00
Lwmte
0c1237857c Store bridge number in COLL_RESULT for future use 2021-11-03 02:18:41 +03:00
Lwmte
bc332c9607 Fix walking/crawling on bridge objects above slopes 2021-11-03 02:15:30 +03:00
Lwmte
a9dd7c7f28 Don't reject top collision if there's diagonal step nearby 2021-10-28 02:58:42 +03:00
Lwmte
eee97cd2e4 Bring back grid snap for ladder cases because ladder code fragility 2021-10-27 12:46:36 +03:00
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
Lwmte
1bcfad0dcb Update collide.cpp 2021-10-10 15:24:28 +03: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