aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llprimitive
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/llprimitive/legacy_object_types.h3
-rw-r--r--linden/indra/llprimitive/llmaterialtable.cpp3
-rw-r--r--linden/indra/llprimitive/llmaterialtable.h3
-rw-r--r--linden/indra/llprimitive/llprimitive.cpp50
-rw-r--r--linden/indra/llprimitive/llprimitive.h6
-rw-r--r--linden/indra/llprimitive/lltextureanim.cpp3
-rw-r--r--linden/indra/llprimitive/lltextureanim.h3
-rw-r--r--linden/indra/llprimitive/lltextureentry.cpp3
-rw-r--r--linden/indra/llprimitive/lltextureentry.h7
-rw-r--r--linden/indra/llprimitive/lltree_common.h3
-rw-r--r--linden/indra/llprimitive/lltreeparams.cpp3
-rw-r--r--linden/indra/llprimitive/lltreeparams.h3
-rw-r--r--linden/indra/llprimitive/llvolumemessage.cpp3
-rw-r--r--linden/indra/llprimitive/llvolumemessage.h3
-rw-r--r--linden/indra/llprimitive/llvolumexml.cpp3
-rw-r--r--linden/indra/llprimitive/llvolumexml.h3
-rw-r--r--linden/indra/llprimitive/material_codes.h3
-rw-r--r--linden/indra/llprimitive/object_flags.h6
18 files changed, 109 insertions, 2 deletions
diff --git a/linden/indra/llprimitive/legacy_object_types.h b/linden/indra/llprimitive/legacy_object_types.h
index 9cdc632..09fd72a 100644
--- a/linden/indra/llprimitive/legacy_object_types.h
+++ b/linden/indra/llprimitive/legacy_object_types.h
@@ -2,6 +2,8 @@
2 * @file legacy_object_types.h 2 * @file legacy_object_types.h
3 * @brief Byte codes for basic object and primitive types 3 * @brief Byte codes for basic object and primitive types
4 * 4 *
5 * $LicenseInfo:firstyear=2001&license=viewergpl$
6 *
5 * Copyright (c) 2001-2007, Linden Research, Inc. 7 * Copyright (c) 2001-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#ifndef LL_LEGACY_OBJECT_TYPES_H 32#ifndef LL_LEGACY_OBJECT_TYPES_H
diff --git a/linden/indra/llprimitive/llmaterialtable.cpp b/linden/indra/llprimitive/llmaterialtable.cpp
index d7ac57a..9970a03 100644
--- a/linden/indra/llprimitive/llmaterialtable.cpp
+++ b/linden/indra/llprimitive/llmaterialtable.cpp
@@ -2,6 +2,8 @@
2 * @file llmaterialtable.cpp 2 * @file llmaterialtable.cpp
3 * @brief Table of material names and IDs for viewer 3 * @brief Table of material names and IDs for viewer
4 * 4 *
5 * $LicenseInfo:firstyear=2001&license=viewergpl$
6 *
5 * Copyright (c) 2001-2007, Linden Research, Inc. 7 * Copyright (c) 2001-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#include "linden_common.h" 32#include "linden_common.h"
diff --git a/linden/indra/llprimitive/llmaterialtable.h b/linden/indra/llprimitive/llmaterialtable.h
index d9596e1..e786a86 100644
--- a/linden/indra/llprimitive/llmaterialtable.h
+++ b/linden/indra/llprimitive/llmaterialtable.h
@@ -2,6 +2,8 @@
2 * @file llmaterialtable.h 2 * @file llmaterialtable.h
3 * @brief Table of material information for the viewer UI 3 * @brief Table of material information for the viewer UI
4 * 4 *
5 * $LicenseInfo:firstyear=2001&license=viewergpl$
6 *
5 * Copyright (c) 2001-2007, Linden Research, Inc. 7 * Copyright (c) 2001-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#ifndef LL_LLMATERIALTABLE_H 32#ifndef LL_LLMATERIALTABLE_H
diff --git a/linden/indra/llprimitive/llprimitive.cpp b/linden/indra/llprimitive/llprimitive.cpp
index 1dfc570..b418793 100644
--- a/linden/indra/llprimitive/llprimitive.cpp
+++ b/linden/indra/llprimitive/llprimitive.cpp
@@ -2,6 +2,8 @@
2 * @file llprimitive.cpp 2 * @file llprimitive.cpp
3 * @brief LLPrimitive base class 3 * @brief LLPrimitive base class
4 * 4 *
5 * $LicenseInfo:firstyear=2001&license=viewergpl$
6 *
5 * Copyright (c) 2001-2007, Linden Research, Inc. 7 * Copyright (c) 2001-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#include "linden_common.h" 32#include "linden_common.h"
@@ -860,6 +863,7 @@ void LLPrimitive::copyTEs(const LLPrimitive *primitivep)
860 setTERotation(i, tep->getRotation()); 863 setTERotation(i, tep->getRotation());
861 setTEBumpShinyFullbright(i, tep->getBumpShinyFullbright()); 864 setTEBumpShinyFullbright(i, tep->getBumpShinyFullbright());
862 setTEMediaTexGen(i, tep->getMediaTexGen()); 865 setTEMediaTexGen(i, tep->getMediaTexGen());
866 setTEGlow(i, tep->getGlow());
863 } 867 }
864} 868}
865 869
@@ -1657,6 +1661,52 @@ void LLPrimitive::setTextureList(LLTextureEntry *listp)
1657 1661
1658//============================================================================ 1662//============================================================================
1659 1663
1664// Moved from llselectmgr.cpp
1665// BUG: Only works for boxes.
1666// Face numbering for flex boxes as of 1.14.2
1667
1668// static
1669bool LLPrimitive::getTESTAxes(const U8 face, U32* s_axis, U32* t_axis)
1670{
1671 if (face == 0)
1672 {
1673 *s_axis = VX; *t_axis = VY;
1674 return true;
1675 }
1676 else if (face == 1)
1677 {
1678 *s_axis = VX; *t_axis = VZ;
1679 return true;
1680 }
1681 else if (face == 2)
1682 {
1683 *s_axis = VY; *t_axis = VZ;
1684 return true;
1685 }
1686 else if (face == 3)
1687 {
1688 *s_axis = VX; *t_axis = VZ;
1689 return true;
1690 }
1691 else if (face == 4)
1692 {
1693 *s_axis = VY; *t_axis = VZ;
1694 return true;
1695 }
1696 else if (face == 5)
1697 {
1698 *s_axis = VX; *t_axis = VY;
1699 return true;
1700 }
1701 else
1702 {
1703 // unknown face
1704 return false;
1705 }
1706}
1707
1708//============================================================================
1709
1660//static 1710//static
1661BOOL LLNetworkData::isValid(U16 param_type, U32 size) 1711BOOL LLNetworkData::isValid(U16 param_type, U32 size)
1662{ 1712{
diff --git a/linden/indra/llprimitive/llprimitive.h b/linden/indra/llprimitive/llprimitive.h
index 1a568d1..53b17bc 100644
--- a/linden/indra/llprimitive/llprimitive.h
+++ b/linden/indra/llprimitive/llprimitive.h
@@ -2,6 +2,8 @@
2 * @file llprimitive.h 2 * @file llprimitive.h
3 * @brief LLPrimitive base class 3 * @brief LLPrimitive base class
4 * 4 *
5 * $LicenseInfo:firstyear=2001&license=viewergpl$
6 *
5 * Copyright (c) 2001-2007, Linden Research, Inc. 7 * Copyright (c) 2001-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#ifndef LL_LLPRIMITIVE_H 32#ifndef LL_LLPRIMITIVE_H
@@ -359,7 +362,8 @@ public:
359 static const char *pCodeToString(const LLPCode pcode); 362 static const char *pCodeToString(const LLPCode pcode);
360 static LLPCode legacyToPCode(const U8 legacy); 363 static LLPCode legacyToPCode(const U8 legacy);
361 static U8 pCodeToLegacy(const LLPCode pcode); 364 static U8 pCodeToLegacy(const LLPCode pcode);
362 365 static bool getTESTAxes(const U8 face, U32* s_axis, U32* t_axis);
366
363 inline static BOOL isPrimitive(const LLPCode pcode); 367 inline static BOOL isPrimitive(const LLPCode pcode);
364 inline static BOOL isApp(const LLPCode pcode); 368 inline static BOOL isApp(const LLPCode pcode);
365 369
diff --git a/linden/indra/llprimitive/lltextureanim.cpp b/linden/indra/llprimitive/lltextureanim.cpp
index e373a29..b15e5a8 100644
--- a/linden/indra/llprimitive/lltextureanim.cpp
+++ b/linden/indra/llprimitive/lltextureanim.cpp
@@ -2,6 +2,8 @@
2 * @file lltextureanim.cpp 2 * @file lltextureanim.cpp
3 * @brief LLTextureAnim base class 3 * @brief LLTextureAnim base class
4 * 4 *
5 * $LicenseInfo:firstyear=2001&license=viewergpl$
6 *
5 * Copyright (c) 2001-2007, Linden Research, Inc. 7 * Copyright (c) 2001-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#include "linden_common.h" 32#include "linden_common.h"
diff --git a/linden/indra/llprimitive/lltextureanim.h b/linden/indra/llprimitive/lltextureanim.h
index 502cf54..32e66da 100644
--- a/linden/indra/llprimitive/lltextureanim.h
+++ b/linden/indra/llprimitive/lltextureanim.h
@@ -2,6 +2,8 @@
2 * @file lltextureanim.h 2 * @file lltextureanim.h
3 * @brief LLTextureAnim base class 3 * @brief LLTextureAnim base class
4 * 4 *
5 * $LicenseInfo:firstyear=2001&license=viewergpl$
6 *
5 * Copyright (c) 2001-2007, Linden Research, Inc. 7 * Copyright (c) 2001-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#ifndef LL_LLTEXTUREANIM_H 32#ifndef LL_LLTEXTUREANIM_H
diff --git a/linden/indra/llprimitive/lltextureentry.cpp b/linden/indra/llprimitive/lltextureentry.cpp
index 73ecd96..e6eee9b 100644
--- a/linden/indra/llprimitive/lltextureentry.cpp
+++ b/linden/indra/llprimitive/lltextureentry.cpp
@@ -2,6 +2,8 @@
2 * @file lltextureentry.cpp 2 * @file lltextureentry.cpp
3 * @brief LLTextureEntry base class 3 * @brief LLTextureEntry base class
4 * 4 *
5 * $LicenseInfo:firstyear=2001&license=viewergpl$
6 *
5 * Copyright (c) 2001-2007, Linden Research, Inc. 7 * Copyright (c) 2001-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#include "linden_common.h" 32#include "linden_common.h"
diff --git a/linden/indra/llprimitive/lltextureentry.h b/linden/indra/llprimitive/lltextureentry.h
index c1f355b..960d97b 100644
--- a/linden/indra/llprimitive/lltextureentry.h
+++ b/linden/indra/llprimitive/lltextureentry.h
@@ -2,6 +2,8 @@
2 * @file lltextureentry.h 2 * @file lltextureentry.h
3 * @brief LLTextureEntry base class 3 * @brief LLTextureEntry base class
4 * 4 *
5 * $LicenseInfo:firstyear=2001&license=viewergpl$
6 *
5 * Copyright (c) 2001-2007, Linden Research, Inc. 7 * Copyright (c) 2001-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#ifndef LL_LLTEXTUREENTRY_H 32#ifndef LL_LLTEXTUREENTRY_H
@@ -144,6 +147,10 @@ protected:
144 U8 mBump; // Bump map, shiny, and fullbright 147 U8 mBump; // Bump map, shiny, and fullbright
145 U8 mMediaFlags; // replace with web page, movie, etc. 148 U8 mMediaFlags; // replace with web page, movie, etc.
146 F32 mGlow; 149 F32 mGlow;
150
151 // NOTE: when adding new data to this class, in addition to adding it to the serializers asLLSD/fromLLSD and the
152 // message packers (e.g. LLPrimitive::packTEMessage) you must also implement its copy in LLPrimitive::copyTEs()
153
147 154
148}; 155};
149 156
diff --git a/linden/indra/llprimitive/lltree_common.h b/linden/indra/llprimitive/lltree_common.h
index f9594e2..302e938 100644
--- a/linden/indra/llprimitive/lltree_common.h
+++ b/linden/indra/llprimitive/lltree_common.h
@@ -2,6 +2,8 @@
2 * @file lltree_common.h 2 * @file lltree_common.h
3 * @brief LLTree_gene_0 base class 3 * @brief LLTree_gene_0 base class
4 * 4 *
5 * $LicenseInfo:firstyear=2001&license=viewergpl$
6 *
5 * Copyright (c) 2001-2007, Linden Research, Inc. 7 * Copyright (c) 2001-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29// Common data for trees shared between simulator and viewer 32// Common data for trees shared between simulator and viewer
diff --git a/linden/indra/llprimitive/lltreeparams.cpp b/linden/indra/llprimitive/lltreeparams.cpp
index fde21f0..ba038ff 100644
--- a/linden/indra/llprimitive/lltreeparams.cpp
+++ b/linden/indra/llprimitive/lltreeparams.cpp
@@ -2,6 +2,8 @@
2 * @file lltreeparams.cpp 2 * @file lltreeparams.cpp
3 * @brief implementation of the LLTreeParams class. 3 * @brief implementation of the LLTreeParams class.
4 * 4 *
5 * $LicenseInfo:firstyear=2001&license=viewergpl$
6 *
5 * Copyright (c) 2001-2007, Linden Research, Inc. 7 * Copyright (c) 2001-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29////////////////////////////////////////////////////////////////////// 32//////////////////////////////////////////////////////////////////////
diff --git a/linden/indra/llprimitive/lltreeparams.h b/linden/indra/llprimitive/lltreeparams.h
index 2754eb4..c4bb1ea 100644
--- a/linden/indra/llprimitive/lltreeparams.h
+++ b/linden/indra/llprimitive/lltreeparams.h
@@ -2,6 +2,8 @@
2 * @file lltreeparams.h 2 * @file lltreeparams.h
3 * @brief Implementation of the LLTreeParams class 3 * @brief Implementation of the LLTreeParams class
4 * 4 *
5 * $LicenseInfo:firstyear=2001&license=viewergpl$
6 *
5 * Copyright (c) 2001-2007, Linden Research, Inc. 7 * Copyright (c) 2001-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#ifndef LL_LLTREEPARAMS_H 32#ifndef LL_LLTREEPARAMS_H
diff --git a/linden/indra/llprimitive/llvolumemessage.cpp b/linden/indra/llprimitive/llvolumemessage.cpp
index 650e0cd..c7efc86 100644
--- a/linden/indra/llprimitive/llvolumemessage.cpp
+++ b/linden/indra/llprimitive/llvolumemessage.cpp
@@ -2,6 +2,8 @@
2 * @file llvolumemessage.cpp 2 * @file llvolumemessage.cpp
3 * @brief LLVolumeMessage base class 3 * @brief LLVolumeMessage base class
4 * 4 *
5 * $LicenseInfo:firstyear=2001&license=viewergpl$
6 *
5 * Copyright (c) 2001-2007, Linden Research, Inc. 7 * Copyright (c) 2001-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#include "linden_common.h" 32#include "linden_common.h"
diff --git a/linden/indra/llprimitive/llvolumemessage.h b/linden/indra/llprimitive/llvolumemessage.h
index e626a04..7e7da3d 100644
--- a/linden/indra/llprimitive/llvolumemessage.h
+++ b/linden/indra/llprimitive/llvolumemessage.h
@@ -2,6 +2,8 @@
2 * @file llvolumemessage.h 2 * @file llvolumemessage.h
3 * @brief LLVolumeMessage base class 3 * @brief LLVolumeMessage base class
4 * 4 *
5 * $LicenseInfo:firstyear=2001&license=viewergpl$
6 *
5 * Copyright (c) 2001-2007, Linden Research, Inc. 7 * Copyright (c) 2001-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#ifndef LL_LLVOLUMEMESSAGE_H 32#ifndef LL_LLVOLUMEMESSAGE_H
diff --git a/linden/indra/llprimitive/llvolumexml.cpp b/linden/indra/llprimitive/llvolumexml.cpp
index 370f152..c9af11c 100644
--- a/linden/indra/llprimitive/llvolumexml.cpp
+++ b/linden/indra/llprimitive/llvolumexml.cpp
@@ -2,6 +2,8 @@
2 * @file llvolumexml.cpp 2 * @file llvolumexml.cpp
3 * @brief LLVolumeXml base class 3 * @brief LLVolumeXml base class
4 * 4 *
5 * $LicenseInfo:firstyear=2001&license=viewergpl$
6 *
5 * Copyright (c) 2001-2007, Linden Research, Inc. 7 * Copyright (c) 2001-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#include "linden_common.h" 32#include "linden_common.h"
diff --git a/linden/indra/llprimitive/llvolumexml.h b/linden/indra/llprimitive/llvolumexml.h
index 0a3d1c5..8bec5f7 100644
--- a/linden/indra/llprimitive/llvolumexml.h
+++ b/linden/indra/llprimitive/llvolumexml.h
@@ -2,6 +2,8 @@
2 * @file llvolumexml.h 2 * @file llvolumexml.h
3 * @brief LLVolumeXml base class 3 * @brief LLVolumeXml base class
4 * 4 *
5 * $LicenseInfo:firstyear=2001&license=viewergpl$
6 *
5 * Copyright (c) 2001-2007, Linden Research, Inc. 7 * Copyright (c) 2001-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#ifndef LL_LLVOLUMEXML_H 32#ifndef LL_LLVOLUMEXML_H
diff --git a/linden/indra/llprimitive/material_codes.h b/linden/indra/llprimitive/material_codes.h
index 01a5573..8e77a43 100644
--- a/linden/indra/llprimitive/material_codes.h
+++ b/linden/indra/llprimitive/material_codes.h
@@ -2,6 +2,8 @@
2 * @file material_codes.h 2 * @file material_codes.h
3 * @brief Material_codes definitions 3 * @brief Material_codes definitions
4 * 4 *
5 * $LicenseInfo:firstyear=2000&license=viewergpl$
6 *
5 * Copyright (c) 2000-2007, Linden Research, Inc. 7 * Copyright (c) 2000-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#ifndef LL_MATERIAL_CODES_H 32#ifndef LL_MATERIAL_CODES_H
diff --git a/linden/indra/llprimitive/object_flags.h b/linden/indra/llprimitive/object_flags.h
index e7bf023..cc37d06 100644
--- a/linden/indra/llprimitive/object_flags.h
+++ b/linden/indra/llprimitive/object_flags.h
@@ -2,6 +2,8 @@
2 * @file object_flags.h 2 * @file object_flags.h
3 * @brief Flags for object creation and transmission 3 * @brief Flags for object creation and transmission
4 * 4 *
5 * $LicenseInfo:firstyear=2001&license=viewergpl$
6 *
5 * Copyright (c) 2001-2007, Linden Research, Inc. 7 * Copyright (c) 2001-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#ifndef LL_OBJECT_FLAGS_H 32#ifndef LL_OBJECT_FLAGS_H
@@ -46,7 +49,8 @@ const U32 FLAGS_INVENTORY_EMPTY = 0x00000800;
46const U32 FLAGS_JOINT_HINGE = 0x00001000; 49const U32 FLAGS_JOINT_HINGE = 0x00001000;
47const U32 FLAGS_JOINT_P2P = 0x00002000; 50const U32 FLAGS_JOINT_P2P = 0x00002000;
48const U32 FLAGS_JOINT_LP2P = 0x00004000; 51const U32 FLAGS_JOINT_LP2P = 0x00004000;
49//const U32 FLAGS_JOINT_WHEEL = 0x00008000; 52// const U32 FLAGS_JOINT_WHEEL = 0x00008000;
53const U32 FLAGS_INCLUDE_IN_SEARCH = 0x00008000;
50 54
51const U32 FLAGS_ALLOW_INVENTORY_DROP = 0x00010000; 55const U32 FLAGS_ALLOW_INVENTORY_DROP = 0x00010000;
52const U32 FLAGS_OBJECT_TRANSFER = 0x00020000; 56const U32 FLAGS_OBJECT_TRANSFER = 0x00020000;