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