X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=sst.h;h=f6c0960df0bb9b366814a3cb58fed6081d3190a7;hb=a6127a240c143e22ec9acca5bf1dd61b66fa9638;hp=db10aab53e2444c9cf0010b02cfad2bded70844f;hpb=2386f7a30ea2471e4387ba9c0d3cce5c9f8c5b38;p=super-star-trek.git diff --git a/sst.h b/sst.h index db10aab..f6c0960 100644 --- a/sst.h +++ b/sst.h @@ -61,6 +61,8 @@ typedef struct { #define SSTMAGIC "SST2.0\n" +EXTERN short curwnd; + EXTERN struct { char magic[sizeof(SSTMAGIC)]; snapshot state; @@ -356,7 +358,7 @@ int choose(int); void setup(int); void score(void); void atover(int); -void srscan(int); +int srscan(int); void lrscan(void); void phasers(void); void photon(void); @@ -369,7 +371,7 @@ void impuls(void); void wait(void); void setwrp(void); void events(void); -void report(int); +void report(void); void eta(void); void help(void); void abandn(void); @@ -421,9 +423,7 @@ int isit(char *); void preport(void); void orbit(void); void sensor(void); -#ifdef SERGEEV void drawmaps(short); -#endif /* SERGEEV */ void beam(void); void mine(void); void usecrystals(void); @@ -433,19 +433,24 @@ void debugme(void); void attakreport(int); void movetho(void); void probe(void); -void clearscreen(void); void iostart(int); void ioend(void); -#ifdef SERGEEV -#define getline cgetline void setwnd(short); -#endif /* SERGEEV */ -void getline(char *, int); +void warble(void); +void cgetline(char *, int); +void waitfor(void); +void setpassword(void); void commandhook(char *, int); +void c_printf (char *format, ... ); -#ifdef SERGEEV typedef struct { int wndleft,wndtop,wndright,wndbottom; } wnd; extern wnd wnds[6]; -#endif /* SERGEEV */ +/* these need to track io.c:wnd */ +#define FULLSCREEN_WINDOW 0 +#define LEFTUPPER_WINDOW 1 +#define SRSCAN_WINDOW 2 +#define LRSCAN_WINDOW 3 +#define LOWER_WINDOW 4 +#define BOTTOM_WINDOW 5