aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden
diff options
context:
space:
mode:
authorDavid Seikel2011-03-20 19:34:49 +1000
committerDavid Seikel2011-03-20 19:34:49 +1000
commited5039ab121bd464c647c3a732cc1c5b0a72ea63 (patch)
tree1b5318809489a7fae52fa4d9e1b4ab23a57c4979 /linden
parentDunno how this file got missed. (diff)
downloadmeta-impy-ed5039ab121bd464c647c3a732cc1c5b0a72ea63.zip
meta-impy-ed5039ab121bd464c647c3a732cc1c5b0a72ea63.tar.gz
meta-impy-ed5039ab121bd464c647c3a732cc1c5b0a72ea63.tar.bz2
meta-impy-ed5039ab121bd464c647c3a732cc1c5b0a72ea63.tar.xz
We don't need support for the aurora grid in the viewer for the meta 7 grid.
It seems like a waste of code anyway.
Diffstat (limited to 'linden')
-rw-r--r--linden/indra/llcommon/indra_constants.h5
-rw-r--r--linden/indra/newview/llvlmanager.cpp16
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';
154const char WIND_LAYER_CODE = '7'; 154const char WIND_LAYER_CODE = '7';
155const char CLOUD_LAYER_CODE = '8'; 155const char CLOUD_LAYER_CODE = '8';
156 156
157// Extended land layer for Aurora Sim
158const char AURORA_LAND_LAYER_CODE = 'M';
159const char AURORA_WIND_LAYER_CODE = '9';
160const 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.
164const MASK MASK_NONE = 0x0000; 159const 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
58void LLVLManager::addLayerData(LLVLData *vl_datap, const S32 mesg_size) 58void 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 }