Commit graph

297 commits

Author SHA1 Message Date
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
Lwmte
7615fda68b Fix stuff 2021-10-07 00:08:56 +03:00
Lwmte
931af585b1 Get bridge surface angle as well 2021-10-06 23:57:50 +03:00
Lwmte
f68dd226a1 Get nearest surface angle for blocks properly 2021-10-06 23:26:46 +03:00
Lwmte
4368c616ee Work 2021-10-06 20:54:15 +03:00
Lwmte
35d736421c Fix UPV bugs 2021-10-04 12:28:05 +03:00
Lwmte
cc90bfbb0b Add visual debug for GetCollisionInfo probes 2021-10-02 21:50:36 +03:00
Lwmte
6c7276be28 Unhack lara_as_stop state - no more direct calls to other state code 2021-10-02 15:44:34 +03:00
Lwmte
2fcc9146da Reduce vault snapping margin from 1024 to 128 2021-10-01 16:12:02 +03:00
Lwmte
29ad4442c0 Work 2021-09-29 03:41:36 +03:00
Lwmte
788ce04661 First commit 2021-09-27 07:12:30 +03:00
Lwmte
e6fc5aba77 Cleanup 2021-09-25 16:00:30 +03:00
Lwmte
b7cf7be08c Merge branch 'master' into item_info_include_fix 2021-09-25 15:59:51 +03:00
Raildex
2b0b1ff282 Added newlines 2021-09-25 11:27:47 +02:00
Lwmte
1463d15461 Update collide.cpp 2021-09-24 20:55:00 +03:00
Raildex
7b070e75ad Fixed duplicated ITEM_INFO definition 2021-09-24 07:53:42 +02: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
b11a8ad77c Fix merge 2021-09-20 01:11:22 +03:00
Lwmte
e70b87ca90 Merge branch 'master' into coll_info_reorganize 2021-09-19 23:47:31 +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
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
32b48e9c24 Rename some functions 2021-09-17 16:07:53 +03:00
Lwmte
5ae79a461e Remove legacy RoomBelow/Above helper funcs, fix door offset 2021-09-17 15:32:55 +03:00
MontyTRC89
1744c0ae12 Fixed GenericSphereBoxCollision(); Fixed ID_BIRD_BLADE and ID_PLOUGH; 2021-09-17 06:01:15 +02:00
Lwmte
8d86c2e97d Rename draw.cpp to animation.cpp which makes more sense, some more edits 2021-09-16 05:06:03 +03:00
Lwmte
d8aa65260f Make Lara targetable again 2021-09-16 03:56:04 +03:00
Lwmte
4a551c0918 Move LOS stuff out of control.cpp 2021-09-15 17:20:42 +03:00
Lwmte
ec84760f80 Merge branch 'master' into coll_info_reorganize 2021-09-15 14:38:05 +03:00
MontyTRC89
08691fc6ee Fixed bug in GenericSphereBoxCollision(); Fixed ID_SPIKEY_BALL, ID_FLOOR_4BLADES, ID_CEILING_4BLADES; 2021-09-15 06:08:48 +02:00