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

  1. /*    SCCS Id: @(#)version.c  2.3     88/02/11
  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 built %s.",
  11. #else
  12.     pline("%s Net%s Version %s - last built %s.",
  13. #endif
  14. #ifdef UNIX
  15.         "Unix"
  16. #endif
  17. #ifdef MSDOS
  18. # ifdef AMIGA
  19.     "Amiga"
  20. # else
  21.         "PC"
  22. # endif
  23. #endif
  24. #ifdef QUEST
  25.         , "Quest"
  26. #else
  27.         , "Hack"
  28. #endif
  29.         , VERSION, datestring);
  30.     return(0);
  31. }
  32.  
  33. #ifdef DGKMOD
  34.  
  35. #define pg_line(x)      if(page_line(x)) goto quit;
  36.  
  37. doMSCversion()
  38. {
  39.     char    buf[BUFSZ];
  40.  
  41.     set_pager(0);
  42.     sprintf(buf, "Behold mortal, the origins of %s Net%s...",
  43. #ifdef UNIX
  44.         "Unix"
  45. #endif
  46. #ifdef MSDOS
  47. # ifdef AMIGA
  48.     "Amiga"
  49. # else
  50.         "PC"
  51. # endif
  52. #endif
  53. #ifdef QUEST
  54.         , "Quest");
  55. #else
  56.         , "Hack");
  57. #endif
  58.     pg_line("");
  59.     pg_line(buf); pg_line(""); pg_line("");
  60.  
  61.     pg_line("The original HACK was written by Jay Fenlason with help from");
  62.     pg_line("Kenny Woodland, Mike Thome and Jon Payne.");
  63.  
  64.     pg_line("");
  65.     pg_line("Andries Brouwer did a major re-write and published (at least)");
  66.     pg_line("two versions (1.0.2 and 1.0.3) to the Usenet.");
  67.  
  68.     pg_line("");
  69.     pg_line("PC HACK 3.51K was an MSDOS(tm) version of HACK 1.03.");
  70.     pg_line("The PC implementation was done in Microsoft(tm) C by Don Kneller");
  71.     pg_line("and modified by Ken Arromdee.");
  72.  
  73.     pg_line("");
  74.     pg_line("PC and UNIX HACK were merged by Mike Stephenson and Ken Arromdee");
  75.     pg_line("incorporating many modifications and features made by the above,");
  76.     pg_line("as well as the following honored hackers:");
  77.  
  78.     pg_line("");
  79.     pg_line("    Scott R. Turner    Tom Almy           John S. Bien");
  80.     pg_line("    Gil Neiger         Ralf Brown         Eric S. Raymond");
  81.     pg_line("    Eric Backus        Roland McGrath     Greg Laskin");
  82.     pg_line("    Bruce Holloway     Richard P. Hughey  Kevin Sweet");
  83.     pg_line("    Steve Linhart      Bruce Mewborne     Janet Walz");
  84.     pg_line("    and...             The Unknown Hacker");
  85.  
  86. #ifdef AMIGA
  87.     pg_line("");
  88.     pg_line("Amiga NetHack was ported for you by Olaf Seibert (KosmoSoft).");
  89. #endif
  90.     set_pager(1);
  91.     return(0);
  92. quit:
  93.     set_pager(2);
  94.     return(0);
  95. }
  96.  
  97. #endif
  98.