This repository has been archived on 2024-06-13. You can view files and clone it, but cannot push or open issues or pull requests.
nekohook/modules/source2013/sdk/game/server/hl2/npc_attackchopper.h
2020-08-04 13:13:01 -04:00

31 lines
1.0 KiB
C

//========= 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