/* player.h
 *
 * Represents a player.
 *
 * (c) 2006, Joseph Curtis
 */

#define PLAYER_MAX_NAME 20

/* Teams */
#define SIRIANS 0 //0xfff0f0f0
#define STORM_GIANTS 1 //0xffc0c000
#define GREY_DWARVES 2 //0xffc08000
#define ORCS_OF_KOR 3 //0xffc00000
#define ELVALLIE 4 //0xff509050
#define SELENTINES 5 //0xff0050c0
#define HORSE_LORDS 6 //0xff0080c0
#define LORD_BANE 7 //0xff707070

/* Player types */
#define HUMAN 0
#define KNIGHT 1
#define BARON 2
#define LORD 3
#define WARLORD 4

#define NUM_TYPES 5

/* maybe num_armies? */
struct player {
  char name[PLAYER_MAX_NAME];
  char team;
  short int num_cities;
  short int income;
  short int upkeep;
  int gold;
  char type;
  short int capital;   /* index of this player's capital city. */
};

