diff options
author | Andrey Lihatskiy <alihatskiy@productengine.com> | 2024-05-01 08:16:58 +0300 |
---|---|---|
committer | Andrey Lihatskiy <alihatskiy@productengine.com> | 2024-05-01 08:16:58 +0300 |
commit | 38c2a5bde985a6a8a96d912d432f8bdf7e5b60be (patch) | |
tree | b3469444ea8dabe4e76a8a265ac086a9db78891c /indra/newview/llmenuoptionpathfindingrebakenavmesh.h | |
parent | 9bf2dfbb39032d7407295089cf181de0987083e5 (diff) | |
parent | e7eced3c87310b15ac20cc3cd470d67686104a14 (diff) |
Merge branch 'marchcat/w-whitespace' into marchcat/x-ws-merge
Diffstat (limited to 'indra/newview/llmenuoptionpathfindingrebakenavmesh.h')
-rw-r--r-- | indra/newview/llmenuoptionpathfindingrebakenavmesh.h | 62 |
1 files changed, 31 insertions, 31 deletions
diff --git a/indra/newview/llmenuoptionpathfindingrebakenavmesh.h b/indra/newview/llmenuoptionpathfindingrebakenavmesh.h index 649a387dd3..22eda5b8f8 100644 --- a/indra/newview/llmenuoptionpathfindingrebakenavmesh.h +++ b/indra/newview/llmenuoptionpathfindingrebakenavmesh.h @@ -1,4 +1,4 @@ -/** +/** * @file llmenuoptionpathfindingrebakenavmesh.h * @brief Header file for llmenuoptionpathfindingrebakenavmesh * @author Prep@lindenlab.com @@ -37,49 +37,49 @@ class LLPathfindingNavMeshStatus; class LLMenuOptionPathfindingRebakeNavmesh : public LLSingleton<LLMenuOptionPathfindingRebakeNavmesh> { - LLSINGLETON(LLMenuOptionPathfindingRebakeNavmesh); - virtual ~LLMenuOptionPathfindingRebakeNavmesh(); - LOG_CLASS(LLMenuOptionPathfindingRebakeNavmesh); + LLSINGLETON(LLMenuOptionPathfindingRebakeNavmesh); + virtual ~LLMenuOptionPathfindingRebakeNavmesh(); + LOG_CLASS(LLMenuOptionPathfindingRebakeNavmesh); public: - typedef enum - { - kRebakeNavMesh_Available, - kRebakeNavMesh_RequestSent, - kRebakeNavMesh_InProgress, - kRebakeNavMesh_NotAvailable, - kRebakeNavMesh_Default = kRebakeNavMesh_NotAvailable - } ERebakeNavMeshMode; + typedef enum + { + kRebakeNavMesh_Available, + kRebakeNavMesh_RequestSent, + kRebakeNavMesh_InProgress, + kRebakeNavMesh_NotAvailable, + kRebakeNavMesh_Default = kRebakeNavMesh_NotAvailable + } ERebakeNavMeshMode; - void initialize(); - void quit(); + void initialize(); + void quit(); - bool canRebakeRegion() const; - ERebakeNavMeshMode getMode() const; - - void sendRequestRebakeNavmesh(); + bool canRebakeRegion() const; + ERebakeNavMeshMode getMode() const; + + void sendRequestRebakeNavmesh(); protected: private: - void setMode(ERebakeNavMeshMode pRebakeNavMeshMode); + void setMode(ERebakeNavMeshMode pRebakeNavMeshMode); + + void handleAgentState(BOOL pCanRebakeRegion); + void handleRebakeNavMeshResponse(bool pResponseStatus); + void handleNavMeshStatus(const LLPathfindingNavMeshStatus &pNavMeshStatus); + void handleRegionBoundaryCrossed(); - void handleAgentState(BOOL pCanRebakeRegion); - void handleRebakeNavMeshResponse(bool pResponseStatus); - void handleNavMeshStatus(const LLPathfindingNavMeshStatus &pNavMeshStatus); - void handleRegionBoundaryCrossed(); + void createNavMeshStatusListenerForCurrentRegion(); - void createNavMeshStatusListenerForCurrentRegion(); + bool mIsInitialized; - bool mIsInitialized; + bool mCanRebakeRegion; + ERebakeNavMeshMode mRebakeNavMeshMode; - bool mCanRebakeRegion; - ERebakeNavMeshMode mRebakeNavMeshMode; - - LLPathfindingNavMesh::navmesh_slot_t mNavMeshSlot; - boost::signals2::connection mRegionCrossingSlot; - LLPathfindingManager::agent_state_slot_t mAgentStateSlot; + LLPathfindingNavMesh::navmesh_slot_t mNavMeshSlot; + boost::signals2::connection mRegionCrossingSlot; + LLPathfindingManager::agent_state_slot_t mAgentStateSlot; }; #endif // LL_LLMENUOPTIONPATHFINDINGREBAKENAVMESH_H |