summaryrefslogtreecommitdiff
path: root/indra/newview/llagent.h
diff options
context:
space:
mode:
authorSteven Bennetts <steve@lindenlab.com>2007-12-03 19:44:04 +0000
committerSteven Bennetts <steve@lindenlab.com>2007-12-03 19:44:04 +0000
commitf41b7bb8dff075d8c32ea03be407d20fe11e71f3 (patch)
tree08bf4cb9354f975940b83cd695a2aa8bb8d74870 /indra/newview/llagent.h
parentd5eef2d8a6cc0d5855d68d0726565e07d46211b2 (diff)
-74901 (back out premature commit to release)
Diffstat (limited to 'indra/newview/llagent.h')
-rw-r--r--indra/newview/llagent.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/indra/newview/llagent.h b/indra/newview/llagent.h
index 4e9b882250..c6de97fede 100644
--- a/indra/newview/llagent.h
+++ b/indra/newview/llagent.h
@@ -169,8 +169,7 @@ public:
void setRegion(LLViewerRegion *regionp);
LLViewerRegion *getRegion() const;
const LLHost& getRegionHost() const;
- std::string getSLURL() const;
-
+
void updateAgentPosition(const F32 dt, const F32 yaw, const S32 mouse_x, const S32 mouse_y); // call once per frame to update position, angles radians
void updateLookAt(const S32 mouse_x, const S32 mouse_y);
@@ -307,7 +306,7 @@ public:
LLVector3 getVelocity() const;
F32 getVelocityZ() const { return getVelocity().mV[VZ]; } // a hack
- const LLVector3d &getPositionGlobal() const;
+ const LLVector3d &getPositionGlobal();
const LLVector3 &getPositionAgent();
S32 getRegionsVisited() const;
F64 getDistanceTraveled() const;
@@ -464,8 +463,6 @@ public:
void setTargetVelocity(const LLVector3 &vel);
const LLVector3 &getTargetVelocity() const;
- const std::string getTeleportSourceSLURL() const { return mTeleportSourceSLURL; }
-
// Setting the ability for this avatar to proxy for another avatar.
//static void processAddModifyAbility(LLMessageSystem* msg, void**);
@@ -720,8 +717,6 @@ private:
LLVector3d mAgentOriginGlobal; // Origin of agent coords from global coords
mutable LLVector3d mPositionGlobal;
- std::string mTeleportSourceSLURL; // SLURL where last TP began.
-
std::set<U64> mRegionsVisited; // stat - what distinct regions has the avatar been to?
F64 mDistanceTraveled; // stat - how far has the avatar moved?
LLVector3d mLastPositionGlobal; // Used to calculate travel distance