diff options
author | Jacek Antonelli | 2008-12-08 01:00:18 -0600 |
---|---|---|
committer | Jacek Antonelli | 2008-12-08 01:14:27 -0600 |
commit | 9626acce584391fc90d147310917a1569610d224 (patch) | |
tree | 6d536f8fc36509a46e188b0f996254e583fbdf18 /linden/indra/newview/llwearable.h | |
parent | Added LLInventoryItem::mNInventoryType (new type) field. (diff) | |
download | meta-impy-9626acce584391fc90d147310917a1569610d224.zip meta-impy-9626acce584391fc90d147310917a1569610d224.tar.gz meta-impy-9626acce584391fc90d147310917a1569610d224.tar.bz2 meta-impy-9626acce584391fc90d147310917a1569610d224.tar.xz |
Moved enum EWearableType to its own file.
Was in newview/llwearable.h, now in llinventory/llwearabletype.h.
This allows it to be used in llinventory code.
Diffstat (limited to 'linden/indra/newview/llwearable.h')
-rw-r--r-- | linden/indra/newview/llwearable.h | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/linden/indra/newview/llwearable.h b/linden/indra/newview/llwearable.h index c5f9d06..00a53d3 100644 --- a/linden/indra/newview/llwearable.h +++ b/linden/indra/newview/llwearable.h | |||
@@ -37,28 +37,10 @@ | |||
37 | #include "llpermissions.h" | 37 | #include "llpermissions.h" |
38 | #include "llsaleinfo.h" | 38 | #include "llsaleinfo.h" |
39 | #include "llassetstorage.h" | 39 | #include "llassetstorage.h" |
40 | #include "llwearabletype.h" | ||
40 | 41 | ||
41 | class LLViewerInventoryItem; | 42 | class LLViewerInventoryItem; |
42 | 43 | ||
43 | enum EWearableType // If you change this, update LLWearable::getTypeName(), getTypeLabel(), and LLVOAvatar::getTEWearableType() | ||
44 | { | ||
45 | WT_SHAPE = 0, | ||
46 | WT_SKIN = 1, | ||
47 | WT_HAIR = 2, | ||
48 | WT_EYES = 3, | ||
49 | WT_SHIRT = 4, | ||
50 | WT_PANTS = 5, | ||
51 | WT_SHOES = 6, | ||
52 | WT_SOCKS = 7, | ||
53 | WT_JACKET = 8, | ||
54 | WT_GLOVES = 9, | ||
55 | WT_UNDERSHIRT = 10, | ||
56 | WT_UNDERPANTS = 11, | ||
57 | WT_SKIRT = 12, | ||
58 | WT_COUNT = 13, | ||
59 | WT_INVALID = 255 | ||
60 | }; | ||
61 | |||
62 | class LLWearable | 44 | class LLWearable |
63 | { | 45 | { |
64 | friend class LLWearableList; | 46 | friend class LLWearableList; |