home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 7 Games
/
07-Games.zip
/
MVTREK.ZIP
/
VTGLOB.C
< prev
next >
Wrap
Text File
|
1989-12-26
|
1KB
|
26 lines
#include "vtrek.h"
KLINGINFO klingon[3];
QUADINFO galaxy[8][8]; /* galaxy */
int numbases; /* number of bases in galaxy */
int numkling; /* number of klingons in galaxy */
int begkling; /* beginning number of klingons */
int condition; /* current condition (GREEN,YELLOW,RED,DOCKED) */
int xquad, yquad; /* current quadrant */
int xsect, ysect; /* current sector */
int old_xquad, old_yquad; /* quadrant before last movement */
int old_xsect, old_ysect; /* sector before last movement */
int energy; /* energy level */
int shields; /* shield level */
int torps; /* number of torps left */
int quadrant[8][8]; /* current quadrant picture (EMPTY,KLINGON,STARBASE,STAR,PLAYER) */
int damage[8]; /* % effectiveness of devices, normal range is 0-100 */
/* if < 0 then device is damaged beyond use */
char captain[11]; /* captain's name */
char shipname[11]; /* ship's name */
float stardate; /* current star date */
float lastdate; /* last star date before federation is conquered */
float begdate; /* beginning star date */
int base_xsect, base_ysect; /* starbase sector, if one is present */
int numkmove; /* number of klingon moves allowed */
int skill; /* skill level */