PageRenderTime 254ms CodeModel.GetById 120ms app.highlight 2ms RepoModel.GetById 129ms app.codeStats 0ms

/indra/llprimitive/legacy_object_types.h

https://bitbucket.org/lindenlab/viewer-beta/
C++ Header | 77 lines | 9 code | 11 blank | 57 comment | 0 complexity | a887501899ce168d40cfa33e329fb5ea MD5 | raw file
 1/** 
 2 * @file legacy_object_types.h
 3 * @brief Byte codes for basic object and primitive types
 4 *
 5 * $LicenseInfo:firstyear=2001&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_LEGACY_OBJECT_TYPES_H
28#define LL_LEGACY_OBJECT_TYPES_H
29
30const	S8		PLAYER			= 'c';
31//const	S8		BASIC_SHOT		= 's';
32//const	S8		BIG_SHOT		= 'S';
33//const	S8		TREE_SHOT		= 'g';
34//const	S8		PHYSICAL_BALL	= 'b';
35
36const	S8		TREE		= 'T';
37const	S8		TREE_NEW	= 'R';
38//const	S8		SPARK		= 'p';
39//const	S8		SMOKE		= 'q';
40//const	S8		BOX			= 'x';
41//const	S8		CYLINDER	= 'y';
42//const	S8		CONE		= 'o';
43//const	S8		SPHERE		= 'h';
44//const S8		BIRD		= 'r';			// ascii 114
45//const S8		ATOR		= 'a';
46//const S8      ROCK		= 'k';
47
48const	S8		GRASS		= 'd';			
49const   S8      PART_SYS    = 'P';
50
51//const	S8		ORACLE		= 'O';
52//const	S8		TEXTBUBBLE	= 't';			//  Text bubble to show communication
53//const	S8		DEMON		= 'M';			// Maxwell's demon for scarfing legacy_object_types.h
54//const	S8		CUBE		= 'f';
55//const	S8		LSL_TEST	= 'L';
56//const	S8		PRISM			= '1';
57//const	S8		PYRAMID			= '2';
58//const	S8		TETRAHEDRON		= '3';
59//const	S8		HALF_CYLINDER	= '4';
60//const	S8		HALF_CONE		= '5';
61//const	S8		HALF_SPHERE		= '6';
62
63const	S8		PRIMITIVE_VOLUME = 'v';
64
65// Misc constants 
66
67//const   F32		AVATAR_RADIUS			= 0.5f;
68//const   F32		SHOT_RADIUS				= 0.05f;
69//const   F32		BIG_SHOT_RADIUS			= 0.05f;
70//const   F32		TREE_SIZE				= 5.f;
71//const   F32		BALL_SIZE				= 4.f;
72
73//const	F32		SHOT_VELOCITY			= 100.f;
74//const	F32		GRENADE_BLAST_RADIUS	= 5.f;
75
76#endif
77