Remove megaregion support
This commit is contained in:
@@ -56,26 +56,18 @@ LLVLManager::~LLVLManager()
|
||||
|
||||
void LLVLManager::addLayerData(LLVLData *vl_datap, const S32 mesg_size)
|
||||
{
|
||||
if (LAND_LAYER_CODE == vl_datap->mType ||
|
||||
AURORA_LAND_LAYER_CODE == vl_datap->mType)
|
||||
if (LAND_LAYER_CODE == vl_datap->mType)
|
||||
{
|
||||
mLandBits += mesg_size * 8;
|
||||
}
|
||||
else if (WIND_LAYER_CODE == vl_datap->mType ||
|
||||
AURORA_WIND_LAYER_CODE == vl_datap->mType)
|
||||
else if (WIND_LAYER_CODE == vl_datap->mType)
|
||||
{
|
||||
mWindBits += mesg_size * 8;
|
||||
}
|
||||
else if (CLOUD_LAYER_CODE == vl_datap->mType ||
|
||||
AURORA_CLOUD_LAYER_CODE == vl_datap->mType)
|
||||
else if (CLOUD_LAYER_CODE == vl_datap->mType)
|
||||
{
|
||||
mCloudBits += mesg_size * 8;
|
||||
}
|
||||
else if (WATER_LAYER_CODE == vl_datap->mType ||
|
||||
AURORA_CLOUD_LAYER_CODE == vl_datap->mType)
|
||||
{
|
||||
mWaterBits += mesg_size * 8;
|
||||
}
|
||||
else
|
||||
{
|
||||
llerrs << "Unknown layer type!" << (S32)vl_datap->mType << llendl;
|
||||
@@ -101,25 +93,15 @@ void LLVLManager::unpackData(const S32 num_packets)
|
||||
{
|
||||
datap->mRegionp->getLand().decompressDCTPatch(bit_pack, &goph, FALSE);
|
||||
}
|
||||
else if (AURORA_LAND_LAYER_CODE == datap->mType)
|
||||
{
|
||||
datap->mRegionp->getLand().decompressDCTPatch(bit_pack, &goph, TRUE);
|
||||
}
|
||||
else if (WIND_LAYER_CODE == datap->mType ||
|
||||
AURORA_WIND_LAYER_CODE == datap->mType)
|
||||
else if (WIND_LAYER_CODE == datap->mType)
|
||||
{
|
||||
datap->mRegionp->mWind.decompress(bit_pack, &goph);
|
||||
|
||||
}
|
||||
else if (CLOUD_LAYER_CODE == datap->mType ||
|
||||
AURORA_CLOUD_LAYER_CODE == datap->mType)
|
||||
else if (CLOUD_LAYER_CODE == datap->mType)
|
||||
{
|
||||
datap->mRegionp->mCloudLayer.decompress(bit_pack, &goph);
|
||||
}
|
||||
else if (WATER_LAYER_CODE == datap->mType ||
|
||||
AURORA_WATER_LAYER_CODE == datap->mType)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
for (i = 0; i < mPacketData.count(); i++)
|
||||
|
||||
Reference in New Issue
Block a user