home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d1xx / d190 / nethack.lha / NetHack / een.zoo / msdos.h < prev    next >
C/C++ Source or Header  |  1988-07-01  |  1KB  |  51 lines

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