upload "kind" alien swarm

This commit is contained in:
nillerusr
2023-10-03 17:23:56 +03:00
parent b7bd94c52e
commit 7d3c0d8b5a
4229 changed files with 462900 additions and 495155 deletions
+4 -5
View File
@@ -1,4 +1,4 @@
//========= Copyright Valve Corporation, All rights reserved. ============//
//========= Copyright 1996-2005, Valve Corporation, All rights reserved. ============//
//
// Purpose: Namespace for functions dealing with Debug Overlays
//
@@ -13,7 +13,7 @@
#include "ndebugoverlay.h"
#include "wcedit.h"
#ifdef POSIX
#ifdef DEDICATED
#include "ai_basenpc.h"
#include "ai_network.h"
#include "ai_networkmanager.h"
@@ -143,6 +143,7 @@ float GetLongFloorZ(const Vector &origin)
//------------------------------------------------------------------------------
void UTIL_DrawPositioningOverlay( float flCrossDistance )
{
#ifndef SWDS
CBasePlayer* pPlayer = UTIL_PlayerByIndex(CBaseEntity::m_nDebugPlayer);
if (!pPlayer)
@@ -211,6 +212,7 @@ void UTIL_DrawPositioningOverlay( float flCrossDistance )
Vector textPos = topPos - pRight*16 + Vector(0,0,10);
NDebugOverlay::Text( textPos, text, true, 0 );
*/
#endif
}
//------------------------------------------------------------------------------
@@ -248,9 +250,6 @@ void DebugDrawLine( const Vector& vecAbsStart, const Vector& vecAbsEnd, int r, i
//-----------------------------------------------------------------------------
CON_COMMAND( clear_debug_overlays, "clears debug overlays" )
{
if ( !UTIL_IsCommandIssuedByServerAdmin() )
return;
CBaseEntity *pEntity = gEntList.FirstEnt();
// Clear all entities of their debug overlays