aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llviewerobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llviewerobject.h')
-rw-r--r--linden/indra/newview/llviewerobject.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/linden/indra/newview/llviewerobject.h b/linden/indra/newview/llviewerobject.h
index a227f2d..33e8da2 100644
--- a/linden/indra/newview/llviewerobject.h
+++ b/linden/indra/newview/llviewerobject.h
@@ -74,7 +74,6 @@ class LLViewerPartSourceScript;
74class LLViewerRegion; 74class LLViewerRegion;
75class LLViewerObjectMedia; 75class LLViewerObjectMedia;
76class LLVOInventoryListener; 76class LLVOInventoryListener;
77class LLVOAvatar;
78 77
79typedef enum e_object_update_type 78typedef enum e_object_update_type
80{ 79{
@@ -117,7 +116,7 @@ public:
117 116
118//============================================================================ 117//============================================================================
119 118
120class LLViewerObject : public LLPrimitive, public LLRefCount, public LLGLUpdate 119class LLViewerObject : public LLPrimitive, public LLRefCount
121{ 120{
122protected: 121protected:
123 ~LLViewerObject(); // use unref() 122 ~LLViewerObject(); // use unref()
@@ -144,8 +143,6 @@ public:
144 BOOL isOrphaned() const { return mOrphaned; } 143 BOOL isOrphaned() const { return mOrphaned; }
145 BOOL isParticleSource() const; 144 BOOL isParticleSource() const;
146 145
147 virtual LLVOAvatar* asAvatar();
148
149 static void initVOClasses(); 146 static void initVOClasses();
150 static void cleanupVOClasses(); 147 static void cleanupVOClasses();
151 148
@@ -192,12 +189,11 @@ public:
192 S32 getNumFaces() const { return mNumFaces; } 189 S32 getNumFaces() const { return mNumFaces; }
193 190
194 // Graphical stuff for objects - maybe broken out into render class later? 191 // Graphical stuff for objects - maybe broken out into render class later?
195 virtual void updateTextures(LLAgent &agent); 192 virtual void updateTextures();
196 virtual void boostTexturePriority(BOOL boost_children = TRUE); // When you just want to boost priority of this object 193 virtual void boostTexturePriority(BOOL boost_children = TRUE); // When you just want to boost priority of this object
197 194
198 virtual LLDrawable* createDrawable(LLPipeline *pipeline); 195 virtual LLDrawable* createDrawable(LLPipeline *pipeline);
199 virtual BOOL updateGeometry(LLDrawable *drawable); 196 virtual BOOL updateGeometry(LLDrawable *drawable);
200 virtual void updateGL();
201 virtual void updateFaceSize(S32 idx); 197 virtual void updateFaceSize(S32 idx);
202 virtual BOOL updateLOD(); 198 virtual BOOL updateLOD();
203 virtual BOOL setDrawableParent(LLDrawable* parentp); 199 virtual BOOL setDrawableParent(LLDrawable* parentp);
@@ -222,7 +218,6 @@ public:
222 218
223 virtual BOOL isFlexible() const { return FALSE; } 219 virtual BOOL isFlexible() const { return FALSE; }
224 virtual BOOL isSculpted() const { return FALSE; } 220 virtual BOOL isSculpted() const { return FALSE; }
225 virtual BOOL hasLightTexture() const { return FALSE; }
226 221
227 // This method returns true if the object is over land owned by 222 // This method returns true if the object is over land owned by
228 // the agent. 223 // the agent.
@@ -473,7 +468,7 @@ public:
473 468
474 virtual S32 getLOD() const { return 3; } 469 virtual S32 getLOD() const { return 3; }
475 virtual U32 getPartitionType() const; 470 virtual U32 getPartitionType() const;
476 virtual void dirtySpatialGroup(BOOL priority = FALSE) const; 471 virtual void dirtySpatialGroup() const;
477 virtual void dirtyMesh(); 472 virtual void dirtyMesh();
478 473
479 virtual LLNetworkData* getParameterEntry(U16 param_type) const; 474 virtual LLNetworkData* getParameterEntry(U16 param_type) const;