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

@@ -19,9 +19,9 @@ void HellDimension::init()
Vec3 *HellDimension::getFogColor(float td, float a) const
{
int colour = Minecraft::GetInstance()->getColourTable()->getColor( eMinecraftColour_Nether_Fog_Colour );
byte redComponent = ((colour>>16)&0xFF);
byte greenComponent = ((colour>>8)&0xFF);
byte blueComponent = ((colour)&0xFF);
BYTE redComponent = ((colour>>16)&0xFF);
BYTE greenComponent = ((colour>>8)&0xFF);
BYTE blueComponent = ((colour)&0xFF);
float rr = static_cast<float>(redComponent)/256;//0.2f;
float gg = static_cast<float>(greenComponent)/256;//0.03f;