diff options
author | Armin Weatherwax | 2010-03-09 23:00:38 +0100 |
---|---|---|
committer | Jacek Antonelli | 2010-06-19 02:43:01 -0500 |
commit | 523e0e2dff6af1c5bc12e2aefc0ca9b96bf26fd6 (patch) | |
tree | efc2b1bf0b7ca57b4fcc5e64da555907437a408d /linden/indra/llinventory | |
parent | Applied patch by Kirstenlee Cinquetti for SNOW-493: LLDataPackerBinaryBuffer:... (diff) | |
download | meta-impy-523e0e2dff6af1c5bc12e2aefc0ca9b96bf26fd6.zip meta-impy-523e0e2dff6af1c5bc12e2aefc0ca9b96bf26fd6.tar.gz meta-impy-523e0e2dff6af1c5bc12e2aefc0ca9b96bf26fd6.tar.bz2 meta-impy-523e0e2dff6af1c5bc12e2aefc0ca9b96bf26fd6.tar.xz |
Henri Beauchamp: Port of SG-2.0 alpha and tattoo layers (v6)
slviewer-0-v12350-AlphaAndTattooSupport-patch.zip contains the necessary
avatar_lad.xml and other artwork. The new avatar_lad.xml crashes clients
without alpha and tattoo support at startup.
Diffstat (limited to 'linden/indra/llinventory')
-rw-r--r-- | linden/indra/llinventory/llinventory.cpp | 2 | ||||
-rw-r--r-- | linden/indra/llinventory/llinventorytype.h | 40 | ||||
-rw-r--r-- | linden/indra/llinventory/llwearabletype.h | 4 |
3 files changed, 26 insertions, 20 deletions
diff --git a/linden/indra/llinventory/llinventory.cpp b/linden/indra/llinventory/llinventory.cpp index 755a57c..1508b46 100644 --- a/linden/indra/llinventory/llinventory.cpp +++ b/linden/indra/llinventory/llinventory.cpp | |||
@@ -128,6 +128,8 @@ LLInventoryType::NType calc_ntype( | |||
128 | case WT_UNDERSHIRT: return LLInventoryType::NIT_UNDERSHIRT; | 128 | case WT_UNDERSHIRT: return LLInventoryType::NIT_UNDERSHIRT; |
129 | case WT_UNDERPANTS: return LLInventoryType::NIT_UNDERPANTS; | 129 | case WT_UNDERPANTS: return LLInventoryType::NIT_UNDERPANTS; |
130 | case WT_SKIRT: return LLInventoryType::NIT_SKIRT; | 130 | case WT_SKIRT: return LLInventoryType::NIT_SKIRT; |
131 | case WT_ALPHA: return LLInventoryType::NIT_ALPHA; | ||
132 | case WT_TATTOO: return LLInventoryType::NIT_TATTOO; | ||
131 | default: return LLInventoryType::NIT_CLOTHING; | 133 | default: return LLInventoryType::NIT_CLOTHING; |
132 | } | 134 | } |
133 | } | 135 | } |
diff --git a/linden/indra/llinventory/llinventorytype.h b/linden/indra/llinventory/llinventorytype.h index 961fa79..ee429c2 100644 --- a/linden/indra/llinventory/llinventorytype.h +++ b/linden/indra/llinventory/llinventorytype.h | |||
@@ -115,49 +115,51 @@ public: | |||
115 | NIT_UNDERSHIRT = 1 << 10, | 115 | NIT_UNDERSHIRT = 1 << 10, |
116 | NIT_UNDERPANTS = 1 << 11, | 116 | NIT_UNDERPANTS = 1 << 11, |
117 | NIT_SKIRT = 1 << 12, | 117 | NIT_SKIRT = 1 << 12, |
118 | NIT_CLOTHING = 0x0001ff0, | 118 | NIT_ALPHA = 1 << 13, |
119 | NIT_TATTOO = 1 << 14, | ||
120 | NIT_CLOTHING = 0x0007ff0, | ||
119 | 121 | ||
120 | /* Body Parts | Clothing */ | 122 | /* Body Parts | Clothing */ |
121 | NIT_WEARABLE = 0x0001fff, | 123 | NIT_WEARABLE = 0x0007fff, |
122 | 124 | ||
123 | /* Images */ | 125 | /* Images */ |
124 | NIT_TEXTURE = 1 << 13, | 126 | NIT_TEXTURE = 1 << 15, |
125 | NIT_SNAPSHOT = 1 << 14, | 127 | NIT_SNAPSHOT = 1 << 16, |
126 | NIT_IMAGE = 0x0006000, | 128 | NIT_IMAGE = 0x0018000, |
127 | 129 | ||
128 | /* Calling Cards */ | 130 | /* Calling Cards */ |
129 | NIT_CALLCARD_OFF = 1 << 15, | 131 | NIT_CALLCARD_OFF = 1 << 17, |
130 | NIT_CALLCARD_ON = 1 << 16, | 132 | NIT_CALLCARD_ON = 1 << 18, |
131 | NIT_CALLCARD = 0x0018000, | 133 | NIT_CALLCARD = 0x0060000, |
132 | 134 | ||
133 | /* Landmarks */ | 135 | /* Landmarks */ |
134 | NIT_LANDMARK_UNUSED = 1 << 17, | 136 | NIT_LANDMARK_UNUSED = 1 << 19, |
135 | NIT_LANDMARK_USED = 1 << 18, | 137 | NIT_LANDMARK_USED = 1 << 20, |
136 | NIT_LANDMARK = 0x0060000, | 138 | NIT_LANDMARK = 0x0180000, |
137 | 139 | ||
138 | /* Sounds */ | 140 | /* Sounds */ |
139 | NIT_SOUND = 1 << 19, | 141 | NIT_SOUND = 1 << 21, |
140 | 142 | ||
141 | /* Animations */ | 143 | /* Animations */ |
142 | NIT_ANIMATION = 1 << 20, | 144 | NIT_ANIMATION = 1 << 22, |
143 | 145 | ||
144 | /* Gestures */ | 146 | /* Gestures */ |
145 | NIT_GESTURE = 1 << 21, | 147 | NIT_GESTURE = 1 << 23, |
146 | 148 | ||
147 | /* Notecards */ | 149 | /* Notecards */ |
148 | NIT_NOTECARD = 1 << 22, | 150 | NIT_NOTECARD = 1 << 24, |
149 | 151 | ||
150 | /* Scripts */ | 152 | /* Scripts */ |
151 | NIT_SCRIPT_LSL2 = 1 << 23, | 153 | NIT_SCRIPT_LSL2 = 1 << 25, |
152 | 154 | ||
153 | /* Objects */ | 155 | /* Objects */ |
154 | NIT_OBJECT = 1 << 24, | 156 | NIT_OBJECT = 1 << 26, |
155 | 157 | ||
156 | /* Folders ("Categories" in the old type system) */ | 158 | /* Folders ("Categories" in the old type system) */ |
157 | NIT_FOLDER = 1 << 25, | 159 | NIT_FOLDER = 1 << 27, |
158 | 160 | ||
159 | /* Bitwise OR-ing of all the above */ | 161 | /* Bitwise OR-ing of all the above */ |
160 | NIT_ALL = 0x3ffffff, | 162 | NIT_ALL = 0xfffffff, |
161 | }; | 163 | }; |
162 | 164 | ||
163 | 165 | ||
diff --git a/linden/indra/llinventory/llwearabletype.h b/linden/indra/llinventory/llwearabletype.h index b0a40b2..7a5ecef 100644 --- a/linden/indra/llinventory/llwearabletype.h +++ b/linden/indra/llinventory/llwearabletype.h | |||
@@ -47,7 +47,9 @@ enum EWearableType // If you change this, update LLWearable::getTypeName(), get | |||
47 | WT_UNDERSHIRT = 10, | 47 | WT_UNDERSHIRT = 10, |
48 | WT_UNDERPANTS = 11, | 48 | WT_UNDERPANTS = 11, |
49 | WT_SKIRT = 12, | 49 | WT_SKIRT = 12, |
50 | WT_COUNT = 13, | 50 | WT_ALPHA = 13, |
51 | WT_TATTOO = 14, | ||
52 | WT_COUNT = 15, | ||
51 | WT_INVALID = 255 | 53 | WT_INVALID = 255 |
52 | }; | 54 | }; |
53 | 55 | ||