minor changes to make running easier

This commit is contained in:
benkyd
2022-05-11 14:02:36 +00:00
parent 4740c9a85c
commit d6f12162a9
3 changed files with 7 additions and 4 deletions

View File

@@ -28,6 +28,9 @@ if (WIN32)
endif (WIN32)
set(THREADS_PREFER_PTHREAD_FLAD ON)
set(OpenGL_GL_PREFERENCE GLVND)
find_package(Threads REQUIRED)
find_package(OpenGL REQUIRED)

View File

@@ -6,8 +6,8 @@
// TODO: import settings and stuff
// for now this works
static const int WindowWidth = 1000;
static const int WindowHeight = 600;
static const int WindowWidth = 1920;
static const int WindowHeight = 1080;
static const std::string ResourceBase = MC_RESOURCES;

View File

@@ -28,8 +28,8 @@ void World::LoadWorld() {
m_noiseGenerator->SetFractalOctaves(8);
for (int x = -4; x < 50; x++)
for (int y = -50; y < 4; y++) {
for (int x = -4; x < 5; x++)
for (int y = -5; y < 4; y++) {
m_chunkLoaderQueue.push({ x, y });