mirror of
https://github.com/shawns-valve/halflife.git
synced 2024-11-22 20:41:42 +00:00
33 lines
688 B
C++
33 lines
688 B
C++
#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
|