altEngine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Classes | Macros | Enumerations
player.h File Reference
#include "include.h"
Include dependency graph for player.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  stats_t
 
class  Player
 

Macros

#define WEAPON_NONE   0
 
#define WEAPON_GAUNTLET   1
 
#define WEAPON_MACHINEGUN   2
 
#define WEAPON_SHOTGUN   4
 
#define WEAPON_GRENADE   8
 
#define WEAPON_ROCKET   16
 
#define WEAPON_RAILGUN   32
 
#define WEAPON_LIGHTNING   64
 
#define WEAPON_PLASMA   128
 

Enumerations

enum  weapon_t {
  wp_none = WEAPON_NONE, wp_gauntlet = WEAPON_GAUNTLET, wp_machinegun = WEAPON_MACHINEGUN, wp_shotgun = WEAPON_SHOTGUN,
  wp_grenade = WEAPON_GRENADE, wp_rocket = WEAPON_ROCKET, wp_railgun = WEAPON_RAILGUN, wp_lightning = WEAPON_LIGHTNING,
  wp_plasma = WEAPON_PLASMA
}
 
enum  bot_state_t {
  BOT_IDLE, BOT_ALERT, BOT_ATTACK, BOT_GET_ITEM,
  BOT_EXPLORE, BOT_DEAD
}
 
enum  player_state_t {
  PLAYER_IDLE, PLAYER_MOVED, PLAYER_JUMPED, PLAYER_DUCKED,
  PLAYER_ATTACK, PLAYER_DEAD
}
 
enum  playertype_t {
  UNKNOWN, PLAYER, BOT, CLIENT,
  SERVER, SPECTATOR
}
 

Macro Definition Documentation

#define WEAPON_GAUNTLET   1
#define WEAPON_GRENADE   8
#define WEAPON_LIGHTNING   64
#define WEAPON_MACHINEGUN   2
#define WEAPON_NONE   0
#define WEAPON_PLASMA   128
#define WEAPON_RAILGUN   32
#define WEAPON_ROCKET   16
#define WEAPON_SHOTGUN   4

Enumeration Type Documentation

Enumerator:
BOT_IDLE 
BOT_ALERT 
BOT_ATTACK 
BOT_GET_ITEM 
BOT_EXPLORE 
BOT_DEAD 
Enumerator:
PLAYER_IDLE 
PLAYER_MOVED 
PLAYER_JUMPED 
PLAYER_DUCKED 
PLAYER_ATTACK 
PLAYER_DEAD 
Enumerator:
UNKNOWN 
PLAYER 
BOT 
CLIENT 
SERVER 
SPECTATOR 
enum weapon_t
Enumerator:
wp_none 
wp_gauntlet 
wp_machinegun 
wp_shotgun 
wp_grenade 
wp_rocket 
wp_railgun 
wp_lightning 
wp_plasma