Generated from battle.h with ROBODoc v3.2.2 on Sun Aug 27 19:47:33 2000
TABLE OF CONTENTS
- Battle/batstat
NAME
batstat
PURPOSE
Structure to track all groups of one player involved in a battle.
ATTRIBUTES
targetArray -- An array with pointers to all groups.
First all armed groups, then all unarmed groups
canshoot -- array with one element per ship that indicates
if the ship can fire and has fired.
noEnemies -- number of enemies.
enemies --
SOURCE
typedef struct batstat {
struct batstat *next;
long cookie;
char *name;
player *who;
group *groups;
double maxAttack;
double minDefense;
int numberOfTargets;
int numberOfAttackers;
int numberOfAttackersLeft;
int noEnemies;
struct batstat **enemies;
} batstat;