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.

20 lines
780 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Helper functions for the striderbuster weapon.
  4. //
  5. //=============================================================================
  6. #ifndef WEAPON_STRIDERBUSTER_H
  7. #define WEAPON_STRIDERBUSTER_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. bool StriderBuster_IsAttachedStriderBuster( CBaseEntity *pEntity, CBaseEntity *pAttachedTo = NULL );
  12. void StriderBuster_OnAddToCargoHold( CBaseEntity *pEntity );
  13. bool StriderBuster_OnFlechetteAttach( CBaseEntity *pEntity, Vector &vecForceDir );
  14. int StriderBuster_NumFlechettesAttached( CBaseEntity *pEntity );
  15. float StriderBuster_GetPickupTime( CBaseEntity *pEntity );
  16. bool StriderBuster_WasKnockedOffStrider( CBaseEntity *pEntity );
  17. #endif // WEAPON_STRIDERBUSTER_H