Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/game/server/nav_area.h
Original file line number Diff line number Diff line change
Expand Up @@ -520,11 +520,11 @@ class CNavArea : protected CNavAreaCriticalData
virtual bool IsPartiallyVisible( const Vector &eye, const CBaseEntity *ignore = NULL ) const; // return true if any portion of the area is visible from given eyepoint (CPU intensive)

virtual bool IsPotentiallyVisible( const CNavArea *area ) const; // return true if given area is potentially visible from somewhere in this area (very fast)
virtual bool IsPotentiallyVisibleToTeam( int team ) const; // return true if any portion of this area is visible to anyone on the given team (very fast)
#ifdef NEO
int GetPotentiallyVisibleAreaCount() const { return m_visibleAreaCount; }
void ComputePotentiallyVisibleAreaCount();
#endif
virtual bool IsPotentiallyVisibleToTeam( int team ) const; // return true if any portion of this area is visible to anyone on the given team (very fast)

virtual bool IsCompletelyVisible( const CNavArea *area ) const; // return true if given area is completely visible from somewhere in this area (very fast)
virtual bool IsCompletelyVisibleToTeam( int team ) const; // return true if given area is completely visible from somewhere in this area by someone on the team (very fast)
Expand Down Expand Up @@ -666,11 +666,11 @@ class CNavArea : protected CNavAreaCriticalData
*/

static unsigned int m_nextID; // used to allocate unique IDs
#ifdef NEO
int m_visibleAreaCount;
#endif
unsigned int m_id; // unique area ID
unsigned int m_debugid;
#ifdef NEO
unsigned int m_visibleAreaCount; // cached number of visible areas from this navarea
#endif

Place m_place; // place descriptor

Expand Down