Refactored more of Entities and BlockEntities to use Vector3. (#4403)
This commit is contained in:
@@ -291,7 +291,7 @@ bool cBlockHandler::IsInsideBlock(Vector3d a_Position, const BLOCKTYPE a_BlockTy
|
||||
|
||||
|
||||
|
||||
cBlockEntity * cBlockEntity::CreateByBlockType(BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, int a_BlockX, int a_BlockY, int a_BlockZ, cWorld * a_World)
|
||||
cBlockEntity * cBlockEntity::CreateByBlockType(BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i a_Pos, cWorld * a_World)
|
||||
{
|
||||
return nullptr;
|
||||
}
|
||||
@@ -316,7 +316,7 @@ void cDeadlockDetect::UntrackCriticalSection(cCriticalSection & a_CS)
|
||||
|
||||
|
||||
|
||||
void cBlockEntity::SetPos(int a_BlockX, int a_BlockY, int a_BlockZ)
|
||||
void cBlockEntity::SetPos(Vector3i a_NewPos)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -333,7 +333,7 @@ bool cBlockEntity::IsBlockEntityBlockType(BLOCKTYPE a_BlockType)
|
||||
|
||||
|
||||
|
||||
cBlockEntity * cBlockEntity::Clone(int a_BlockX, int a_BlockY, int a_BlockZ)
|
||||
cBlockEntity * cBlockEntity::Clone(Vector3i a_Pos)
|
||||
{
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user