mirror of
https://github.com/celisej567/mcpe.git
synced 2026-09-11 20:11:18 +03:00
* Change long to TLong.
This allows a potential linux port to become reality much easier.
This commit is contained in:
@@ -10,6 +10,13 @@
|
||||
|
||||
bool LevelChunk::touchedSky = false;
|
||||
|
||||
LevelChunk::~LevelChunk()
|
||||
{
|
||||
SAFE_DELETE(m_lightBlk);
|
||||
SAFE_DELETE(m_lightSky);
|
||||
SAFE_DELETE(m_tileData);
|
||||
}
|
||||
|
||||
constexpr int MakeBlockDataIndex (int x, int y, int z)
|
||||
{
|
||||
return (x << 11) | (z << 7) | y;
|
||||
@@ -894,7 +901,7 @@ int LevelChunk::getBlocksAndData(uint8_t* pData, int a3, int a4, int a5, int a6,
|
||||
return a9;
|
||||
}
|
||||
|
||||
Random LevelChunk::getRandom(long l)
|
||||
Random LevelChunk::getRandom(TLong l)
|
||||
{
|
||||
Random random;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user