X-Git-Url: https://jxself.org/git/?p=super-star-trek.git;a=blobdiff_plain;f=src%2Fsst.h;h=396f6dabdf054f91f8d823bf8d8d31a7eaaf3bb0;hp=838bc8ae829f4a527aa25f4f983ce23318b38b4d;hb=ebc4fdc3802c47c9fe7ec31b4cde062faff366fc;hpb=e3730bb826efe601fe51626aab064d395733d4c3 diff --git a/src/sst.h b/src/sst.h index 838bc8a..396f6da 100644 --- a/src/sst.h +++ b/src/sst.h @@ -144,15 +144,8 @@ typedef struct { #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; @@ -403,12 +396,13 @@ void enqueue(char *); #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); @@ -421,6 +415,4 @@ enum COLORS { DARKGRAY, LIGHTBLUE, LIGHTGREEN, LIGHTCYAN, LIGHTRED, LIGHTMAGENTA, YELLOW, WHITE }; -#define DAMAGED 128 /* marker for damaged ship in starmap */ - #endif