diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llprimitive/material_codes.h | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/linden/indra/llprimitive/material_codes.h b/linden/indra/llprimitive/material_codes.h index ed159bc..c63f295 100644 --- a/linden/indra/llprimitive/material_codes.h +++ b/linden/indra/llprimitive/material_codes.h | |||
@@ -4,7 +4,7 @@ | |||
4 | * | 4 | * |
5 | * $LicenseInfo:firstyear=2000&license=viewergpl$ | 5 | * $LicenseInfo:firstyear=2000&license=viewergpl$ |
6 | * | 6 | * |
7 | * Copyright (c) 2000-2009, Linden Research, Inc. | 7 | * Copyright (c) 2000-2010, Linden Research, Inc. |
8 | * | 8 | * |
9 | * Second Life Viewer Source Code | 9 | * Second Life Viewer Source Code |
10 | * The source code in this file ("Source Code") is provided by Linden Lab | 10 | * The source code in this file ("Source Code") is provided by Linden Lab |
@@ -33,7 +33,7 @@ | |||
33 | #ifndef LL_MATERIAL_CODES_H | 33 | #ifndef LL_MATERIAL_CODES_H |
34 | #define LL_MATERIAL_CODES_H | 34 | #define LL_MATERIAL_CODES_H |
35 | 35 | ||
36 | #include "lluuid.h" | 36 | class LLUUID; |
37 | 37 | ||
38 | // material types | 38 | // material types |
39 | const U8 LL_MCODE_STONE = 0; | 39 | const U8 LL_MCODE_STONE = 0; |
@@ -47,13 +47,14 @@ const U8 LL_MCODE_LIGHT = 7; | |||
47 | const U8 LL_MCODE_END = 8; | 47 | const U8 LL_MCODE_END = 8; |
48 | const U8 LL_MCODE_MASK = 0x0F; | 48 | const U8 LL_MCODE_MASK = 0x0F; |
49 | 49 | ||
50 | extern LLUUID const LL_DEFAULT_STONE_UUID; | 50 | // *NOTE: Define these in .cpp file to reduce duplicate instances |
51 | extern LLUUID const LL_DEFAULT_METAL_UUID; | 51 | extern const LLUUID LL_DEFAULT_STONE_UUID; |
52 | extern LLUUID const LL_DEFAULT_GLASS_UUID; | 52 | extern const LLUUID LL_DEFAULT_METAL_UUID; |
53 | extern LLUUID const LL_DEFAULT_WOOD_UUID; | 53 | extern const LLUUID LL_DEFAULT_GLASS_UUID; |
54 | extern LLUUID const LL_DEFAULT_FLESH_UUID; | 54 | extern const LLUUID LL_DEFAULT_WOOD_UUID; |
55 | extern LLUUID const LL_DEFAULT_PLASTIC_UUID; | 55 | extern const LLUUID LL_DEFAULT_FLESH_UUID; |
56 | extern LLUUID const LL_DEFAULT_RUBBER_UUID; | 56 | extern const LLUUID LL_DEFAULT_PLASTIC_UUID; |
57 | extern LLUUID const LL_DEFAULT_LIGHT_UUID; | 57 | extern const LLUUID LL_DEFAULT_RUBBER_UUID; |
58 | extern const LLUUID LL_DEFAULT_LIGHT_UUID; | ||
58 | 59 | ||
59 | #endif | 60 | #endif |