mirror of
https://github.com/celisej567/mcpe.git
synced 2026-01-04 14:09:47 +03:00
* Fix SDL build.
This commit is contained in:
@@ -27,7 +27,6 @@ public:
|
||||
{
|
||||
field_0 = -1;
|
||||
field_4 = 0;
|
||||
m_id;
|
||||
field_C = 0.0f;
|
||||
field_10 = 0.0f;
|
||||
field_14 = 0.0f;
|
||||
@@ -36,6 +35,10 @@ public:
|
||||
}
|
||||
RenderChunk(GLuint a1, int a2)
|
||||
{
|
||||
field_C = 0.0f;
|
||||
field_10 = 0.0f;
|
||||
field_14 = 0.0f;
|
||||
|
||||
m_id = ++runningId;
|
||||
field_0 = a1;
|
||||
field_4 = a2;
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
********************************************************************/
|
||||
|
||||
#include "Textures.hpp"
|
||||
#include "client/common/Utils.hpp"
|
||||
|
||||
bool Textures::MIPMAP = false;
|
||||
|
||||
|
||||
@@ -39,19 +39,22 @@ struct EntityPos
|
||||
EntityPos()
|
||||
{
|
||||
m_yaw = 0, m_pitch = 0;
|
||||
m_bHasRot, m_bHasPos;
|
||||
m_bHasRot = false, m_bHasPos = false;
|
||||
};
|
||||
|
||||
EntityPos(const Vec3& pos)
|
||||
{
|
||||
m_pos = pos;
|
||||
m_yaw = 0, m_pitch = 0;
|
||||
m_bHasPos = true;
|
||||
m_bHasRot = false;
|
||||
}
|
||||
|
||||
EntityPos(float yaw, float pitch)
|
||||
{
|
||||
m_yaw = yaw;
|
||||
m_pitch = pitch;
|
||||
m_bHasPos = false;
|
||||
m_bHasRot = true;
|
||||
}
|
||||
|
||||
|
||||
@@ -19,7 +19,9 @@ BiomeSource* BiomeSource::init()
|
||||
field_18 = 0;
|
||||
field_1C = 0;
|
||||
field_20 = new Biome * [256];
|
||||
m_pPerlinNoise[3] = nullptr;
|
||||
m_pPerlinNoise[0] = nullptr;
|
||||
m_pPerlinNoise[1] = nullptr;
|
||||
m_pPerlinNoise[2] = nullptr;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user