Rise
The Vieneo Province
Loading...
Searching...
No Matches
weapon.h
Go to the documentation of this file.
1#pragma once
2
3#include "../Logger.h"
5#include "globals.h"
6
9class Viewscreen;
10
11class weapon
12{
13public:
14 weapon(Viewscreen* prtGame);
15 void EnergyWeaponImpact();
16
17 void Update(float fElapsedTime);
18 void FireWeapon(unsigned char bay) const;
19 void ExplodeWeapon(short t, bool wasus, std::string reason);
20 void Render(Rendering::RenderDevice* pd3dDevice, RiseMath::Matrix* matrixLookAtLocal);
21 void ProcessPacket(SWeaponPacket datapacket);
22
23private:
26
27 short t, s, r;
29
33};
#define MAX_WEAPONS
void Update(float fElapsedTime)
Definition weapon.cpp:82
void EnergyWeaponImpact()
Definition weapon.cpp:26
void FireWeapon(unsigned char bay) const
Definition weapon.cpp:598
Logger * logger
Definition weapon.h:25
weapon(Viewscreen *prtGame)
Definition weapon.cpp:8
short s
Definition weapon.h:27
short r
Definition weapon.h:27
int closest
Definition weapon.h:28
unsigned char weaponsequence[MAX_WEAPONS]
Definition weapon.h:31
bool weaponSpawnSeen[MAX_WEAPONS]
Definition weapon.h:32
short t
Definition weapon.h:27
void ExplodeWeapon(short t, bool wasus, std::string reason)
Definition weapon.cpp:645
void ProcessPacket(SWeaponPacket datapacket)
Definition weapon.cpp:1046
void Render(Rendering::RenderDevice *pd3dDevice, RiseMath::Matrix *matrixLookAtLocal)
Definition weapon.cpp:860
Viewscreen * viewscreen
Definition weapon.h:24
SWeaponData weaponarray[MAX_WEAPONS]
Definition weapon.h:30