home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / bsd_srcs / games / hack / Original_READ_ME < prev    next >
Encoding:
Text File  |  1990-05-02  |  2.5 KB  |  62 lines

  1. This is export hack, my first semester programming project.
  2.  
  3. To set it up for your system, you will have to do the following:
  4.     1: create a hack uid, to own the top ten list, etc.
  5.     2: create a hack directory "/usr/lib/game/hack" is the default.
  6.     2.5: make the directory 700 mode.    /* sav files go in there...*/
  7.     3: modify hack.main.c to use the new directory.
  8.     4: modify hack.main.c so it uses the new hack gid.  Gid accounts can
  9. go into magic mode without the password, can get cores with ^G, etc.
  10. (make sure gid isn't checked anywhere else...)
  11.     5: recompile hack.
  12.     6: put it in games after making it set-uid hack.
  13.     8: fix the bugs I undobtedly left in it.
  14.     9: tell me what you think of it.
  15.  
  16.     Hack uses the UCB file /etc/termcap to get your terminal escape codes.
  17. If you don't use it, you will have to make extensive changes to hack.pri.c
  18.  
  19. If you find any bugs (That you think I don't know about), or have any
  20. awesome new changes (Like a better save (One that works!)), or have ANY
  21. questions, write me
  22.         Jay Fenlason
  23.         29 East St.
  24.         Sudbury Mass.
  25.             01776
  26.  
  27. or call me at (617) 443-5036.  Since I have both a modem and a teen-age
  28. sister, Good Luck.
  29.  
  30.  
  31. Hack is split (roughly) into several source files that do different things.
  32. I have tried to fit all the procedures having to do with a certain segment
  33. of the game into a single file, but the job is not the best in the world.
  34. The rough splits are:
  35.  
  36. hack.c        General random stuff and things I never got around to moving.
  37. hack.main.c    main() and other random procedures, also the lock file stuff.
  38. hack.mon.c    Monsters, moving, attacking, etc.
  39. hack.do.c    drink, eat, read, wield, save, etc.
  40. hack.do1.c    zap, wear, remove, etc...
  41. hack.pri.c    stuff having to do with the screen, most of the terminal
  42.         independant stuff is in here.
  43. hack.lev.c    temp files and calling of mklev.
  44.  
  45. Because of the peculiar restraints on our system, I make mklev (create
  46. a level) a separate procedure execd by hack when needed.  The source for
  47. mklev is (Naturaly) mklev.c.  You may want to put mklev back into hack.
  48. Good luck.
  49.  
  50. Most of hack was written by me, with help from
  51.         Kenny Woodland (KW)    (general random things including
  52.             the original BUZZ())
  53.         Mike Thome    (MT)    (The original chamelian)
  54.     and    Jon Payne    (JP)    (The original lock file kludge and
  55.             the massive CURS())
  56.  
  57. This entire program would not have been possible without the SFSU Logo
  58. Workshop.  I am eternally grateful to all of our students (Especially K.L.),
  59. without whom I would never have seen Rogue.  I am especially grateful to
  60. Mike Clancy, without whose generous help I would never have gotten to play
  61. ROGUE.
  62.