Use BYTE Win Typedef instead of byte typedef from Minecraft.World

This commit is contained in:
GabsPuNs
2026-05-10 21:03:03 -04:00
parent 20d395b88d
commit 3e7983ab3c
216 changed files with 798 additions and 800 deletions

View File

@@ -23,7 +23,7 @@ private:
// the index for the y axis.
// Using this method, the secondary axis will always be horizontal (x or z),
// and the tertiary always vertical (y), if possible.
static byte axisConversionArray[];
static BYTE axisConversionArray[];
// Set up the pseudorandom number generator
Random *rnd;
@@ -49,7 +49,7 @@ private:
int **foliageCoords;
int foliageCoordsLength;
void prepare();
void crossection(int x, int y, int z, float radius, byte direction, int material);
void crossection(int x, int y, int z, float radius, BYTE direction, int material);
float treeShape(int y);
float foliageShape(int y);
void foliageCluster(int x, int y, int z);