PageRenderTime 303ms CodeModel.GetById 181ms app.highlight 3ms RepoModel.GetById 117ms app.codeStats 1ms

/indra/llprimitive/material_codes.h

https://bitbucket.org/lindenlab/viewer-beta/
C++ Header | 54 lines | 22 code | 5 blank | 27 comment | 0 complexity | f9b4dfb87f2b18e9d86fcd053d47f800 MD5 | raw file
 1/** 
 2 * @file material_codes.h
 3 * @brief Material_codes definitions
 4 *
 5 * $LicenseInfo:firstyear=2000&license=viewerlgpl$
 6 * Second Life Viewer Source Code
 7 * Copyright (C) 2010, Linden Research, Inc.
 8 * 
 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Lesser General Public
11 * License as published by the Free Software Foundation;
12 * version 2.1 of the License only.
13 * 
14 * This library is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
17 * Lesser General Public License for more details.
18 * 
19 * You should have received a copy of the GNU Lesser General Public
20 * License along with this library; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
22 * 
23 * Linden Research, Inc., 945 Battery Street, San Francisco, CA  94111  USA
24 * $/LicenseInfo$
25 */
26
27#ifndef LL_MATERIAL_CODES_H
28#define LL_MATERIAL_CODES_H
29
30class LLUUID;
31
32	// material types
33const U8	LL_MCODE_STONE   = 0;
34const U8	LL_MCODE_METAL   = 1;
35const U8	LL_MCODE_GLASS   = 2;
36const U8	LL_MCODE_WOOD    = 3;
37const U8	LL_MCODE_FLESH   = 4;
38const U8	LL_MCODE_PLASTIC = 5;
39const U8	LL_MCODE_RUBBER  = 6;
40const U8	LL_MCODE_LIGHT   = 7;
41const U8    LL_MCODE_END     = 8;
42const U8	LL_MCODE_MASK    = 0x0F;
43
44// *NOTE: Define these in .cpp file to reduce duplicate instances
45extern const LLUUID LL_DEFAULT_STONE_UUID;
46extern const LLUUID LL_DEFAULT_METAL_UUID;
47extern const LLUUID LL_DEFAULT_GLASS_UUID;
48extern const LLUUID LL_DEFAULT_WOOD_UUID;
49extern const LLUUID LL_DEFAULT_FLESH_UUID;
50extern const LLUUID LL_DEFAULT_PLASTIC_UUID;
51extern const LLUUID LL_DEFAULT_RUBBER_UUID;
52extern const LLUUID LL_DEFAULT_LIGHT_UUID;
53
54#endif