Changment pour lac/arbre
This commit is contained in:
parent
e3b59e37eb
commit
841947bc7a
@ -86,7 +86,7 @@ Chunk::Chunk(unsigned int x, unsigned int y, int64_t seed) : m_posX(x), m_posY(y
|
||||
int lastTreeX = -1;
|
||||
int lastTreeZ = -1;
|
||||
|
||||
int minDistanceBetweenTrees = 10; // Définir la distance minimale entre les arbres
|
||||
int minDistanceBetweenTrees = 10;
|
||||
|
||||
for (int ix = 0; ix < CHUNK_SIZE_X; ++ix) {
|
||||
for (int iz = 0; iz < CHUNK_SIZE_Z; ++iz) {
|
||||
|
@ -394,8 +394,8 @@ void Engine::LoadResource() {
|
||||
LoadTexture(MenuQuitTexture, MENU_ITEM_PATH "BasicQuit.png");
|
||||
LoadTexture(MenuOptionsTexture, MENU_ITEM_PATH "test.png");
|
||||
LoadTexture(MenuStartTexture, MENU_ITEM_PATH "BasicPlay.png");
|
||||
TextureAtlas::TextureIndex texDirtIndex = m_textureAtlas.AddTexture(TEXTURE_PATH "metal3.png");
|
||||
TextureAtlas::TextureIndex texIceIndex = m_textureAtlas.AddTexture(TEXTURE_PATH "metal2.png");
|
||||
TextureAtlas::TextureIndex texDirtIndex = m_textureAtlas.AddTexture(TEXTURE_PATH "metal2.png");
|
||||
TextureAtlas::TextureIndex texIceIndex = m_textureAtlas.AddTexture(TEXTURE_PATH "metal3.png");
|
||||
TextureAtlas::TextureIndex texGrassIndex = m_textureAtlas.AddTexture(TEXTURE_PATH "grass.png");
|
||||
TextureAtlas::TextureIndex texMetalIndex = m_textureAtlas.AddTexture(TEXTURE_PATH "dirt.png");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user