summaryrefslogtreecommitdiff
path: root/indra/newview/llpathfindingnavmeshstatus.h
diff options
context:
space:
mode:
authorTodd Stinson <stinson@lindenlab.com>2012-03-14 14:09:36 -0700
committerTodd Stinson <stinson@lindenlab.com>2012-03-14 14:09:36 -0700
commitd4fb7c99febf07b4eb7f3a9d2eab485e356d1439 (patch)
tree31558a02ba12ecf565fdc72fd8b3386fde979689 /indra/newview/llpathfindingnavmeshstatus.h
parente1aac3718192d7ce663f9134492b4a12dc1637d0 (diff)
PATH-302: Adding in status reporting for the simulator navmesh status. Separating the viewer status messaging from the simulator status.
Diffstat (limited to 'indra/newview/llpathfindingnavmeshstatus.h')
-rw-r--r--indra/newview/llpathfindingnavmeshstatus.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/newview/llpathfindingnavmeshstatus.h b/indra/newview/llpathfindingnavmeshstatus.h
index fcc876059d..7147fcdf36 100644
--- a/indra/newview/llpathfindingnavmeshstatus.h
+++ b/indra/newview/llpathfindingnavmeshstatus.h
@@ -32,6 +32,9 @@
#include <string>
+// XXX stinson 03/12/2012 : This definition is in place to support an older version of the pathfinding simulator that does not have versioned information
+#define DEPRECATED_UNVERSIONED_NAVMESH
+
class LLSD;
class LLPathfindingNavMeshStatus
@@ -45,6 +48,7 @@ public:
kRepending
} ENavMeshStatus;
+ LLPathfindingNavMeshStatus();
LLPathfindingNavMeshStatus(const LLUUID &pRegionUUID);
LLPathfindingNavMeshStatus(const LLUUID &pRegionUUID, const LLSD &pContent);
LLPathfindingNavMeshStatus(const LLSD &pContent);
@@ -53,6 +57,10 @@ public:
LLPathfindingNavMeshStatus &operator =(const LLPathfindingNavMeshStatus &pOther);
+#ifdef DEPRECATED_UNVERSIONED_NAVMESH
+ void incrementNavMeshVersionXXX() {++mVersion;};
+#endif // DEPRECATED_UNVERSIONED_NAVMESH
+
bool isValid() const {return mIsValid;};
const LLUUID &getRegionUUID() const {return mRegionUUID;};
U32 getVersion() const {return mVersion;};