diff options
author | Andrey Lihatskiy <alihatskiy@productengine.com> | 2024-04-29 07:43:28 +0300 |
---|---|---|
committer | Andrey Lihatskiy <alihatskiy@productengine.com> | 2024-04-29 07:56:09 +0300 |
commit | 1b68f71348ecf3983b76b40d7940da8377f049b7 (patch) | |
tree | 2974eddaef130a067c26033d60a59fc790365b3d /indra/newview/llmenuoptionpathfindingrebakenavmesh.h | |
parent | af4ea94efc1999f3b19fd8d643d0331f0b77e265 (diff) |
#824 Process source files in bulk: replace tabs with spaces, convert CRLF to LF, and trim trailing whitespaces as needed
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 |