Rise
The Vieneo Province
weapon Class Reference

#include <weapon.h>

Collaboration diagram for weapon:
[legend]

Public Member Functions

 weapon (Viewscreen *prtGame)
 
void EnergyWeaponImpact ()
 
void Update (float fElapsedTime)
 
void FireWeapon (unsigned char bay) const
 
void ExplodeWeapon (short t, bool wasus, std::string reason)
 
void Render (IDirect3DDevice9 *pd3dDevice, D3DXMATRIX *matrixLookAtLocal)
 
void ProcessPacket (SWeaponPacket datapacket)
 

Private Attributes

Viewscreenviewscreen
 
Loggerlogger
 
short t
 
short s
 
short r
 
int closest
 
SWeaponData weaponarray [MAX_WEAPONS]
 

Detailed Description

Definition at line 11 of file weapon.h.

Constructor & Destructor Documentation

◆ weapon()

weapon::weapon ( Viewscreen prtGame)

Definition at line 5 of file weapon.cpp.

Member Function Documentation

◆ EnergyWeaponImpact()

void weapon::EnergyWeaponImpact ( )

Definition at line 21 of file weapon.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ExplodeWeapon()

void weapon::ExplodeWeapon ( short  t,
bool  wasus,
std::string  reason 
)

Definition at line 646 of file weapon.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FireWeapon()

void weapon::FireWeapon ( unsigned char  bay) const

Definition at line 599 of file weapon.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ProcessPacket()

void weapon::ProcessPacket ( SWeaponPacket  datapacket)

Definition at line 984 of file weapon.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Render()

void weapon::Render ( IDirect3DDevice9 *  pd3dDevice,
D3DXMATRIX *  matrixLookAtLocal 
)

Definition at line 799 of file weapon.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Update()

void weapon::Update ( float  fElapsedTime)

Definition at line 80 of file weapon.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ closest

int weapon::closest
private

Definition at line 28 of file weapon.h.

◆ logger

Logger* weapon::logger
private

Definition at line 25 of file weapon.h.

◆ r

short weapon::r
private

Definition at line 27 of file weapon.h.

◆ s

short weapon::s
private

Definition at line 27 of file weapon.h.

◆ t

short weapon::t
private

Definition at line 27 of file weapon.h.

◆ viewscreen

Viewscreen* weapon::viewscreen
private

Definition at line 24 of file weapon.h.

◆ weaponarray

SWeaponData weapon::weaponarray[MAX_WEAPONS]
private

Definition at line 30 of file weapon.h.


The documentation for this class was generated from the following files: