static int rows, linecount; /* for paging */
WINDOW *curwnd;
+WINDOW *fullscreen_window;
+WINDOW *srscan_window;
+WINDOW *report_window;
+WINDOW *lrscan_window;
+WINDOW *message_window;
+WINDOW *prompt_window;
static void outro(void)
/* wrap up, either normally or due to signal */
#define FDSPROB 8 // Move deep space probe
#define NEVENTS (9)
-// Scalar variables that are needed for freezing the game
-// are placed in a structure. #defines are used to access by their
-// original names. Gee, I could have done this with the d structure,
-// but I just didn't think of it back when I started.
-
#define SSTMAGIC "SST2.0\n"
-extern WINDOW *curwnd;
-
struct game {
char magic[sizeof(SSTMAGIC)];
unsigned long options;
#define SCAN_STATUS 3
#define SCAN_NO_LEFTSIDE 4
-WINDOW *fullscreen_window;
-WINDOW *srscan_window;
-WINDOW *report_window;
-WINDOW *lrscan_window;
-WINDOW *message_window;
-WINDOW *prompt_window;
+extern WINDOW *curwnd;
+extern WINDOW *fullscreen_window;
+extern WINDOW *srscan_window;
+extern WINDOW *report_window;
+extern WINDOW *lrscan_window;
+extern WINDOW *message_window;
+extern WINDOW *prompt_window;
extern void clreol(void);
extern void clrscr(void);
DARKGRAY, LIGHTBLUE, LIGHTGREEN, LIGHTCYAN, LIGHTRED, LIGHTMAGENTA, YELLOW, WHITE
};
-#define DAMAGED 128 /* marker for damaged ship in starmap */
-
#endif