minor changes to make running easier
This commit is contained in:
@@ -28,6 +28,9 @@ if (WIN32)
|
|||||||
endif (WIN32)
|
endif (WIN32)
|
||||||
|
|
||||||
set(THREADS_PREFER_PTHREAD_FLAD ON)
|
set(THREADS_PREFER_PTHREAD_FLAD ON)
|
||||||
|
|
||||||
|
set(OpenGL_GL_PREFERENCE GLVND)
|
||||||
|
|
||||||
find_package(Threads REQUIRED)
|
find_package(Threads REQUIRED)
|
||||||
find_package(OpenGL REQUIRED)
|
find_package(OpenGL REQUIRED)
|
||||||
|
|
||||||
|
|||||||
@@ -6,8 +6,8 @@
|
|||||||
// TODO: import settings and stuff
|
// TODO: import settings and stuff
|
||||||
// for now this works
|
// for now this works
|
||||||
|
|
||||||
static const int WindowWidth = 1000;
|
static const int WindowWidth = 1920;
|
||||||
static const int WindowHeight = 600;
|
static const int WindowHeight = 1080;
|
||||||
|
|
||||||
static const std::string ResourceBase = MC_RESOURCES;
|
static const std::string ResourceBase = MC_RESOURCES;
|
||||||
|
|
||||||
|
|||||||
@@ -28,8 +28,8 @@ void World::LoadWorld() {
|
|||||||
|
|
||||||
m_noiseGenerator->SetFractalOctaves(8);
|
m_noiseGenerator->SetFractalOctaves(8);
|
||||||
|
|
||||||
for (int x = -4; x < 50; x++)
|
for (int x = -4; x < 5; x++)
|
||||||
for (int y = -50; y < 4; y++) {
|
for (int y = -5; y < 4; y++) {
|
||||||
|
|
||||||
m_chunkLoaderQueue.push({ x, y });
|
m_chunkLoaderQueue.push({ x, y });
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user