From rocksanne!rochester!seismo!mcvax!ukc!tgm Sat Mar 30 08:54:03 1985
Relay-Version: version B 2.10.2 9/5/84; site sunybcs.UUCP
Posting-Version: version B 2.10.1 5/3/83; site ukc.UUCP
Path: sunybcs!rocksanne!rochester!seismo!mcvax!ukc!tgm
From: tgm@ukc.UUCP (T.Murphy)
Newsgroups: net.games.frp
Subject: Players Handbook Database Interpretor (long)
Message-ID: <5028@ukc.UUCP>
Date: 30 Mar 85 13:54:03 GMT
Date-Received: 7 Apr 85 08:49:57 GMT
Organization: Computing Laboratory, U of Kent at Canterbury, UK
Lines: 476

Well here are the programs to translate the database. I really didn't think the
database was all that unreadable. The only tricky bit was figuring that spell
components made a three digit bianary number that fit nicely into one byte.
I am afraid the code is mostly uncommented but it should be fairly straight-
forward. Two output routines are here: inout.c and inout.c.old . I am sure
that better ones can be devised since they were only secondary to the rest
of the program which reads in and translates the spells. It would be nice
if somebody wrote a routine to search for a spell by whatever and print out
the entire spell (other than putting in a readable file and using grep -r).
I have actually lost the PRFILE that is used in inout.c.old but you should
be able to recreate it easially. It just conatains the prompts to print before
the data, i.e. Name:, Class:, Duration:, ... . If you could post all errors in
both the database and program to me and not to the newsnet I will compile them
all and post the corrections in about a months time.
				Good Hacking

		{decvax,seismo,philabs}!mcvax!ukc!tcdmath!jaymin
Joe Jaquinta; c/o D.U. Mats Society, 39.16 Trinity College Dublin, Ireland


---------------------------- Cut Here -------------------------------------
/*###### File : makefile                       ######*/
