releasing version 2.17-1

git-svn-id: file:///srv/svn/joey/trunk/src/packages/bsdgames@11092 a4a2c43b-8ac3-0310-8836-e0e880c912e2
This commit is contained in:
joey
2005-02-18 18:44:27 +00:00
parent 3d248f5d00
commit 00d2970fb5
126 changed files with 786 additions and 778 deletions

View File

@@ -1,4 +1,4 @@
/* $NetBSD: setup.c,v 1.12 2003/05/08 13:03:49 wiz Exp $ */
/* $NetBSD: setup.c,v 1.14 2004/12/09 05:15:59 jmc Exp $ */
/*
* setup.c - set up all files for Phantasia
@@ -109,21 +109,10 @@ main(argc, argv)
++filename; /* process next file */
}
/* put holy grail info into energy void file */
Enrgyvoid.ev_active = TRUE;
Enrgyvoid.ev_x = ROLL(-1.0e6, 2.0e6);
Enrgyvoid.ev_y = ROLL(-1.0e6, 2.0e6);
path = strrchr(_PATH_VOID, '/') + 1;
/* Initialize an empty file placeholder for the grail location. */
if ((fp = fopen(path, "w")) == NULL)
Error("Cannot update %s.\n", path);
else
{
fwrite(&Enrgyvoid, SZ_VOIDSTRUCT, 1, fp);
fflush(fp);
if (ferror(fp))
Error("Writing %s.\n", path);
fclose(fp);
}
Error("Cannot create %s.\n", path);
fclose(fp);
/* create binary monster data base */
path = strrchr(_PATH_MONST, '/') + 1;