mirror of
https://github.com/GabsPuNs/Project-Zenith-Main.git
synced 2026-07-04 17:54:19 +00:00
TU24
This commit is contained in:
@@ -45,11 +45,11 @@ private:
|
||||
static ResourceLocation END_SKY_LOCATION;
|
||||
|
||||
public:
|
||||
static constexpr int CHUNK_XZSIZE = 16;
|
||||
static const int CHUNK_XZSIZE = 16;
|
||||
#ifdef _LARGE_WORLDS
|
||||
static constexpr int CHUNK_SIZE = 16;
|
||||
static const int CHUNK_SIZE = 16;
|
||||
#else
|
||||
static constexpr int CHUNK_SIZE = 16;
|
||||
static const int CHUNK_SIZE = 16;
|
||||
#endif
|
||||
static constexpr int CHUNK_Y_COUNT = Level::maxBuildHeight / CHUNK_SIZE;
|
||||
#if defined _WINDOWS64
|
||||
@@ -221,10 +221,10 @@ public:
|
||||
// This is the TOTAL area of columns of chunks to be allocated for render round the players. So for one player, it would be a region of
|
||||
// sqrt(PLAYER_RENDER_AREA) x sqrt(PLAYER_RENDER_AREA)
|
||||
#ifdef _LARGE_WORLDS
|
||||
static constexpr int PLAYER_VIEW_DISTANCE = 18; // Straight line distance from centre to extent of visible world
|
||||
static const int PLAYER_VIEW_DISTANCE = 18; // Straight line distance from centre to extent of visible world
|
||||
static constexpr int PLAYER_RENDER_AREA = (PLAYER_VIEW_DISTANCE * PLAYER_VIEW_DISTANCE * 4);
|
||||
#else
|
||||
static constexpr int PLAYER_RENDER_AREA = 400;
|
||||
static const int PLAYER_RENDER_AREA = 400;
|
||||
#endif
|
||||
|
||||
static int getDimensionIndexFromId(int id);
|
||||
@@ -275,7 +275,7 @@ public:
|
||||
static const int FORCE_DIRTY_CHUNK_CHECK_PERIOD_MS = 125; // decreased from 250 to 125 - updated by detectiveren
|
||||
|
||||
#ifdef _LARGE_WORLDS
|
||||
static constexpr int MAX_CONCURRENT_CHUNK_REBUILDS = 8; // increased from 4 to 8 - updated by detectiveren
|
||||
static const int MAX_CONCURRENT_CHUNK_REBUILDS = 8; // increased from 4 to 8 - updated by detectiveren
|
||||
static constexpr int MAX_CHUNK_REBUILD_THREADS = MAX_CONCURRENT_CHUNK_REBUILDS - 1;
|
||||
static Chunk permaChunk[MAX_CONCURRENT_CHUNK_REBUILDS];
|
||||
static C4JThread *rebuildThreads[MAX_CHUNK_REBUILD_THREADS];
|
||||
|
||||
Reference in New Issue
Block a user