Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
66dfd14
Fix BasicVector axis typo
Rainyan Mar 13, 2026
758b99b
wip
Rainyan Mar 13, 2026
a35a1c8
default-disable debug short-circuit
Rainyan Mar 13, 2026
6384d07
refactor
Rainyan Mar 13, 2026
79e11e8
wip: auto-generate brush ladders
Rainyan Mar 13, 2026
771034f
Fix format specifier typos
Rainyan Mar 13, 2026
72c6ae8
Refactor
Rainyan Mar 14, 2026
764aedf
Improve debug
Rainyan Mar 14, 2026
675af8a
Make GenerationStepSize constexpr
Rainyan Mar 14, 2026
dd20362
refactor
Rainyan Mar 14, 2026
d1e2219
CreateLadder for !nav_generate_debug_brushladders runs
Rainyan Mar 14, 2026
ee13d3f
wip: Fix ladder generation for slanted angles
Rainyan Mar 14, 2026
1597841
refactor
Rainyan Mar 14, 2026
2da162a
wip
Rainyan Mar 14, 2026
17ea32b
cleanup
Rainyan Mar 14, 2026
838caf1
Fix nav_generate bot kick command
Rainyan Mar 14, 2026
2933f08
Fix redundant null check
Rainyan Jun 3, 2026
1f9cb26
Reject collapsed brush-generated nav ladders
sunzenshen Nov 7, 2026
77a408a
Preserve brush ladder ascent links on shared landings
sunzenshen Nov 7, 2026
21da285
Seed nav sampling from brush ladder ends
sunzenshen Nov 7, 2026
0bf36af
Drop narrow end-face ladders of climb brushes
sunzenshen Nov 7, 2026
d538fc5
Fix brush ladder clearance and top-exit scans
sunzenshen Nov 7, 2026
2173900
Find brush ladder top exits missed by the grid
sunzenshen Nov 7, 2026
bd898b5
Name brush ladder generation constants
sunzenshen Nov 7, 2026
cbf31c3
Guard brush ladder changes to SDK nav files
sunzenshen Nov 10, 2026
a685d2c
Drop unreachable ladder generation failure branch
sunzenshen Nov 13, 2026
fa37776
Clarify brush ladder bottom and behind area comments
sunzenshen Nov 13, 2026
52138a3
Update the nav grid when areas merge
sunzenshen Nov 13, 2026
551ab83
Close blank gaps before NEO guard ends
sunzenshen Nov 13, 2026
63d5717
Keep blank separator lines after NEO guard ends
sunzenshen Nov 13, 2026
52d52f8
Keep the SDK DrawLine macro for old call sites
sunzenshen Nov 14, 2026
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
2 changes: 1 addition & 1 deletion src/game/server/nav.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
*/

#ifdef NEO
const float GenerationStepSize = 20.0f; // NEO: some hallways/openings were missing connections with larger value
constexpr float GenerationStepSize = 20.0f; // NEO: some hallways/openings were missing connections with larger value
#else
const float GenerationStepSize = 25.0f; // (30) was 20, but bots can't fit always fit
#endif
Expand Down
8 changes: 8 additions & 0 deletions src/game/server/nav_area.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -984,6 +984,10 @@ void CNavArea::FinishMerge( CNavArea *adjArea )
{
m_invDxCorners = m_invDyCorners = 0;
}
#ifdef NEO

TheNavMesh->AddNavAreaToGrid( this );
#endif // NEO

// reassign the adjacent area's internal nodes to the final area
adjArea->AssignNodes( this );
Expand Down Expand Up @@ -1830,6 +1834,10 @@ bool CNavArea::MergeEdit( CNavArea *adj )
MergeAdjacentConnections( adj );

InheritAttributes( adj );
#ifdef NEO

TheNavMesh->AddNavAreaToGrid( this );
#endif // NEO

// remove subsumed adjacent area
TheNavAreas.FindAndRemove( adj );
Expand Down
8 changes: 8 additions & 0 deletions src/game/server/nav_edit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,11 @@ void StepAlongClimbableSurface( Vector &pos, const Vector &increment, const Vect


//--------------------------------------------------------------------------------------------------------------
#ifdef NEO
void CNavMesh::CommandNavBuildLadder( NavLadderSourceType source )
Comment thread
AdamTadeusz marked this conversation as resolved.
Resolved
#else
void CNavMesh::CommandNavBuildLadder( void )
#endif
{
if ( !IsEditMode( NORMAL ) || !m_climbableSurface )
{
Expand Down Expand Up @@ -590,7 +594,11 @@ void CNavMesh::CommandNavBuildLadder( void )
Vector bottom = top;
bottom.z = bottomEdge.z;

#ifdef NEO
CreateLadder( topEdge, bottomEdge, leftEdge.DistTo( rightEdge ), m_ladderNormal.AsVector2D(), 0.0f, source );
Comment thread
sunzenshen marked this conversation as resolved.
Resolved
#else
CreateLadder( topEdge, bottomEdge, leftEdge.DistTo( rightEdge ), m_ladderNormal.AsVector2D(), 0.0f );
#endif
}


Expand Down
Loading
Loading