/*
 *              Startrek     external global variables
 */

       /*----- external global variables -----*/

extern int
skill,                      /* players skill level  1-10  */
sp[2],                      /* Enterprise coordinates   */
capt,                       /* # of captured klingon vessels */
tow,                        /* # of vessels in tow by Enterprise */
hurt,                       /* Boolean, indicates if E. damaged in last attack */
hits,                       /* Enterprise was hit if > 0 */
q,                          /* # of quarks available  */
sd,                         /* # of stardates left  */
wc,                         /* status of warp drive  0 => O.K.  */
sc,                         /* scanner condition  */
df,                         /* deflector condition  */
dfl,                        /* deflector power  */
bc,                         /* battle computer condition  */
t,                          /* # of photon torpedoes  */
tu,                         /* total photon torpedoes used */
tc,                         /* condition of torpedo room */
pc,                         /* phaser bank condition */
nm,                         /* # of nova-max missiles */
nmu,                        /* # of nova-max missiles used */
dk,                         /* docking Boolean  */
sdlast,                     /* date of last docking  */
ppw,                        /* phaser power  */
bholes,                     /* number of black holes */
kdfl[GSIZE][GSIZE],         /* Klingon deflector power  */
kleft,                      /* # of Klingons  */
rleft,                      /* # of romulan ships */
cmax,cmin;                  /* limits to enemy chase distances */

extern float kqu;            /* total quarks used */

extern
int  gal[3],                   /* Galileo info    0,1 = coordinates        */
     pro[3];                   /* Procyon info     2 = status  {   0 = not actvated
								 < 0 = activated
								   1 = destroyed
								   2 = used succesfully }  */



extern char kvastring[45];     /* string for battle computer output */
extern char prostring[45];     /* string for Procyon message */
extern char galstring[45];     /* string for Galileo message */

extern int newscan;            /* boolean to indicate new scan needed */

extern char mp[GSIZE][GSIZE];   /* galaxy map  -----------------------

				   lower case => invisible

			'.' = empty space       ' ' = time warp
			'*' = star              'h' = black hole
			'E' = the Enterprise    'w' = space warp
			'B' = starbase          'M' = meteor shower
			'K' = Klingon ship      'P' = Procyon system
			'R' = Romulan ship      'G' = the Galileo scoutship
			'?' = unknown (in hyperscan display)
									    */
extern int randseed;    /* stating value for random number generator */

extern int rubbed;              /* boolean to indicate that getval has
				   encountered a DEL character */

extern int debug;        /* debug boolean */

