aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llprimitive/material_codes.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/llprimitive/material_codes.h21
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" 36class LLUUID;
37 37
38 // material types 38 // material types
39const U8 LL_MCODE_STONE = 0; 39const U8 LL_MCODE_STONE = 0;
@@ -47,13 +47,14 @@ const U8 LL_MCODE_LIGHT = 7;
47const U8 LL_MCODE_END = 8; 47const U8 LL_MCODE_END = 8;
48const U8 LL_MCODE_MASK = 0x0F; 48const U8 LL_MCODE_MASK = 0x0F;
49 49
50extern LLUUID const LL_DEFAULT_STONE_UUID; 50// *NOTE: Define these in .cpp file to reduce duplicate instances
51extern LLUUID const LL_DEFAULT_METAL_UUID; 51extern const LLUUID LL_DEFAULT_STONE_UUID;
52extern LLUUID const LL_DEFAULT_GLASS_UUID; 52extern const LLUUID LL_DEFAULT_METAL_UUID;
53extern LLUUID const LL_DEFAULT_WOOD_UUID; 53extern const LLUUID LL_DEFAULT_GLASS_UUID;
54extern LLUUID const LL_DEFAULT_FLESH_UUID; 54extern const LLUUID LL_DEFAULT_WOOD_UUID;
55extern LLUUID const LL_DEFAULT_PLASTIC_UUID; 55extern const LLUUID LL_DEFAULT_FLESH_UUID;
56extern LLUUID const LL_DEFAULT_RUBBER_UUID; 56extern const LLUUID LL_DEFAULT_PLASTIC_UUID;
57extern LLUUID const LL_DEFAULT_LIGHT_UUID; 57extern const LLUUID LL_DEFAULT_RUBBER_UUID;
58extern const LLUUID LL_DEFAULT_LIGHT_UUID;
58 59
59#endif 60#endif