mirror of
https://github.com/celisej567/source-engine.git
synced 2026-01-04 18:09:53 +03:00
add source-sdk-2013
This commit is contained in:
@@ -49,9 +49,7 @@ ConVar nav_max_vis_delta_list_length( "nav_max_vis_delta_list_length", "64", FCV
|
||||
|
||||
extern ConVar nav_show_potentially_visible;
|
||||
|
||||
#ifdef STAGING_ONLY
|
||||
int g_DebugPathfindCounter = 0;
|
||||
#endif
|
||||
|
||||
|
||||
bool FindGroundForNode( Vector *pos, Vector *normal );
|
||||
@@ -1700,9 +1698,6 @@ static ConCommand nav_clear_selected_set( "nav_clear_selected_set", CommandNavCl
|
||||
//----------------------------------------------------------------------------------
|
||||
CON_COMMAND_F( nav_dump_selected_set_positions, "Write the (x,y,z) coordinates of the centers of all selected nav areas to a file.", FCVAR_GAMEDLL | FCVAR_CHEAT )
|
||||
{
|
||||
if ( !UTIL_IsCommandIssuedByServerAdmin() )
|
||||
return;
|
||||
|
||||
const NavAreaVector &selectedSet = TheNavMesh->GetSelectedSet();
|
||||
|
||||
CUtlBuffer fileBuffer( 4096, 1024*1024, CUtlBuffer::TEXT_BUFFER );
|
||||
@@ -1735,9 +1730,6 @@ CON_COMMAND_F( nav_dump_selected_set_positions, "Write the (x,y,z) coordinates o
|
||||
//----------------------------------------------------------------------------------
|
||||
CON_COMMAND_F( nav_show_dumped_positions, "Show the (x,y,z) coordinate positions of the given dump file.", FCVAR_GAMEDLL | FCVAR_CHEAT )
|
||||
{
|
||||
if ( !UTIL_IsCommandIssuedByServerAdmin() )
|
||||
return;
|
||||
|
||||
CUtlBuffer fileBuffer( 4096, 1024*1024, CUtlBuffer::TEXT_BUFFER );
|
||||
|
||||
// filename is local to game dir for Steam, so we need to prepend game dir for regular file save
|
||||
@@ -1770,9 +1762,6 @@ CON_COMMAND_F( nav_show_dumped_positions, "Show the (x,y,z) coordinate positions
|
||||
//----------------------------------------------------------------------------------
|
||||
CON_COMMAND_F( nav_select_larger_than, "Select nav areas where both dimensions are larger than the given size.", FCVAR_GAMEDLL | FCVAR_CHEAT )
|
||||
{
|
||||
if ( !UTIL_IsCommandIssuedByServerAdmin() )
|
||||
return;
|
||||
|
||||
if ( args.ArgC() > 1 )
|
||||
{
|
||||
float minSize = atof( args[1] );
|
||||
@@ -2674,9 +2663,6 @@ void CNavMesh::CommandNavMarkWalkable( void )
|
||||
{
|
||||
Vector pos;
|
||||
|
||||
if ( !UTIL_IsCommandIssuedByServerAdmin() )
|
||||
return;
|
||||
|
||||
if (nav_edit.GetBool())
|
||||
{
|
||||
// we are in edit mode, use the edit cursor's location
|
||||
|
||||
Reference in New Issue
Block a user