diff options
author | Todd Stinson <stinson@lindenlab.com> | 2012-04-10 18:20:21 -0700 |
---|---|---|
committer | Todd Stinson <stinson@lindenlab.com> | 2012-04-10 18:20:21 -0700 |
commit | ba0e3c3c6485fefbe273b6fa8f9121850166b2cc (patch) | |
tree | 0de97b2d7895f0d2a6309ec5f3f20ce55e7cc086 /indra/newview/llpathfindingpathtool.h | |
parent | 76b280a2ad2549a795589fe75328cda71115da97 (diff) |
Adding the display of the temporary start/end path character on hover state.
Diffstat (limited to 'indra/newview/llpathfindingpathtool.h')
-rw-r--r-- | indra/newview/llpathfindingpathtool.h | 28 |
1 files changed, 21 insertions, 7 deletions
diff --git a/indra/newview/llpathfindingpathtool.h b/indra/newview/llpathfindingpathtool.h index 2b9b363fec..0ec22d959c 100644 --- a/indra/newview/llpathfindingpathtool.h +++ b/indra/newview/llpathfindingpathtool.h @@ -87,8 +87,27 @@ protected: private:
bool isAnyPathToolModKeys(MASK pMask) const;
- bool isStartPathToolModKeys(MASK pMask) const;
- bool isEndPathToolModKeys(MASK pMask) const;
+ bool isPointAModKeys(MASK pMask) const;
+ bool isPointBModKeys(MASK pMask) const;
+
+ void setFinalA(const LLVector3 &pStartPoint, const LLVector3 &pEndPoint);
+ bool hasFinalA() const;
+ const LLVector3 &getFinalAStart() const;
+ const LLVector3 &getFinalAEnd() const;
+
+ void setTempA(const LLVector3 &pStartPoint, const LLVector3 &pEndPoint);
+ bool hasTempA() const;
+
+ void setFinalB(const LLVector3 &pStartPoint, const LLVector3 &pEndPoint);
+ bool hasFinalB() const;
+ const LLVector3 &getFinalBStart() const;
+ const LLVector3 &getFinalBEnd() const;
+
+ void setTempB(const LLVector3 &pStartPoint, const LLVector3 &pEndPoint);
+ bool hasTempB() const;
+
+ void clearFinal();
+ void clearTemp();
void computeFinalPath();
void computeTempPath();
@@ -96,11 +115,6 @@ private: LLPathingLib::PathingPacket mFinalPathData;
LLPathingLib::PathingPacket mTempPathData;
LLPathingLib::LLPLResult mPathResult;
- bool mHasFinalStartPoint;
- bool mHasFinalEndPoint;
- bool mHasTempStartPoint;
- bool mHasTempEndPoint;
- F32 mCharacterWidth;
ECharacterType mCharacterType;
path_event_signal_t mPathEventSignal;
};
|