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
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
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
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
efd37b3290
Raising blocks now have automatic height and not hardcoded anymore
2020-11-14 16:07:11 +01:00
asasas9500
82d9dc4bea
Separate bridge floor and ceiling; Fix pushables
2020-11-11 15:01:45 -03:00
MontyTRC89
59951cdeb1
Fixed climbable pushables
2020-11-07 18:52:33 +01:00
MontyTRC89
6dc968d61f
Climbable pushables beta; AlterFloorHeight (onli for floor)
2020-11-01 07:51:11 +01:00
MontyTRC89
49783b81a7
Restored TR5 pushables
2020-10-17 17:04:39 +02:00
MontyTRC89
bc79021dcf
Working on climbable pushables
2020-09-07 20:01:28 +02:00
Woops
6ada970725
Lara refactor: lara_cheat, move the rest of the functions out of laramisc.cpp and delete it. fix includes.
2020-08-16 16:01:58 -05:00
asasas9500
86e2291c53
Merge branch 'master' into DiagonalCollisions
2020-08-07 16:37:31 -03:00
Sezz
5d4dc8ffdd
Updated animation and state names to follow a consistent system.
2020-08-04 20:32:07 +10:00
KrysB4k
ed13777ac2
Merge branch 'master' into DiagonalCollisions
2020-07-26 10:51:06 +02:00
MontyTRC89
689ec226e7
Frames refactoring
2020-07-25 18:02:35 +02:00
MontyTRC89
83bba01a99
Moving all globals of level under LEVEL struct; Fixed severe performance issue;
2020-07-21 09:56:47 +02:00
MontyTRC89
9867a6d24c
Pathfinding refactoring
2020-07-11 21:16:04 +02:00
asasas9500
35fe5cd78f
Merge branch 'master' into NoShifts
2020-06-06 18:37:21 -03:00
asasas9500
c49c98d21b
Move COLL_TYPE, HEIGHT_TYPES and HEADINGS to collide.h; Create OCTANTS, SnapToQuadrant(), GetQuadrant(), SnapToDiagonal() and GetOctant()
2020-06-06 15:48:38 -03:00
TokyoSU
900235c967
Implemented Baboon
...
- Fixed AIObject not being initialized !
- Fixed ITEM_DEACTIVATED (cause im french and ITEM_DESACTIVATED is more appropriate)
2020-06-04 12:49:08 +02:00
TokyoSU
b615a98c46
(Broken) Deleted Global Folder
...
- No more enums.h, constants.h, macro.h, etc...
- moved all structure in types.h to there respective file.
2020-05-30 15:55:23 +02:00
TokyoSU
963706c3af
Partially finished Entity Folder Refactoring
...
- Less Compile Time
- ObjectInfo now use std::function.
- added isPickup and isPuzzleHole in ObjectInfo.
- Renamed EVIL_LARA to LARA_DOPPELGANGER (DOPPELGANGER in xml)
- Removed TR1 Larson/Pierre and TR1 Raptor.
2020-05-27 19:07:34 +02:00