• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

dungeon-gdt/H03-May-2022-22,28314,914

glkterm/H03-May-2022-24,87022,102

ACTORS.CH A D16-May-19919.9 KiB408294

BALLOP.CH A D16-May-19913.1 KiB139104

CLOCKR.CH A D16-May-199119.2 KiB801509

DEMONS.CH A D16-May-199112.8 KiB602413

DGAME.CH A D16-May-19915.4 KiB262161

DINIT.CH A D16-May-199112.6 KiB466330

DMAIN.CH A D11-Jul-1993572 2814

DSO1.CH A D16-May-19913.7 KiB182120

DSO2.CH A D16-May-19913.9 KiB189130

DSO3.CH A D16-May-19914.1 KiB206133

DSO4.CH A D16-May-19913.9 KiB200125

DSO5.CH A D16-May-19913.6 KiB189127

DSO6.CH A D16-May-19913.6 KiB171107

DSO7.CH A D16-May-19913.4 KiB165111

DSUB.CH A D16-May-199112.7 KiB629384

DTEXTC.UU1H A D16-May-199149.2 KiB

DTEXTC.UU2H A D16-May-199149.2 KiB800800

DTEXTC.UU3H A D16-May-199149.2 KiB801801

DTEXTC.UU4H A D16-May-199134.3 KiB561561

DUNGEON.6H A D16-May-19918.3 KiB252252

DVERB1.CH A D16-May-19919.9 KiB448311

DVERB2.CH A D16-May-199117.2 KiB689463

FUNCS.HH A D16-May-19913.4 KiB136115

GDT.CH A D16-May-199118.5 KiB789546

HISTORYH A D16-May-19914.8 KiB11588

LIGHTP.CH A D16-May-19913.6 KiB160110

LOCAL.CH A D16-May-19911.8 KiB8247

MAKEFILEH A D16-May-19913.6 KiB12161

MAKEFILE.BCCH A D11-Jul-19933.6 KiB11868

MAKEFILE.MSCH A D16-May-19914.6 KiB16295

MANIFESTH A D16-May-19912.5 KiB4949

NOBJS.CH A D16-May-199120.6 KiB944635

NP.CH A D16-May-19915.5 KiB293179

NP1.CH A D16-May-19917.6 KiB416264

NP2.CH A D16-May-19916.3 KiB316209

NP3.CH A D16-May-199110.4 KiB493316

NROOMS.CH A D16-May-199110.6 KiB523340

OBJCTS.CH A D16-May-199124.9 KiB1,141763

PARSE.HH A D16-May-199133.9 KiB695285

READMEH A D11-Jul-19934.2 KiB10288

ROOMS.CH A D16-May-199120.6 KiB941604

SOBJS.CH A D16-May-199121.7 KiB1,024693

SUPP.CH A D16-May-19914.8 KiB231136

SVERBS.CH A D16-May-199118.1 KiB872555

VARS.HH A D16-May-199111 KiB418333

VERBS.CH A D16-May-199126.7 KiB1,344905

VILLNS.CH A D16-May-199112 KiB529376

README

1This is a source file distribution for the game dungeon as implemented
2in C.  It is based on the game dungeon as distributed on a DECUS tape,
3circa 1980.  It has been converted from the original DEC FORTRAN to
4f77 to C.  See the file "History" for some revision history and credit
5to those whose efforts have made this possible.
6
7Take a look at the Makefile.  It should be fine for most systems,
8although you may want to change BINDIR and LIBDIR.  On SCO UNIX see
9the note at the definition of CFLAGS.  Makefile.MSC should work for
10MS-DOS using Microsoft C.  It was contributed by Jonathan Mark
11(uunet!microsoft!jonm).
12
13To compile and link dungeon, type make.  To install it in BINDIR and
14LIBDIR, type make install.
15
16There are two functions in local.c that you may want to write for your
17system.  The first controls when the game can be played, and can be
18used to disallow play during business hours, for example.  The second
19controls who is allowed to invoke the game debugging tool; note that
20this will only be available at all if you uncomment the GDTFLAG line
21in the Makefile.  The comments in local.c explain what to do.
22
23All files in the distribution kit are ASCII.  The files dtextc.uu1,
24dtextc.uu2, dtextc.uu3, dtextc.uu4 are parts of a uuencoded binary
25file named dtextc.dat.  The Makefile will create the binary file
26automatically on a UNIX system; elsewhere you will have to stick the
27four files together in numerical order and run the resulting large
28file through uudecode.  I can't help you find uudecode, though.
29
30The binary file dtextc.dat holds the text strings and initialization
31information for the game.  The strings are encrypted to prevent easy
32cheating; if you want to do further work on the program, or translate
33the strings, Ian Taylor (address below) has a program to convert this
34file back and forth from a human-readable form.
35
36This has been compiled and tested on a DECstation 3100 running Ultrix
374.0, a VAXstation GPX running Ultrix 3.1, an 80386 box running SCO
38Unix 3.2.2, an 8800 running Ultrix, a Sun box running SUN OS 4 release
394, and an 80386 PC running MS-DOS.
40
41I consider my changes to be in the public domain, as did previous
42contributors (see the History file for more detail).  The original
43source, however, is copyright.
44
45	Ian Lance Taylor
46	ian@airs.com or uunet!airs!ian
47	11 March 1991
48
49Dungeon consists of the following files:
50
51	dmain.c			-program root
52	dgame.c			-main routine
53	dsub.c			-resident subroutines
54	dinit.c			-initialization routine
55	np.c			-parser, part 0
56	np1.c			-parser, part 1
57	np2.c			-parser, part 2
58	np3.c			-parser, part 3
59	gdt.c			-game debugging tool
60	verbs.c			-principal verbs
61	objcts.c		-principal objects
62	sverbs.c		-simple verbs
63	dverb1.c		-auxiliary verbs, part 1
64	dverb2.c		-auxiliary verbs, part 2
65	actors.c		-character processors
66	demons.c		-demon processors
67	clockr.c		-clock event processors
68	rooms.c			-room processors
69	nrooms.c		-new room processors
70	sobjs.c			-simple objects
71	nobjs.c			-new objects
72	ballop.c		-balloon processor
73	lightp.c		-light processors
74	villns.c		-villain processors
75	dso1.c			-overlaid subroutines, part 1
76	dso2.c			-overlaid subroutines, part 2
77	dso3.c			-overlaid subroutines, part 3
78	dso4.c			-overlaid subroutines, part 4
79	dso5.c			-overlaid subroutines, part 5
80	dso6.c			-overlaid subroutines, part 6
81	dso7.c			-overlaid subroutines, part 7
82	funcs.h			-header file with function prototypes
83	vars.h			-header file with variable definitions
84	parse.h			-header file for parsing routines
85	supp.c			-support routines and more processing
86	local.c			-hooks for local definition
87	dindxc.dat		-data base [binary file]
88	dungeon.6		-man page
89	Makefile		-Makefile
90	Makefile.MSC		-Makefile for MS-DOS and Microsoft C
91	History			-Some revision history notes
92	README			-This file
93
94------------------------------------------------------------------------------
95
96I supplied a new file Makefile.BCC for Borland C++ (tested with version 3.1).
97While working on this, I discovered that I had to change function main in
98dmain.c from 'returning void' to 'returning int' - bcc doesn't accept
99'void main(...)' in ANSI mode.
100
101Volker Blasius, 11jul93                                <Volker.Blasius@gmd.de>
102