diff options
Diffstat (limited to 'linden')
-rw-r--r-- | linden/indra/llinventory/llwearabletype.h | 54 | ||||
-rw-r--r-- | linden/indra/newview/llwearable.h | 20 |
2 files changed, 55 insertions, 19 deletions
diff --git a/linden/indra/llinventory/llwearabletype.h b/linden/indra/llinventory/llwearabletype.h new file mode 100644 index 0000000..b0a40b2 --- /dev/null +++ b/linden/indra/llinventory/llwearabletype.h | |||
@@ -0,0 +1,54 @@ | |||
1 | /** | ||
2 | * @file llwearable.h | ||
3 | * @brief EWearableType enum definition | ||
4 | * | ||
5 | * $LicenseInfo:firstyear=2002&license=viewergpl$ | ||
6 | * | ||
7 | * Copyright (c) 2002-2008, Linden Research, Inc. | ||
8 | * | ||
9 | * Second Life Viewer Source Code | ||
10 | * The source code in this file ("Source Code") is provided by Linden Lab | ||
11 | * to you under the terms of the GNU General Public License, version 2.0 | ||
12 | * ("GPL"), unless you have obtained a separate licensing agreement | ||
13 | * ("Other License"), formally executed by you and Linden Lab. Terms of | ||
14 | * the GPL can be found in doc/GPL-license.txt in this distribution, or | ||
15 | * online at http://secondlifegrid.net/programs/open_source/licensing/gplv2 | ||
16 | * | ||
17 | * There are special exceptions to the terms and conditions of the GPL as | ||
18 | * it is applied to this Source Code. View the full text of the exception | ||
19 | * in the file doc/FLOSS-exception.txt in this software distribution, or | ||
20 | * online at http://secondlifegrid.net/programs/open_source/licensing/flossexception | ||
21 | * | ||
22 | * By copying, modifying or distributing this software, you acknowledge | ||
23 | * that you have read and understood your obligations described above, | ||
24 | * and agree to abide by those obligations. | ||
25 | * | ||
26 | * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO | ||
27 | * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, | ||
28 | * COMPLETENESS OR PERFORMANCE. | ||
29 | * $/LicenseInfo$ | ||
30 | */ | ||
31 | |||
32 | #ifndef LL_LLWEARABLETYPE_H | ||
33 | #define LL_LLWEARABLETYPE_H | ||
34 | |||
35 | enum EWearableType // If you change this, update LLWearable::getTypeName(), getTypeLabel(), and LLVOAvatar::getTEWearableType() | ||
36 | { | ||
37 | WT_SHAPE = 0, | ||
38 | WT_SKIN = 1, | ||
39 | WT_HAIR = 2, | ||
40 | WT_EYES = 3, | ||
41 | WT_SHIRT = 4, | ||
42 | WT_PANTS = 5, | ||
43 | WT_SHOES = 6, | ||
44 | WT_SOCKS = 7, | ||
45 | WT_JACKET = 8, | ||
46 | WT_GLOVES = 9, | ||
47 | WT_UNDERSHIRT = 10, | ||
48 | WT_UNDERPANTS = 11, | ||
49 | WT_SKIRT = 12, | ||
50 | WT_COUNT = 13, | ||
51 | WT_INVALID = 255 | ||
52 | }; | ||
53 | |||
54 | #endif // LL_LLWEARABLETYPE_H | ||
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; |