diff options
Diffstat (limited to 'linden')
-rw-r--r-- | linden/indra/llcommon/indra_constants.h | 5 | ||||
-rw-r--r-- | linden/indra/newview/llvlmanager.cpp | 16 |
2 files changed, 4 insertions, 17 deletions
diff --git a/linden/indra/llcommon/indra_constants.h b/linden/indra/llcommon/indra_constants.h index 84ec455..e64ee62 100644 --- a/linden/indra/llcommon/indra_constants.h +++ b/linden/indra/llcommon/indra_constants.h | |||
@@ -154,11 +154,6 @@ const char WATER_LAYER_CODE = 'W'; | |||
154 | const char WIND_LAYER_CODE = '7'; | 154 | const char WIND_LAYER_CODE = '7'; |
155 | const char CLOUD_LAYER_CODE = '8'; | 155 | const char CLOUD_LAYER_CODE = '8'; |
156 | 156 | ||
157 | // Extended land layer for Aurora Sim | ||
158 | const char AURORA_LAND_LAYER_CODE = 'M'; | ||
159 | const char AURORA_WIND_LAYER_CODE = '9'; | ||
160 | const char AURORA_CLOUD_LAYER_CODE = ':'; | ||
161 | |||
162 | // keys | 157 | // keys |
163 | // Bit masks for various keyboard modifier keys. | 158 | // Bit masks for various keyboard modifier keys. |
164 | const MASK MASK_NONE = 0x0000; | 159 | const MASK MASK_NONE = 0x0000; |
diff --git a/linden/indra/newview/llvlmanager.cpp b/linden/indra/newview/llvlmanager.cpp index 7f483ca..097b8e8 100644 --- a/linden/indra/newview/llvlmanager.cpp +++ b/linden/indra/newview/llvlmanager.cpp | |||
@@ -57,13 +57,11 @@ LLVLManager::~LLVLManager() | |||
57 | 57 | ||
58 | void LLVLManager::addLayerData(LLVLData *vl_datap, const S32 mesg_size) | 58 | void LLVLManager::addLayerData(LLVLData *vl_datap, const S32 mesg_size) |
59 | { | 59 | { |
60 | if (LAND_LAYER_CODE == vl_datap->mType || | 60 | if (LAND_LAYER_CODE == vl_datap->mType) |
61 | AURORA_LAND_LAYER_CODE == vl_datap->mType) | ||
62 | { | 61 | { |
63 | mLandBits += mesg_size * 8; | 62 | mLandBits += mesg_size * 8; |
64 | } | 63 | } |
65 | else if (WIND_LAYER_CODE == vl_datap->mType || | 64 | else if (WIND_LAYER_CODE == vl_datap->mType) |
66 | AURORA_WIND_LAYER_CODE == vl_datap->mType) | ||
67 | { | 65 | { |
68 | mWindBits += mesg_size * 8; | 66 | mWindBits += mesg_size * 8; |
69 | } | 67 | } |
@@ -96,17 +94,11 @@ void LLVLManager::unpackData(const S32 num_packets) | |||
96 | { | 94 | { |
97 | datap->mRegionp->getLand().decompressDCTPatch(bit_pack, &goph, FALSE); | 95 | datap->mRegionp->getLand().decompressDCTPatch(bit_pack, &goph, FALSE); |
98 | } | 96 | } |
99 | else if (AURORA_LAND_LAYER_CODE == datap->mType) | 97 | else if (WIND_LAYER_CODE == datap->mType) |
100 | { | ||
101 | datap->mRegionp->getLand().decompressDCTPatch(bit_pack, &goph, TRUE); | ||
102 | } | ||
103 | else if (WIND_LAYER_CODE == datap->mType || | ||
104 | AURORA_WIND_LAYER_CODE == datap->mType) | ||
105 | { | 98 | { |
106 | datap->mRegionp->mWind.decompress(bit_pack, &goph); | 99 | datap->mRegionp->mWind.decompress(bit_pack, &goph); |
107 | } | 100 | } |
108 | else if (CLOUD_LAYER_CODE == datap->mType || | 101 | else if (CLOUD_LAYER_CODE == datap->mType) |
109 | AURORA_CLOUD_LAYER_CODE == datap->mType) | ||
110 | { | 102 | { |
111 | datap->mRegionp->mCloudLayer.decompress(bit_pack, &goph); | 103 | datap->mRegionp->mCloudLayer.decompress(bit_pack, &goph); |
112 | } | 104 | } |