diff options
| author | William Todd Stinson <stinson@lindenlab.com> | 2012-02-25 22:27:06 -0800 |
|---|---|---|
| committer | William Todd Stinson <stinson@lindenlab.com> | 2012-02-25 22:27:06 -0800 |
| commit | 9b06300e2c94eae83a29637073f65d4ffc73bf6d (patch) | |
| tree | 8d109a1e072f066fa2739b063291c05a95983f8e /indra/newview/llpathfindinglinkset.h | |
| parent | 8bfb24373b429b752d4b2b1ca6452f0eb755e383 (diff) | |
PATH-292: Adding the ability to view and edit pathfinding attributes of the terrain.
Diffstat (limited to 'indra/newview/llpathfindinglinkset.h')
| -rw-r--r-- | indra/newview/llpathfindinglinkset.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llpathfindinglinkset.h b/indra/newview/llpathfindinglinkset.h index ea6cf710b1..3f9217fa3c 100644 --- a/indra/newview/llpathfindinglinkset.h +++ b/indra/newview/llpathfindinglinkset.h @@ -52,12 +52,14 @@ public: kDynamicPhantom
} ELinksetUse;
+ LLPathfindingLinkset(const LLSD &pTerrainLinksetItem);
LLPathfindingLinkset(const std::string &pUUID, const LLSD &pLinksetItem);
LLPathfindingLinkset(const LLPathfindingLinkset& pOther);
virtual ~LLPathfindingLinkset();
LLPathfindingLinkset& operator = (const LLPathfindingLinkset& pOther);
+ inline bool isTerrain() const {return mIsTerrain;};
inline const LLUUID& getUUID() const {return mUUID;};
inline const std::string& getName() const {return mName;};
inline const std::string& getDescription() const {return mDescription;};
@@ -77,6 +79,8 @@ public: protected:
private:
+ void parseObjectData(const LLSD &pLinksetItem);
+ void parsePathfindingData(const LLSD &pLinksetItem);
static ELinksetUse getLinksetUse(bool pIsPhantom, bool pIsPermanent, bool pIsWalkable);
static BOOL isPhantom(ELinksetUse pLinksetUse);
static BOOL isPermanent(ELinksetUse pLinksetUse);
@@ -86,6 +90,7 @@ private: static const S32 MAX_WALKABILITY_VALUE;
LLUUID mUUID;
+ bool mIsTerrain;
std::string mName;
std::string mDescription;
U32 mLandImpact;
|
