Commit graph

122 commits

Author SHA1 Message Date
Lwmte
af850403ed Do more precise nearest ledge calc for no quadrants coll modes 2021-10-25 10:50:38 +03:00
Lwmte
1b6eb6d035 Stabilize shimmying 2021-10-24 04:08:54 +03:00
Lwmte
fa7ed96f21 Return TriangleAt only if nearest ledge is not snapped to quadrant 2021-10-23 14:52:33 +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
c82c6f5b6f Move no quadrants flag into coll setup 2021-10-09 19:19:02 +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
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
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
f68dd226a1 Get nearest surface angle for blocks properly 2021-10-06 23:26:46 +03:00
Lwmte
4f23f80afa Increase coll check distance 2021-10-02 21:52:03 +03:00
Lwmte
62a1cd91d8 Clarify more 2021-09-20 02:14:44 +03:00
Lwmte
e572f4dba7 Remove magic tri split checks 2021-09-20 01:42:49 +03:00
Lwmte
add6629267 Swap BadHeightUp/Down 2021-09-19 17:48:32 +03:00
Lwmte
b3898b7940 Embed height data into COLL_INFO, fix issues with rolling under statics and statics submerged into water 2021-09-19 06:42:24 +03:00
Lwmte
9aa00c22eb Update collide.h 2021-09-19 04:50:05 +03:00
Lwmte
e790f47d27 Unhack GetCollisionInfo a bit 2021-09-19 04:11:55 +03:00
Lwmte
015815c5d3 Fix embedding into diagonal walls and steps, fix Lara freeze on triangle slopes 2021-09-17 22:55:09 +03:00
Lwmte
5ae79a461e Remove legacy RoomBelow/Above helper funcs, fix door offset 2021-09-17 15:32:55 +03:00
Lwmte
257b5d8e0a Fix undefined return bugs 2021-09-13 23:44:52 +03:00
KrysB4k
7ff79f8da1 Removed remnants of bad ideas
Removed SplitFloor and SplitCeiling completely from affected source files
2021-09-13 20:19:33 +02:00
Lwmte
0c89a0889d Deint collide.cpp 2021-09-13 10:15:53 +03:00
Lwmte
d8ab386840 Rename DeathIsPit to be more descriptive 2021-09-13 09:55:54 +03:00
Lwmte
e3df0a4960 CheckNoColFloorTriangle enum 2021-09-13 03:20:53 +03:00
Lwmte
7854679a69 Remove all floordata legacy code 2021-09-11 22:41:25 +03:00
Lwmte
1efe6a1573 Remove unused define 2021-09-10 18:29:13 +03:00
Lwmte
2f3af7e3ea Simplify GetCollisionInfo arguments 2021-09-10 12:14:28 +03:00
Lwmte
280c9fa28b Merge branch 'master' into coll_info_reorganize 2021-09-10 10:11:15 +03:00
MontyTRC89
6f0914e39e Merge pull request #318 from MontyTRC89/item_data
Item data
2021-09-10 05:01:45 +02:00
Lwmte
7ad5ef40f9 Small fixes 2021-09-10 00:49:45 +03:00
Lwmte
c9d4914e3d Simplify COLL_POSITION 2021-09-10 00:43:26 +03:00
Lwmte
1df38ae15a Rename settings to setup 2021-09-10 00:20:59 +03:00
Lwmte
1efe0a9f09 Reorganize COLL_INFO 2021-09-10 00:18:47 +03:00
Lwmte
9f3a824499 Crawl under solid static meshes 2021-09-09 20:21:05 +03:00
Lwmte
48a9a1d52a Merge branch 'master' into item_data 2021-09-09 11:10:25 +03:00
Lwmte
3fe6211e4e Further organizing 2021-09-08 18:31:35 +03:00
Lwmte
76a0365f4f More reasonable name for splat flag 2021-09-08 17:44:24 +03:00
Lwmte
3b45f66463 Add splat animation if static bounds are taller than Lara headroom 2021-09-08 16:14:13 +03:00
Lwmte
15bd790230 Remove unused hitCeiling flag 2021-09-08 15:59:22 +03:00
Lwmte
24ad8bffef Generalize solid collision function, enum static flags 2021-09-08 14:02:32 +03:00
Lwmte
b1829d5ef9 Finalize 2021-09-08 13:39:29 +03:00
Lwmte
e38b59c175 Convert some functions 2021-09-07 20:37:31 +03:00
Raildex
31ec83f9cc Merge branch 'master' into item_data
# Conflicts:
#	TR5Main/Game/items.cpp
2021-09-04 11:52:34 +02:00
MontyTRC89
c4e7dc811c First commit 2021-09-04 07:59:00 +02:00
Lwmte
445e062c03 Remove broken CollideStaticObjects function
# Conflicts:
#	TR5Main/Game/collide.cpp
2021-09-02 19:50:10 +02:00
Lwmte
522b41d1d6 Clarify function names
# Conflicts:
#	TR5Main/Game/collide.cpp
2021-09-02 19:49:07 +02:00