Generated from /home/galaxyng/NG/Source/battle.h with ROBODoc v4.0.18 on Mon Jan 05 22:26:09 2004

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;