summaryrefslogtreecommitdiff
path: root/indra/newview/llpathfindingnavmeshstatus.h
diff options
context:
space:
mode:
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;};