summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerobject.h
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2010-05-13 14:54:56 -0500
committerDave Parks <davep@lindenlab.com>2010-05-13 14:54:56 -0500
commitd334a9e645ab14c2822f35ee67d2c1e0f2a646a6 (patch)
treea38a1d5147f55380f1e0fb110e2680ab8e9975a6 /indra/newview/llviewerobject.h
parent65acaab16ffaa4cc6bed0934973ead659df20741 (diff)
Vis that works and first pass at fetching prim cost.
Diffstat (limited to 'indra/newview/llviewerobject.h')
-rw-r--r--indra/newview/llviewerobject.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llviewerobject.h b/indra/newview/llviewerobject.h
index 0fd0cbfa60..d2e465fe5a 100644
--- a/indra/newview/llviewerobject.h
+++ b/indra/newview/llviewerobject.h
@@ -334,6 +334,9 @@ public:
virtual void setScale(const LLVector3 &scale, BOOL damped = FALSE);
+ void setObjectCost(S32 cost) { mObjectCost = cost; }
+ S32 getObjectCost() { return mObjectCost; }
+
void sendShapeUpdate();
U8 getState() { return mState; }
@@ -668,6 +671,7 @@ protected:
U8 mState; // legacy
LLViewerObjectMedia* mMedia; // NULL if no media associated
U8 mClickAction;
+ S32 mObjectCost; //resource cost of this object or -1 if unknown
static U32 sNumZombieObjects; // Objects which are dead, but not deleted