KAClientWeapon Class Reference

Inheritance diagram for KAClientWeapon:
[legend]
Collaboration diagram for KAClientWeapon:
[legend]
List of all members.

Public Member Functions

 KAClientWeapon (KWorld *pWorld)
virtual ~KAClientWeapon ()
virtual bool Init (KRender *pRender)
u32 GetCurrentAmmo ()
u32 GetRange ()
float GetPercentReloadTime ()
float GetTimeRestBeforeShoot ()
bool CanShoot (void)
void Zoom (bool bZoomed)
bool IsZoomed ()
void Shoot (KAClientCharacter *pCharacter, KVector &vOrigin, KVector &vDirection, bool bFirstPerson)
bool SetWeaponType (KAGAMEWEAPONTYPE gunType)
KAGAMEWEAPONTYPE GetWeaponType ()
void ActiveWeapon (bool bActive)
virtual void Display (KRender *pRender)
void Display2D (KRender *pRender)
void DisplaySpark (KRender *pRender, KMatrix &Mat)
virtual void operator<< (KNetMsg &Msg)

Protected Member Functions

void RifleShoot (KAClientCharacter *pCharacter, KVector &vOrigin, KVector &vDestination)
void ShotgunShoot (KAClientCharacter *pCharacter, KVector &vOrigin, KVector &vDestination)
void SniperShoot (KAClientCharacter *pCharacter, KVector &vOrigin, KVector &vDestination)
void DisplayRifleCrosshair (KRender *pRender)
void DisplayShotgunCrosshair (KRender *pRender)
void DisplaySniperCrosshair (KRender *pRender)
void DisplayRocketLauncherCrosshair (KRender *pRender)

Protected Attributes

KRenderm_pRender
KMODEL m_hModel
KModelDrawm_pModel
KAGAMEWEAPONTYPE m_WeaponType
bool m_bActive
u32 m_uReloadTime
u32 m_uRetreat
u32 m_uRhythm
u32 m_uRange
u32 m_uAmmunition
u32 m_uCurrentAmmunition
float m_ScatteringAngle
bool m_bZoomed
KTIME m_LastShootTime
KSHADER m_hSpark
KSHADER m_hRifleCrosshair
KSHADER m_hShotgunCrosshair
KSHADER m_hSniperCrosshair
KSHADER m_hRocketLauncherCrosshair
KTIME m_SparkTime
KTRACK m_Sound
KTRACK m_Sound3D
float m_SparkRotY

Detailed Description

Definition at line 22 of file A_ClientWeapon.h.


The documentation for this class was generated from the following files:
Generated on Sun Mar 25 20:02:22 2007 for Zythum Project by  doxygen 1.5.1-p1