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