mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-05-12 21:47:03 +03:00
27 lines
1.1 KiB
C++
27 lines
1.1 KiB
C++
#pragma once
|
|
struct ITEM_INFO;
|
|
struct COLL_INFO;
|
|
|
|
|
|
|
|
void ClearMovableBlockSplitters(int x, int y, int z, short roomNumber);
|
|
void InitialisePushableBlock(short itemNum);
|
|
void PushableBlockControl(short itemNumber);
|
|
void PushableBlockCollision(short itemNum, ITEM_INFO* laraitem, COLL_INFO* coll);
|
|
bool TestBlockMovable(ITEM_INFO* item, int blokhite);
|
|
bool TestBlockPush(ITEM_INFO* item, int blockhite, unsigned short quadrant);
|
|
bool TestBlockPull(ITEM_INFO* item, int blockhite, short quadrant);
|
|
void MoveStackXZ(short itemNum);
|
|
void MoveStackY(short itemNum, int y);
|
|
void RemoveBridgeStack(short itemNum);
|
|
void AddBridgeStack(short itemNum);
|
|
void RemoveFromStack(short itemNum);
|
|
int FindStack(short itemNum);
|
|
int GetStackHeight(ITEM_INFO* item);
|
|
bool CheckStackLimit(ITEM_INFO* item);
|
|
void PushLoop(ITEM_INFO* item);
|
|
void PushEnd(ITEM_INFO* item);
|
|
std::optional<int> PushableBlockFloor(short itemNumber, int x, int y, int z);
|
|
std::optional<int> PushableBlockCeiling(short itemNumber, int x, int y, int z);
|
|
int PushableBlockFloorBorder(short itemNumber);
|
|
int PushableBlockCeilingBorder(short itemNumber);
|