/* MISS.H - Header file for MISS.C */ /* 'Crosshair' variables/typedefs */ typedef struct c_h_rec { int x, y; }; /* 'City' variables/typedefs */ #define CITYSAFE 1 #define CITYDEAD -1 /* Position and status of the cities in the game */ typedef struct cityrec { int x, y; int status; }; /* 'Incoming missile' variables/typedefs */ /* missile statuses */ #define MISLSAFE 1 #define MISLDEAD -1 /* missile speeds */ #define FAST 3 #define MEDIUM 2 #define SLOW 1 #define RIGHT 1 #define LEFT -1 #define STRAIGHT 0 typedef struct mislrec { int x, y; int status; int speed; int dir; }; /* Landscape variables/typedefs */ typedef struct l_s_point { int x, y; };