Commit graph

1239 commits

Author SHA1 Message Date
Raildex
d45db30cd9 Ammo struct to better represent Ammo 2021-01-25 13:58:23 +01:00
Raildex
2a2c52674f Refactored SpeedBoatCheckGeton to use a descriptive Enum as return type 2021-01-25 11:09:36 +01:00
Raildex
6d0557c667 Fixing Jeep wheels (and potentially Motorbike) 2021-01-21 19:35:57 +01:00
Troye
42c50f98af Merge pull request #250 from MontyTRC89/motorbike_fixes
fix motorbike
2021-01-20 01:33:20 -06:00
Trxye
4374e00ab1 fix motorbike 2021-01-20 01:30:30 -06:00
Raildex
6df3aafada Added working Release Configuration 2021-01-19 16:49:40 +01:00
asasas9500
6c39800d89 Fix no pathfinding 2021-01-17 20:29:37 -03:00
Trxye
a016bb7f21 remove kayak hack 2021-01-17 14:46:08 -06:00
asasas9500
1ddc8c4c67 Add ExplosionControl() 2021-01-08 17:49:55 -03:00
asasas9500
ee1ec0d7e5 Fix line endings of new files 2021-01-07 23:48:30 -03:00
asasas9500
c4c810a0cc Add InitialiseExplosion() 2021-01-07 23:32:46 -03:00
KrysB4k
190499acfe Corrected GetBoundsAccurate()
Fixing Core's mistakes...
2020-12-31 03:20:09 +01:00
MontyTRC89
0c52fd8e69 Tested, cleaned and fixed ID_SCORPION and ID_SMALL_SCORPION 2020-12-26 14:44:05 +01:00
KrysB4k
e5e32251a8 Removed mistakes with previous commit 2020-12-25 01:36:28 +01:00
KrysB4k
7754e5c606 Revert "Pushables: Fix error in stack height code, use bbox Y1 value for non-rigid pushables"
This reverts commit 4327a78f85.
2020-12-25 01:31:17 +01:00
KrysB4k
4327a78f85 Pushables: Fix error in stack height code, use bbox Y1 value for non-rigid pushables
Y1 value of pushable's bounding box is now used in computing block height
2020-12-25 01:30:24 +01:00
KrysB4k
5cee62e169 Proper collision for stacked pushables
Total height is calculated for pushable stacks and used for evaluation in TestBlockPush() and TestBlockPull()
2020-12-24 03:53:36 +01:00
asasas9500
10b99e0111 Fix bomb 2020-12-23 11:04:21 -03:00
KrysB4k
376f1fbfdb Remove UpdateLaraRoom() from ItemPushLara(): fixes kayak jump bug
UpdateLaraRoom() seems not needed. Removing it fixes the jumping bug with water vehicles and other objects
2020-12-22 19:32:37 +01:00
MontyTRC89
aeeecd4764 Merge pull request #247 from MontyTRC89/LineEndings
Fix line endings
2020-12-22 07:45:38 +01:00
asasas9500
10a3d9167a Fix line endings 2020-12-21 13:16:29 -03:00
KrysB4k
d5f24ab752 Stackable pushables 2020-12-21 04:13:14 +01:00
KrysB4k
af647066f7 Pushables: parse CollidedItems array for objects with floor procedures 2020-12-20 19:31:07 +01:00
asasas9500
23a841a3da Fix stacked bridges 2020-12-20 14:04:27 -03:00
asasas9500
b7d1ad3f35 Revert collision vectors 2020-12-20 00:00:18 -03:00
asasas9500
1693bf741d Revert move angle relative to Lara rotation 2020-12-19 23:34:52 -03:00
KrysB4k
735e73f1ea Removed duplicate function GetFloorAndTestTriggers, fix pushblock issues
GetFloorAndItemTriggers() was removed in favor of TestTriggersAtXYZ() from switch.cpp, which does the same. All calls to GetFloorAndItemTriggers were replaced with TestTriggersAtXYZ.

Pushables pulling bug was fixed in TestBlockPull(). PushableBlockControl() now calls ItemNewRoom() to signal change of room membership of pushable.
2020-12-19 23:02:55 +01:00
MontyTRC89
187efb475f Fixed ID_SPHINX; Fixed heavy triggers; 2020-12-10 15:22:18 +01:00
MontyTRC89
55044709db Fixed ID_BAT (but see notes in tr4_bat.cpp) 2020-12-01 18:35:21 +01:00
MontyTRC89
c7d8559b8b Merge branch 'master' of https://github.com/MontyTRC89/TR5Main 2020-12-01 07:08:04 +01:00
MontyTRC89
6784cf2869 Fixed CreatureAnimation(); Improved ID_CROCODILE; 2020-11-29 06:56:37 +01:00
MontyTRC89
f41fea713d Fixed serious bug in CreatureAIInfo(); Improved ID_CROCODILE; 2020-11-28 07:27:35 +01:00
Raildex
69847d859a Increased Room Stack Size to 512 2020-11-26 20:41:07 +01:00
Woops
1fa87b256c centaur stuff 2020-11-16 15:42:12 -06:00
Woops
b212151874 fix TR1 torso, port centaur 2020-11-16 02:33:04 -06:00
Woops
e7d146b91f fix bacon 2020-11-16 01:17:29 -06:00
Woops
f70625ea19 fix ape 2020-11-15 12:28:45 -06:00
MontyTRC89
760863ffdf Merge pull request #241 from MontyTRC89/NewTRMath
New tr math
2020-11-14 21:25:09 +01:00
asasas9500
e5a10a4582 Merge branch 'master' into NewTRMath 2020-11-14 16:19:45 -03:00
asasas9500
1b96701d5e Fix raising blocks height 2020-11-14 14:35:27 -03:00
MontyTRC89
efd37b3290 Raising blocks now have automatic height and not hardcoded anymore 2020-11-14 16:07:11 +01:00
MontyTRC89
72658c7e21 Merge branch 'master' of https://github.com/MontyTRC89/TR5Main 2020-11-14 15:25:18 +01:00
MontyTRC89
97d3ec1931 Some fixed for ID_TROOPS 2020-11-14 15:24:28 +01:00
Woops
a63aaf8305 bacon lara works now 2020-11-13 16:02:08 -06:00
Woops
b3501d4974 ape cleaneup 2020-11-13 14:43:47 -06:00
Woops
75ba9aa214 constants and cleanup for TR1 bear 2020-11-12 23:47:48 -06:00
Woops
3430c66998 constants and clean up for TR1 wolf 2020-11-12 23:16:27 -06:00
asasas9500
8167f6b0f4 Finish merge 2020-11-11 16:28:05 -03:00
asasas9500
8ec8decc59 Merge branch 'master' into NewTRMath 2020-11-11 16:09:33 -03:00
asasas9500
82d9dc4bea Separate bridge floor and ceiling; Fix pushables 2020-11-11 15:01:45 -03:00