Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

SPlayer Struct Reference

#include <Player.h>

List of all members.

Public Attributes

char name [16]
int avatar
int model
char skin [32]
TextureID textureID
Vec4 chatClr
float life
int ammo
int frags
int kills
int deaths
SWeapon weapon
int state
int extras [PLAYER_EXTRAS]
float timeExtras [PLAYER_EXTRAS]
float speed
Vec3 pos
Vec3 dir
float angle
int moving
int moveVal
int rotation
float lastPos
int ownsParticleSystem
float spawnTime


Detailed Description

Definition at line 35 of file Game/Player.h.


Member Data Documentation

int SPlayer::ammo
 

Definition at line 47 of file Game/Player.h.

Referenced by Play::applyExtras().

float SPlayer::angle
 

Definition at line 60 of file Game/Player.h.

Referenced by Play::bot(), Play::drawPlayer(), Play::handleKeys(), Play::networkLoop(), Play::serverLoop(), and Play::update().

int SPlayer::avatar
 

Definition at line 37 of file Game/Player.h.

Vec4 SPlayer::chatClr
 

Definition at line 44 of file Game/Player.h.

Referenced by Join::load(), Join::networkLoop(), and MainApp::update().

int SPlayer::deaths
 

Definition at line 50 of file Game/Player.h.

Referenced by Scores::drawFrame(), Play::drawFrame(), Join::load(), Play::networkLoop(), and Join::networkLoop().

Vec3 SPlayer::dir
 

Definition at line 59 of file Game/Player.h.

Referenced by Play::bot(), Play::handleKeys(), Play::networkLoop(), and Play::update().

int SPlayer::extras[PLAYER_EXTRAS]
 

Definition at line 54 of file Game/Player.h.

Referenced by Play::applyExtras(), Play::drawPlayer(), and Play::update().

int SPlayer::frags
 

Definition at line 48 of file Game/Player.h.

Referenced by Scores::drawFrame(), Play::drawFrame(), Join::load(), Play::networkLoop(), and Join::networkLoop().

int SPlayer::kills
 

Definition at line 49 of file Game/Player.h.

Referenced by Scores::drawFrame(), Play::drawFrame(), Join::load(), Play::networkLoop(), and Join::networkLoop().

float SPlayer::lastPos
 

Definition at line 64 of file Game/Player.h.

float SPlayer::life
 

Definition at line 46 of file Game/Player.h.

Referenced by Play::applyExtras(), Play::dealDamage(), Play::drawLifebar(), Join::load(), Play::networkLoop(), and Join::networkLoop().

int SPlayer::model
 

Definition at line 41 of file Game/Player.h.

Referenced by Menu::handleChar(), Join::load(), Play::loadTextures(), and Join::networkLoop().

int SPlayer::moveVal
 

Definition at line 62 of file Game/Player.h.

Referenced by Play::handleKeys(), and Play::update().

int SPlayer::moving
 

Definition at line 61 of file Game/Player.h.

Referenced by Play::bot(), Play::handleKeys(), Play::networkLoop(), Play::serverLoop(), and Play::update().

char SPlayer::name[16]
 

Definition at line 36 of file Game/Player.h.

Referenced by Scores::drawFrame(), and Play::drawFrame().

int SPlayer::ownsParticleSystem
 

Definition at line 66 of file Game/Player.h.

Referenced by Join::load(), Play::networkLoop(), and Join::networkLoop().

Vec3 SPlayer::pos
 

Definition at line 58 of file Game/Player.h.

Referenced by Play::bot(), Play::drawPlayer(), Play::drawProjectiles(), Play::grenadeExplode(), Play::handleKeys(), Play::networkLoop(), Play::playerCollission(), Play::serverLoop(), Play::setPlayerCam(), and Play::update().

int SPlayer::rotation
 

Definition at line 63 of file Game/Player.h.

Referenced by Play::handleKeys(), Play::networkLoop(), Play::serverLoop(), and Play::update().

char SPlayer::skin[32]
 

Definition at line 42 of file Game/Player.h.

float SPlayer::spawnTime
 

Definition at line 67 of file Game/Player.h.

Referenced by Play::networkLoop(), Play::serverLoop(), and Play::setSpawnPlayer().

float SPlayer::speed
 

Definition at line 57 of file Game/Player.h.

Referenced by Play::handleKeys(), and Play::update().

int SPlayer::state
 

Definition at line 52 of file Game/Player.h.

Referenced by Play::bot(), Play::drawPlayer(), Play::handleKeys(), Scores::load(), Play::load(), Join::load(), Play::networkLoop(), Join::networkLoop(), Play::serverLoop(), Play::setSpawnPlayer(), Scores::update(), and Play::update().

TextureID SPlayer::textureID
 

Definition at line 43 of file Game/Player.h.

Referenced by Play::drawPlayer().

float SPlayer::timeExtras[PLAYER_EXTRAS]
 

Definition at line 55 of file Game/Player.h.

Referenced by Play::applyExtras(), and Play::update().

SWeapon SPlayer::weapon
 

Definition at line 51 of file Game/Player.h.

Referenced by Play::bot(), and Play::handleKeys().


Generated on Sun Jun 5 15:51:05 2005 for Defacto by  doxygen 1.4.3