summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerobject.h
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2010-06-14 23:14:14 -0500
committerDave Parks <davep@lindenlab.com>2010-06-14 23:14:14 -0500
commit1b7b8aa00ea4329243125a1c53c90115ff7d6bfa (patch)
tree5ef154c052e043dbc500c034b4d718c5568643d2 /indra/newview/llviewerobject.h
parent37a8c12bd34b2bd119b50f32d6e081ab59d1f5c4 (diff)
parent6e37ec08f678451a526f34218cb070d117cdf60a (diff)
merge
Diffstat (limited to 'indra/newview/llviewerobject.h')
-rw-r--r--indra/newview/llviewerobject.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/indra/newview/llviewerobject.h b/indra/newview/llviewerobject.h
index 6ebd1cbe21..092d8fdc82 100644
--- a/indra/newview/llviewerobject.h
+++ b/indra/newview/llviewerobject.h
@@ -334,6 +334,12 @@ public:
virtual void setScale(const LLVector3 &scale, BOOL damped = FALSE);
+ void setObjectCost(F32 cost);
+ F32 getObjectCost();
+ void setLinksetCost(F32 cost);
+ F32 getLinksetCost();
+
+
void sendShapeUpdate();
U8 getState() { return mState; }
@@ -668,6 +674,9 @@ protected:
U8 mState; // legacy
LLViewerObjectMedia* mMedia; // NULL if no media associated
U8 mClickAction;
+ F32 mObjectCost; //resource cost of this object or -1 if unknown
+ F32 mLinksetCost;
+ bool mCostStale;
static U32 sNumZombieObjects; // Objects which are dead, but not deleted