Team Fortress 2 Source Code as on 22/4/2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
920 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //
  7. //=============================================================================//
  8. #ifndef NPC_ATTACKCHOPPER_H
  9. #define NPC_ATTACKCHOPPER_H
  10. #ifdef _WIN32
  11. #pragma once
  12. #endif
  13. //-----------------------------------------------------------------------------
  14. // Creates an avoidance sphere
  15. //-----------------------------------------------------------------------------
  16. CBaseEntity *CreateHelicopterAvoidanceSphere( CBaseEntity *pParent, int nAttachment, float flRadius, bool bAvoidBelow = false );
  17. // Chopper gibbage
  18. void Chopper_BecomeChunks( CBaseEntity *pChopper );
  19. void Chopper_CreateChunk( CBaseEntity *pChopper, const Vector &vecChunkPos, const QAngle &vecChunkAngles, const char *pszChunkName, bool bSmall );
  20. void Chopper_PrecacheChunks( CBaseEntity *pChopper );
  21. #endif // NPC_ATTACKCHOPPER_H