Commit graph

8102 commits

Author SHA1 Message Date
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
KrysB4k
6901faae3d Fix pushing pushables into bridges
Swapped pushable_info function for a simple #define
2021-01-18 13:41:59 +01:00
asasas9500
6c39800d89 Fix no pathfinding 2021-01-17 20:29:37 -03:00
asasas9500
f1fa0b39f7 Fix monkey swing 2021-01-17 17:54:52 -03:00
Trxye
a016bb7f21 remove kayak hack 2021-01-17 14:46:08 -06:00
asasas9500
c4c0913975 Fix crawling 2021-01-17 15:56:48 -03:00
KrysB4k
dfdc351fe3 Merge remaining features of VirtualRooms 2021-01-16 18:38:16 +01:00
asasas9500
7604d2e1c3 Merge branch 'VirtualRooms' into PushableOCB 2021-01-16 11:39:52 -03:00
asasas9500
818ca54f5c Revert changes to pushable block 2021-01-16 11:27:27 -03:00
asasas9500
e74a72a084 Revert "Fix pushable collision bug"
This reverts commit 604eac4351.
2021-01-16 11:05:14 -03:00
asasas9500
f6baa33489 Revert "Fixed comment"
This reverts commit 492d03d290.
2021-01-16 11:04:50 -03:00
KrysB4k
492d03d290 Fixed comment 2021-01-12 20:17:38 +01:00
KrysB4k
604eac4351 Fix pushable collision bug
Remove bridge from pushable (stack) on movement start and add bridge from pushable (stack) on movement stop
2021-01-12 20:11:03 +01: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
asasas9500
8ac4a1fa48 Fix bridges inconsistency 2021-01-07 17:47:09 -03:00
asasas9500
358e9e42fd Make Lara aware of virtual rooms 2021-01-07 11:16:21 -03:00
asasas9500
2917bd9997 Implement virtual rooms into floordata 2021-01-06 17:53:13 -03:00
asasas9500
7a2c3c5404 Simplify main floordata functions 2021-01-03 15:21:32 -03:00
KrysB4k
19e6277232 New pushblock movement code
Bounding box data is used to move pushable. Removed old code with itemFlags, which fixes pushable bug with coordinates near 32768
2020-12-31 06:50:16 +01:00
KrysB4k
8748c26c12 Merge branch 'master' into PushableOCB 2020-12-31 03:25:12 +01:00
KrysB4k
190499acfe Corrected GetBoundsAccurate()
Fixing Core's mistakes...
2020-12-31 03:20:09 +01:00
KrysB4k
d0143c87b4 Updates to pushables
Introduced PUSHABLE_INFO struct, which is stored in item->data of pushable.

Tried to implement as many TRNG pushable OCBs as I could.
2020-12-30 02:12:14 +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