mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-08-20 09:57:09 +00:00
Change world size
This commit is contained in:
parent
09c93f9b18
commit
37d630c2ba
|
|
@ -7,11 +7,11 @@ class TilePos;
|
||||||
// The maximum number of chunks that we can store
|
// The maximum number of chunks that we can store
|
||||||
#ifdef _LARGE_WORLDS
|
#ifdef _LARGE_WORLDS
|
||||||
// 4J Stu - Our default map (at zoom level 3) is 1024x1024 blocks (or 64 chunks)
|
// 4J Stu - Our default map (at zoom level 3) is 1024x1024 blocks (or 64 chunks)
|
||||||
#define LEVEL_MAX_WIDTH (64*64) //(6*54)
|
#define LEVEL_MAX_WIDTH (12*64) //(6*54)
|
||||||
|
|
||||||
#define LEVEL_WIDTH_CLASSIC 64
|
#define LEVEL_WIDTH_CLASSIC 64
|
||||||
#define LEVEL_WIDTH_SMALL 256
|
#define LEVEL_WIDTH_SMALL LEVEL_MAX_WIDTH / 4
|
||||||
#define LEVEL_WIDTH_MEDIUM (5*64)
|
#define LEVEL_WIDTH_MEDIUM LEVEL_MAX_WIDTH / 2
|
||||||
#define LEVEL_WIDTH_LARGE LEVEL_MAX_WIDTH
|
#define LEVEL_WIDTH_LARGE LEVEL_MAX_WIDTH
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
@ -27,10 +27,10 @@ class TilePos;
|
||||||
#ifdef _LARGE_WORLDS
|
#ifdef _LARGE_WORLDS
|
||||||
#define HELL_LEVEL_MAX_SCALE 8
|
#define HELL_LEVEL_MAX_SCALE 8
|
||||||
|
|
||||||
#define HELL_LEVEL_SCALE_CLASSIC 3
|
#define HELL_LEVEL_SCALE_CLASSIC (LEVEL_WIDTH_CLASSIC / HELL_LEVEL_MAX_SCALE)
|
||||||
#define HELL_LEVEL_SCALE_SMALL 3
|
#define HELL_LEVEL_SCALE_SMALL (LEVEL_WIDTH_SMALL / HELL_LEVEL_MAX_SCALE)
|
||||||
#define HELL_LEVEL_SCALE_MEDIUM 6
|
#define HELL_LEVEL_SCALE_MEDIUM (LEVEL_WIDTH_MEDIUM / HELL_LEVEL_MAX_SCALE)
|
||||||
#define HELL_LEVEL_SCALE_LARGE 8
|
#define HELL_LEVEL_SCALE_LARGE (LEVEL_WIDTH_LARGE / HELL_LEVEL_MAX_SCALE)
|
||||||
|
|
||||||
#else
|
#else
|
||||||
#define HELL_LEVEL_MAX_SCALE 3
|
#define HELL_LEVEL_MAX_SCALE 3
|
||||||
|
|
|
||||||
|
|
@ -176,7 +176,7 @@ LevelData::LevelData(CompoundTag *tag)
|
||||||
case LEVEL_WIDTH_SMALL: hostOptionworldSize = e_worldSize_Small; break;
|
case LEVEL_WIDTH_SMALL: hostOptionworldSize = e_worldSize_Small; break;
|
||||||
case LEVEL_WIDTH_MEDIUM: hostOptionworldSize = e_worldSize_Medium; break;
|
case LEVEL_WIDTH_MEDIUM: hostOptionworldSize = e_worldSize_Medium; break;
|
||||||
case LEVEL_WIDTH_LARGE: hostOptionworldSize = e_worldSize_Large; break;
|
case LEVEL_WIDTH_LARGE: hostOptionworldSize = e_worldSize_Large; break;
|
||||||
default: assert(0); break;
|
default: hostOptionworldSize = e_worldSize_Large; break;
|
||||||
}
|
}
|
||||||
app.SetGameHostOption(eGameHostOption_WorldSize, hostOptionworldSize );
|
app.SetGameHostOption(eGameHostOption_WorldSize, hostOptionworldSize );
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue