halflife25-sdk/ricochet/dlls/disc_weapon.h

34 lines
688 B
C
Raw Permalink Normal View History

2013-08-30 20:34:05 +00:00
#if !defined( DISC_WEAPON_H )
#define DISC_WEAPON_H
#ifdef _WIN32
#pragma once
#endif
class CDisc;
class CDiscWeapon : public CBasePlayerWeapon
{
public:
void Spawn( void );
void Precache( void );
int iItemSlot( void ) { return 5; }
int GetItemInfo(ItemInfo *p);
int AddDuplicate( CBasePlayerItem *pOriginal );
CDisc *FireDisc( bool bDecapitator );
void PrimaryAttack( void );
void SecondaryAttack( void );
BOOL Deploy( void );
BOOL CanHolster( void );
void Holster( int skiplocal = 0 );
void WeaponIdle( void );
BOOL UseDecrement( void ) { return TRUE; };
int m_iSpriteTexture;
int m_iFastShotDiscs;
private:
unsigned short m_usFireDisc;
};
#endif // DISC_WEAPON_H