home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / games / volume3 / nethack2.2 / part12 / version.c < prev    next >
C/C++ Source or Header  |  1987-12-02  |  2KB  |  83 lines

  1. /*    SCCS Id: @(#)version.c    2.1    87/11/09
  2. /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
  3.  
  4. #include    "hack.h"
  5. #include    "date.h"
  6.  
  7. doversion(){
  8.  
  9. #ifdef BETA
  10.     pline("%s Net%s Beta Version %s - last build %s.",
  11. #else
  12.     pline("%s Net%s Version %s - last build %s.",
  13. #endif
  14. #ifdef UNIX
  15.         "Unix"
  16. #endif
  17. #ifdef MSDOS
  18.         "PC"
  19. #endif
  20. #ifdef QUEST
  21.         , "Quest"
  22. #else
  23.         , "Hack"
  24. #endif
  25.         , VERSION, datestring);
  26.     return(0);
  27. }
  28.  
  29. #ifdef DGKMOD
  30.  
  31. #define pg_line(x)    if(page_line(x)) goto quit;
  32.  
  33. doMSCversion()
  34. {
  35.     char    buf[BUFSZ];
  36.  
  37.     set_pager(0);
  38.     sprintf(buf, "Behold mortal, the origins of %s Net%s...",
  39. #ifdef UNIX
  40.         "Unix"
  41. #endif
  42. #ifdef MSDOS
  43.         "PC"
  44. #endif
  45. #ifdef QUEST
  46.         , "Quest");
  47. #else
  48.         , "Hack");
  49. #endif
  50.     pg_line("");
  51.     pg_line(buf); pg_line(""); pg_line("");
  52.  
  53.     pg_line("The original HACK was written by Jay Fenlason with help from");
  54.     pg_line("Kenny Woodland, Mike Thome and Jon Payne.");
  55.  
  56.     pg_line("");
  57.     pg_line("Andries Brouwer did a major re-write and published (at least)");
  58.     pg_line("two versions (1.0.2 and 1.0.3) to the Usenet.");
  59.  
  60.     pg_line("");
  61.     pg_line("PC HACK 3.51K was an MSDOS(tm) version of HACK 1.03.");
  62.     pg_line("The PC implementation was done in Microsoft(tm) C by Don Kneller");
  63.     pg_line("and modified by Ken Arromdee.");
  64.  
  65.     pg_line("");
  66.     pg_line("PC and UNIX HACK were merged by Mike Stephenson and Ken Arromdee");
  67.     pg_line("incorporating many modifications and features made by the above,");
  68.     pg_line("as well as the following honored hackers:");
  69.  
  70.     pg_line("");
  71.     pg_line("    Scott R. Turner    Tom Almy           John S. Bien");
  72.     pg_line("    Gil Neiger         Ralf Brown         Eric S. Raymond");
  73.     pg_line("    Eric Backus        Roland McGrath     Greg Laskin");
  74.     pg_line("    Bruce Holloway     Richard P. Hughey  Kevin Sweet");
  75.     set_pager(1);
  76.     return(0);
  77. quit:
  78.     set_pager(2);
  79.     return(0);
  80. }
  81.  
  82. #endif
  83.