aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llprimitive/material_codes.h
diff options
context:
space:
mode:
authorArmin Weatherwax2010-06-14 12:27:35 +0200
committerArmin Weatherwax2010-09-23 15:40:23 +0200
commit791d4c2de7c0219392aeb625cf7940290dc1e79a (patch)
tree4050377f59ec8532a5d3ee5cc1202b38a1878c7a /linden/indra/llprimitive/material_codes.h
parentport SG2.0 Mediaplugs (webkit supports flash now) (diff)
downloadmeta-impy-791d4c2de7c0219392aeb625cf7940290dc1e79a.zip
meta-impy-791d4c2de7c0219392aeb625cf7940290dc1e79a.tar.gz
meta-impy-791d4c2de7c0219392aeb625cf7940290dc1e79a.tar.bz2
meta-impy-791d4c2de7c0219392aeb625cf7940290dc1e79a.tar.xz
port llprimitive from SG2.0
Diffstat (limited to '')
-rwxr-xr-x[-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 e5a59a2..c63f295 100644..100755
--- 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
50const LLUUID LL_DEFAULT_STONE_UUID("87c5765b-aa26-43eb-b8c6-c09a1ca6208e"); 50// *NOTE: Define these in .cpp file to reduce duplicate instances
51const LLUUID LL_DEFAULT_METAL_UUID("6f3c53e9-ba60-4010-8f3e-30f51a762476"); 51extern const LLUUID LL_DEFAULT_STONE_UUID;
52const LLUUID LL_DEFAULT_GLASS_UUID("b4ba225c-373f-446d-9f7e-6cb7b5cf9b3d"); 52extern const LLUUID LL_DEFAULT_METAL_UUID;
53const LLUUID LL_DEFAULT_WOOD_UUID("89556747-24cb-43ed-920b-47caed15465f"); 53extern const LLUUID LL_DEFAULT_GLASS_UUID;
54const LLUUID LL_DEFAULT_FLESH_UUID("80736669-e4b9-450e-8890-d5169f988a50"); 54extern const LLUUID LL_DEFAULT_WOOD_UUID;
55const LLUUID LL_DEFAULT_PLASTIC_UUID("304fcb4e-7d33-4339-ba80-76d3d22dc11a"); 55extern const LLUUID LL_DEFAULT_FLESH_UUID;
56const LLUUID LL_DEFAULT_RUBBER_UUID("9fae0bc5-666d-477e-9f70-84e8556ec867"); 56extern const LLUUID LL_DEFAULT_PLASTIC_UUID;
57const LLUUID LL_DEFAULT_LIGHT_UUID("00000000-0000-0000-0000-000000000000"); 57extern const LLUUID LL_DEFAULT_RUBBER_UUID;
58extern const LLUUID LL_DEFAULT_LIGHT_UUID;
58 59
59#endif 60#endif