msdos.h (1319B)
1 /* msdos.h - function declarations for msdos.c */ 2 3 extern char *alllevels, *allbones; 4 extern char levels[], bones[], permbones[], SAVEF[], hackdir[]; 5 extern int ramdisk, count_only, in_doagain; 6 7 #define CTRL(ch) (ch & 0x37) 8 #define ABORT CTRL('A') 9 #define COUNT 0x1 10 #define WRITE 0x2 11 #define DOAGAIN 'a' /* Used in tty.c and cmd.c */ 12 #define LARGEST_INT ((1 << 15) - 1) 13 14 #ifdef LINT_ARGS /* arg. checking enabled */ 15 16 void append_slash(char *); 17 void chdrive(char *); 18 int check_then_creat(char *, int); 19 void copybones(int); 20 int dosh(); 21 int dotogglepickup(); 22 long filesize(char *); 23 void flushout(); 24 long freediskspace(char *); 25 void gameDiskPrompt(); 26 char * getlogin(); 27 void getreturn(char *); 28 char * getenv(); 29 int getuid(); 30 char * let_to_name(char); 31 void msexit(int); 32 # ifdef MSC30 33 void msmsg(char *, ); 34 # else 35 void msmsg(char *, ...); 36 # endif 37 void name_file(char *, int); 38 void pushch(char); 39 void read_config_file(); 40 #ifdef DGK 41 int savelev(int, xchar, int); 42 #endif 43 int saveDiskPrompt(int); 44 void set_lock_and_bones(); 45 int tgetch(); 46 47 #else 48 49 extern long filesize(), freediskspace(); 50 extern char *getlogin(), *let_to_name(); 51 extern void append_slash(), chdrive(), copybones(); 52 extern void gameDiskPrompt(), getreturn(), msexit(), msmsg(), name_file(); 53 extern void pushch(), read_config_file(), set_lock_and_bones(); 54 55 #endif