aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llprimitive/object_flags.h
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:44:46 -0500
committerJacek Antonelli2008-08-15 23:44:46 -0500
commit38d6d37f2d982fa959e9e8a4a3f7e1ccfad7b5d4 (patch)
treeadca584755d22ca041a2dbfc35d4eca01f70b32c /linden/indra/llprimitive/object_flags.h
parentREADME.txt (diff)
downloadmeta-impy-38d6d37f2d982fa959e9e8a4a3f7e1ccfad7b5d4.zip
meta-impy-38d6d37f2d982fa959e9e8a4a3f7e1ccfad7b5d4.tar.gz
meta-impy-38d6d37f2d982fa959e9e8a4a3f7e1ccfad7b5d4.tar.bz2
meta-impy-38d6d37f2d982fa959e9e8a4a3f7e1ccfad7b5d4.tar.xz
Second Life viewer sources 1.13.2.12
Diffstat (limited to 'linden/indra/llprimitive/object_flags.h')
-rw-r--r--linden/indra/llprimitive/object_flags.h80
1 files changed, 80 insertions, 0 deletions
diff --git a/linden/indra/llprimitive/object_flags.h b/linden/indra/llprimitive/object_flags.h
new file mode 100644
index 0000000..7c8a66c
--- /dev/null
+++ b/linden/indra/llprimitive/object_flags.h
@@ -0,0 +1,80 @@
1/**
2 * @file object_flags.h
3 * @brief Flags for object creation and transmission
4 *
5 * Copyright (c) 2001-2007, Linden Research, Inc.
6 *
7 * The source code in this file ("Source Code") is provided by Linden Lab
8 * to you under the terms of the GNU General Public License, version 2.0
9 * ("GPL"), unless you have obtained a separate licensing agreement
10 * ("Other License"), formally executed by you and Linden Lab. Terms of
11 * the GPL can be found in doc/GPL-license.txt in this distribution, or
12 * online at http://secondlife.com/developers/opensource/gplv2
13 *
14 * There are special exceptions to the terms and conditions of the GPL as
15 * it is applied to this Source Code. View the full text of the exception
16 * in the file doc/FLOSS-exception.txt in this software distribution, or
17 * online at http://secondlife.com/developers/opensource/flossexception
18 *
19 * By copying, modifying or distributing this software, you acknowledge
20 * that you have read and understood your obligations described above,
21 * and agree to abide by those obligations.
22 *
23 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
24 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
25 * COMPLETENESS OR PERFORMANCE.
26 */
27
28#ifndef LL_OBJECT_FLAGS_H
29#define LL_OBJECT_FLAGS_H
30
31// downstream flags from sim->viewer
32const U32 FLAGS_USE_PHYSICS = 0x00000001;
33const U32 FLAGS_CREATE_SELECTED = 0x00000002;
34const U32 FLAGS_OBJECT_MODIFY = 0x00000004;
35const U32 FLAGS_OBJECT_COPY = 0x00000008;
36const U32 FLAGS_OBJECT_ANY_OWNER = 0x00000010;
37const U32 FLAGS_OBJECT_YOU_OWNER = 0x00000020;
38const U32 FLAGS_SCRIPTED = 0x00000040;
39const U32 FLAGS_HANDLE_TOUCH = 0x00000080;
40const U32 FLAGS_OBJECT_MOVE = 0x00000100;
41const U32 FLAGS_TAKES_MONEY = 0x00000200;
42const U32 FLAGS_PHANTOM = 0x00000400;
43const U32 FLAGS_INVENTORY_EMPTY = 0x00000800;
44
45const U32 FLAGS_JOINT_HINGE = 0x00001000;
46const U32 FLAGS_JOINT_P2P = 0x00002000;
47const U32 FLAGS_JOINT_LP2P = 0x00004000;
48//const U32 FLAGS_JOINT_WHEEL = 0x00008000;
49
50const U32 FLAGS_ALLOW_INVENTORY_DROP = 0x00010000;
51const U32 FLAGS_OBJECT_TRANSFER = 0x00020000;
52const U32 FLAGS_OBJECT_GROUP_OWNED = 0x00040000;
53//const U32 FLAGS_OBJECT_YOU_OFFICER = 0x00080000;
54
55const U32 FLAGS_CAMERA_DECOUPLED = 0x00100000;
56const U32 FLAGS_ANIM_SOURCE = 0x00200000;
57const U32 FLAGS_CAMERA_SOURCE = 0x00400000;
58
59const U32 FLAGS_CAST_SHADOWS = 0x00800000;
60
61const U32 FLAGS_OBJECT_OWNER_MODIFY = 0x10000000;
62
63const U32 FLAGS_TEMPORARY_ON_REZ = 0x20000000;
64const U32 FLAGS_TEMPORARY = 0x40000000;
65const U32 FLAGS_ZLIB_COMPRESSED = 0x80000000;
66
67const U32 FLAGS_LOCAL = FLAGS_ANIM_SOURCE | FLAGS_CAMERA_SOURCE;
68
69typedef enum e_havok_joint_type
70{
71 HJT_INVALID = 0,
72 HJT_HINGE = 1,
73 HJT_POINT = 2,
74// HJT_LPOINT = 3,
75// HJT_WHEEL = 4,
76 HJT_EOF = 3
77} EHavokJointType;
78
79#endif
80