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

Player.h File Reference

#include "../Math/Vector.h"
#include "Weapon.h"
#include "../Graphics/Renderer.h"

Include dependency graph for Game/Player.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  SPlayer

Defines

#define SPLAYER_MAX_PLAYERS   16
#define PLAYER_STATE_OFFLINE   0
#define PLAYER_STATE_INVISIBLE   1
#define PLAYER_STATE_SPAWNING   2
#define PLAYER_STATE_USER   3
#define PLAYER_STATE_LOADING   4
#define PLAYER_STATE_READY   5
#define PLAYER_STATE_MENU   6
#define PLAYER_STATE_WAITING   7
#define PLAYER_ROTATION_NONE   0
#define PLAYER_ROTATION_LEFT   1
#define PLAYER_ROTATION_RIGHT   2
#define PLAYER_MOVING_NONE   0
#define PLAYER_MOVING_FORWARD   1
#define PLAYER_MOVING_BACKWARD   2
#define PLAYER_EXTRAS   8


Define Documentation

#define PLAYER_EXTRAS   8
 

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

#define PLAYER_MOVING_BACKWARD   2
 

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

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

#define PLAYER_MOVING_FORWARD   1
 

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

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

#define PLAYER_MOVING_NONE   0
 

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

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

#define PLAYER_ROTATION_LEFT   1
 

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

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

#define PLAYER_ROTATION_NONE   0
 

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

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

#define PLAYER_ROTATION_RIGHT   2
 

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

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

#define PLAYER_STATE_INVISIBLE   1
 

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

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

#define PLAYER_STATE_LOADING   4
 

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

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

#define PLAYER_STATE_MENU   6
 

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

#define PLAYER_STATE_OFFLINE   0
 

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

Referenced by Scores::drawFrame(), Play::drawFrame(), Play::drawPlayer(), Play::drawPlayers(), Play::grenadeExplode(), Join::load(), Play::networkLoop(), Join::networkLoop(), Play::playerCollission(), Play::serverLoop(), and Scores::update().

#define PLAYER_STATE_READY   5
 

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

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

#define PLAYER_STATE_SPAWNING   2
 

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

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

#define PLAYER_STATE_USER   3
 

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

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

#define PLAYER_STATE_WAITING   7
 

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

Referenced by Scores::drawFrame(), Scores::load(), and Scores::update().

#define SPLAYER_MAX_PLAYERS   16
 

Player.h

Author: Petter Alstermark, petter@alstermark.com

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

Referenced by Play::bot(), Scores::drawFrame(), Play::drawFrame(), Join::drawFrame(), Play::drawPlayers(), Play::grenadeExplode(), Join::load(), Play::loadObjects(), Play::loadTextures(), Play::networkLoop(), Join::networkLoop(), Play::playerCollission(), Play::serverLoop(), Play::unload(), Scores::update(), and Play::update().


Generated on Sun Jun 5 15:48:44 2005 for Defacto by  doxygen 1.4.3