source-engine/game/server/episodic/weapon_striderbuster.h

21 lines
780 B
C
Raw Normal View History

2020-04-22 16:56:21 +00:00
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Helper functions for the striderbuster weapon.
//
//=============================================================================
#ifndef WEAPON_STRIDERBUSTER_H
#define WEAPON_STRIDERBUSTER_H
#ifdef _WIN32
#pragma once
#endif
bool StriderBuster_IsAttachedStriderBuster( CBaseEntity *pEntity, CBaseEntity *pAttachedTo = NULL );
void StriderBuster_OnAddToCargoHold( CBaseEntity *pEntity );
bool StriderBuster_OnFlechetteAttach( CBaseEntity *pEntity, Vector &vecForceDir );
int StriderBuster_NumFlechettesAttached( CBaseEntity *pEntity );
float StriderBuster_GetPickupTime( CBaseEntity *pEntity );
bool StriderBuster_WasKnockedOffStrider( CBaseEntity *pEntity );
#endif // WEAPON_STRIDERBUSTER_H