Le bonhomme n'a plus la maladie de Parkinson, et le jeu refonctionne sur MSVC++.
This commit is contained in:
@@ -96,7 +96,7 @@ void Engine::Init()
|
||||
// for (int x = 0; x < CHUNK_SIZE_X; ++x)
|
||||
// for (int z = 0; z < CHUNK_SIZE_Z; ++z)
|
||||
// for (int y = 0; y < 32; ++y)
|
||||
// m_world.GetChunks().Get(chx, chy)->SetBlock(x, y, z, BTYPE_GRASS);
|
||||
// m_world.GetChunks().Get(chx, chy)->SetBlock(x, y, z, ((chx + chy) % (BTYPE_LAST - 1)) + 1);
|
||||
|
||||
// m_world.GetChunks().Get(chx, chy)->SetBlock(5, 32, 15, BTYPE_GRASS);
|
||||
// m_world.GetChunks().Get(chx, chy)->SetBlock(5, 33, 15, BTYPE_GRASS);
|
||||
@@ -126,8 +126,6 @@ void Engine::Init()
|
||||
// m_world.GetChunks().Get(chx, chy)->SetBlock(14, 34, 5, BTYPE_GRASS);
|
||||
// m_world.GetChunks().Get(chx, chy)->SetBlock(14, 35, 5, BTYPE_GRASS);
|
||||
|
||||
// //m_world.GetChunks().Get(chx, chy)->SetBlock(8, chx + 32, 8, BTYPE_DIRT);
|
||||
|
||||
// }
|
||||
|
||||
|
||||
@@ -302,6 +300,8 @@ void Engine::Render(float elapsedTime) {
|
||||
if (m_wireframe)
|
||||
glPolygonMode(GL_FRONT_AND_BACK, GL_LINE);
|
||||
|
||||
|
||||
if (m_player.GetPosition().y < -10.f) m_player = Player(Vector3f(64, 64, 64));
|
||||
}
|
||||
|
||||
void Engine::KeyPressEvent(unsigned char key)
|
||||
|
Reference in New Issue
Block a user