main/player.h File Reference

#include "inferno.h"
#include "fix.h"
#include "vecmat.h"
#include "weapon.h"

Classes

struct  player
struct  player_ship

Defines

#define MAX_PLAYERS   8
#define MAX_MULTI_PLAYERS   MAX_PLAYERS+3
#define MAX_ENERGY   i2f(100)
#define MAX_SHIELDS   i2f(100)
#define INITIAL_LIVES   3
#define PLAYER_FLAGS_INVULNERABLE   1
#define PLAYER_FLAGS_BLUE_KEY   2
#define PLAYER_FLAGS_RED_KEY   4
#define PLAYER_FLAGS_GOLD_KEY   8
#define PLAYER_FLAGS_IMMATERIAL   16
#define PLAYER_FLAGS_MAP_ENEMIES   32
#define PLAYER_FLAGS_MAP_ALL   64
#define PLAYER_FLAGS_RADAR_ENEMIES   128
#define PLAYER_FLAGS_RADAR_POWERUPS   256
#define PLAYER_FLAGS_MAP_ALL_CHEAT   512
#define PLAYER_FLAGS_QUAD_LASERS   1024
#define PLAYER_FLAGS_CLOAKED   2048
#define PLAYER_FLAGS_AFTERBURNER   4096
#define AFTERBURNER_MAX_TIME   (F1_0*5)
#define CALLSIGN_LEN   8
#define CLOAK_TIME_MAX   (F1_0*30)
#define INVULNERABLE_TIME_MAX   (F1_0*30)
#define PLAYER_STRUCT_VERSION   16
#define N_PLAYER_GUNS   8

Variables

int N_players
int Player_num
player Players [MAX_PLAYERS]
player_shipPlayer_ship

Define Documentation

#define AFTERBURNER_MAX_TIME   (F1_0*5)
 

#define CALLSIGN_LEN   8
 

#define CLOAK_TIME_MAX   (F1_0*30)
 

#define INITIAL_LIVES   3
 

#define INVULNERABLE_TIME_MAX   (F1_0*30)
 

#define MAX_ENERGY   i2f(100)
 

#define MAX_MULTI_PLAYERS   MAX_PLAYERS+3
 

#define MAX_PLAYERS   8
 

#define MAX_SHIELDS   i2f(100)
 

#define N_PLAYER_GUNS   8
 

#define PLAYER_FLAGS_AFTERBURNER   4096
 

#define PLAYER_FLAGS_BLUE_KEY   2
 

#define PLAYER_FLAGS_CLOAKED   2048
 

#define PLAYER_FLAGS_GOLD_KEY   8
 

#define PLAYER_FLAGS_IMMATERIAL   16
 

#define PLAYER_FLAGS_INVULNERABLE   1
 

#define PLAYER_FLAGS_MAP_ALL   64
 

#define PLAYER_FLAGS_MAP_ALL_CHEAT   512
 

#define PLAYER_FLAGS_MAP_ENEMIES   32
 

#define PLAYER_FLAGS_QUAD_LASERS   1024
 

#define PLAYER_FLAGS_RADAR_ENEMIES   128
 

#define PLAYER_FLAGS_RADAR_POWERUPS   256
 

#define PLAYER_FLAGS_RED_KEY   4
 

#define PLAYER_STRUCT_VERSION   16
 


Variable Documentation

int N_players
 

int Player_num
 

player_ship* Player_ship
 

player Players[MAX_PLAYERS]
 


Generated on Mon Aug 28 20:55:33 2006 for D1X-Rebirth by  doxygen 1.4.6