forked from spoutn1k/mcmap
-
Notifications
You must be signed in to change notification settings - Fork 1
/
globals.cpp
33 lines (26 loc) · 968 Bytes
/
globals.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#include "globals.h"
int g_TotalFromChunkX, g_TotalFromChunkZ, g_TotalToChunkX, g_TotalToChunkZ;
int g_FromChunkX = UNDEFINED, g_FromChunkZ = UNDEFINED, g_ToChunkX = UNDEFINED, g_ToChunkZ = UNDEFINED;
size_t g_MapsizeZ = 0, g_MapsizeY = 128, g_MapminY = 0, g_MapsizeX = 0;
int g_OffsetY = 2;
bool g_RegionFormat = false;
Orientation g_Orientation = East;
bool g_Nightmode = false;
bool g_Oceanmode = false;
int g_Oceanlevel = 0;
bool g_Underground = false;
bool g_BlendUnderground = false;
bool g_Skylight = false;
int g_Noise = 0;
bool g_BlendAll = false;
bool g_Hell = false, g_ServerHell = false;
bool g_UseBiomes = false;
uint64_t g_BiomeMapSize = 0;
uint8_t *g_Grasscolor = NULL, *g_Leafcolor = NULL, *g_TallGrasscolor = NULL;
uint16_t *g_BiomeMap = NULL;
int g_GrasscolorDepth = 0, g_FoliageDepth = 0;
uint8_t *g_Terrain = NULL, *g_Light = NULL;
uint16_t *g_HeightMap = NULL;
int g_MarkerCount = 0;
Marker g_Markers[MAX_MARKERS];
char *g_TilePath = NULL;