mirror of
https://github.com/GabsPuNs/Project-Zenith-Main.git
synced 2026-06-15 14:33:22 +00:00
TU24
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
#include "stdafx.h"
|
||||
#include "net.minecraft.world.entity.monster.h"
|
||||
#include "HellBiome.h"
|
||||
#include "..\Minecraft.Client\Minecraft.h"
|
||||
|
||||
HellBiome::HellBiome(int id) : Biome(id)
|
||||
{
|
||||
@@ -12,36 +11,8 @@ HellBiome::HellBiome(int id) : Biome(id)
|
||||
waterFriendlies.clear();
|
||||
ambientFriendlies.clear();
|
||||
|
||||
enemies.push_back(new MobSpawnerData(eTYPE_GHAST, 100, 4, 4));
|
||||
enemies.push_back(new MobSpawnerData(eTYPE_PIGZOMBIE, 200, 4, 4));
|
||||
enemies.push_back(new MobSpawnerData(eTYPE_LAVASLIME, 2, 4, 4));
|
||||
enemies.push_back(new MobSpawnerData(eTYPE_GHAST, 50, 4, 4));
|
||||
enemies.push_back(new MobSpawnerData(eTYPE_PIGZOMBIE, 100, 4, 4));
|
||||
enemies.push_back(new MobSpawnerData(eTYPE_LAVASLIME, 1, 4, 4));
|
||||
enemies.push_back(new MobSpawnerData(eTYPE_SKELETON, 1, 4, 4));
|
||||
}
|
||||
|
||||
Vec3 *HellBiome::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);
|
||||
|
||||
float rr = static_cast<float>(redComponent)/256;//0.2f;
|
||||
float gg = static_cast<float>(greenComponent)/256;//0.03f;
|
||||
float bb = static_cast<float>(blueComponent)/256;//0.03f;
|
||||
return Vec3::newTemp(rr, gg, bb);
|
||||
}
|
||||
|
||||
int HellBiome::getSkyColor(float temp)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
bool HellBiome::isNatural()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
bool HellBiome::isFoggy()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
Reference in New Issue
Block a user