diff options
Diffstat (limited to 'game/server/hl2/npc_attackchopper.h')
| -rw-r--r-- | game/server/hl2/npc_attackchopper.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/game/server/hl2/npc_attackchopper.h b/game/server/hl2/npc_attackchopper.h new file mode 100644 index 0000000..9295bed --- /dev/null +++ b/game/server/hl2/npc_attackchopper.h @@ -0,0 +1,30 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +// $NoKeywords: $ +// +//=============================================================================// + + +#ifndef NPC_ATTACKCHOPPER_H +#define NPC_ATTACKCHOPPER_H + +#ifdef _WIN32 +#pragma once +#endif + + +//----------------------------------------------------------------------------- +// Creates an avoidance sphere +//----------------------------------------------------------------------------- +CBaseEntity *CreateHelicopterAvoidanceSphere( CBaseEntity *pParent, int nAttachment, float flRadius, bool bAvoidBelow = false ); + +// Chopper gibbage +void Chopper_BecomeChunks( CBaseEntity *pChopper ); +void Chopper_CreateChunk( CBaseEntity *pChopper, const Vector &vecChunkPos, const QAngle &vecChunkAngles, const char *pszChunkName, bool bSmall ); +void Chopper_PrecacheChunks( CBaseEntity *pChopper ); + +#endif // NPC_ATTACKCHOPPER_H + + |