Test monde infini
This commit is contained in:
@@ -35,31 +35,25 @@ private:
|
||||
void DrawHud(float elapsedTime);
|
||||
void PrintText(unsigned int x, unsigned int y, const std::string& t);
|
||||
int GetFps(float elapsedTime) const;
|
||||
bool GenerateChunk(int chx, int chy);
|
||||
void UpdateWorld(int& generates, int& updates, int chx, int chy);
|
||||
|
||||
void ChangeBlockAtCursor(BlockType blocktype);
|
||||
|
||||
bool m_wireframe = false;
|
||||
bool m_isSkybox = true;
|
||||
|
||||
int m_renderCount = 0;
|
||||
int m_badHitCount = 0;
|
||||
std::vector<Vector3i> m_renderManifest;
|
||||
|
||||
Shader m_shader01;
|
||||
BlockInfo* m_blockinfo[BTYPE_LAST];
|
||||
TextureAtlas m_textureAtlas = TextureAtlas(BTYPE_LAST);
|
||||
World m_world = World();
|
||||
Perlin m_perlin = Perlin(3,5.f,64.f,12345);
|
||||
|
||||
Texture m_textureFloor;
|
||||
World m_world = World();
|
||||
Perlin m_perlin = Perlin(3,7.f,127.f,12345);
|
||||
|
||||
Texture m_textureSkybox;
|
||||
Texture m_textureFont;
|
||||
Texture m_textureCrosshair;
|
||||
Texture m_textureCube1;
|
||||
|
||||
Skybox m_skybox;
|
||||
Shader m_shader01;
|
||||
Audio m_audio = Audio(AUDIO_PATH "music01.wav");
|
||||
|
||||
Player m_player = Player(Vector3f(0, CHUNK_SIZE_Y + 1.8f, 0));
|
||||
|
Reference in New Issue
Block a user