Rise
The Vieneo Province
Loading...
Searching...
No Matches
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 (Rendering::RenderDevice *pd3dDevice, RiseMath::Matrix *matrixLookAtLocal)
void ProcessPacket (SWeaponPacket datapacket)

Private Attributes

Viewscreen * viewscreen
Logger * logger
short t
short s
short r
int closest
SWeaponData weaponarray [MAX_WEAPONS]
unsigned char weaponsequence [MAX_WEAPONS]
bool weaponSpawnSeen [MAX_WEAPONS]

Detailed Description

Definition at line 11 of file weapon.h.

Constructor & Destructor Documentation

◆ weapon()

weapon::weapon ( Viewscreen * prtGame)

Definition at line 8 of file weapon.cpp.

Member Function Documentation

◆ EnergyWeaponImpact()

void weapon::EnergyWeaponImpact ( )

Definition at line 26 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 645 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 598 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 1046 of file weapon.cpp.

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

◆ Render()

void weapon::Render ( Rendering::RenderDevice * pd3dDevice,
RiseMath::Matrix * matrixLookAtLocal )

Definition at line 860 of file weapon.cpp.

Here is the caller graph for this function:

◆ Update()

void weapon::Update ( float fElapsedTime)

Definition at line 82 of file weapon.cpp.

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.

◆ weaponsequence

unsigned char weapon::weaponsequence[MAX_WEAPONS]
private

Definition at line 31 of file weapon.h.

◆ weaponSpawnSeen

bool weapon::weaponSpawnSeen[MAX_WEAPONS]
private

Definition at line 32 of file weapon.h.


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