mirror of
https://github.com/vattam/BSDGames.git
synced 2025-12-21 03:14:50 +00:00
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:
@@ -1,10 +0,0 @@
|
||||
a.out
|
||||
*.d
|
||||
*.i
|
||||
*.s
|
||||
*.d.tmp
|
||||
hack
|
||||
makedefs
|
||||
pathnames.h
|
||||
hack.6
|
||||
hack.onames.h
|
||||
@@ -146,7 +146,7 @@ c a cockatrice;
|
||||
gle glance from its yellow, piercing toad's eyes will kill
|
||||
both man and beast. Its power of destruction is said to be
|
||||
so great that sometimes simply to hear its hiss can prove
|
||||
fatal. Its breath is so venomenous that it causes all vege-
|
||||
fatal. Its breath is so venomous that it causes all vege-
|
||||
tation to wither.
|
||||
There is, however, one creature which can withstand the
|
||||
basilisk's deadly gaze, and this is the weasel. No one knows
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
.\" $NetBSD: hack.6,v 1.13 2003/06/27 22:48:35 wiz Exp $ -*- nroff -*-
|
||||
.\" $NetBSD: hack.6,v 1.14 2004/06/01 10:10:06 wiz Exp $ -*- nroff -*-
|
||||
.\"
|
||||
.\" Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica,
|
||||
.\" Amsterdam
|
||||
@@ -88,7 +88,7 @@ will give you a list of the available commands and the command
|
||||
.Ic /
|
||||
will identify the things you see on the screen.
|
||||
.Pp
|
||||
To win the game (as opposed to merely playing to beat other people high
|
||||
To win the game (as opposed to merely playing to beat other people's high
|
||||
scores) you must locate the Amulet of Yendor which is somewhere below
|
||||
the 20th level of the dungeon and get it out.
|
||||
Nobody has achieved this yet and if somebody does, he will probably go
|
||||
|
||||
@@ -77,10 +77,10 @@ __RCSID("$NetBSD: hack.termcap.c,v 1.12 2003/04/02 18:36:40 jsm Exp $");
|
||||
#include "def.flag.h" /* for flags.nonull */
|
||||
|
||||
static char tbuf[512];
|
||||
char *HO, *CL, *CE, *UP, *CM, *ND, *XD, *BC, *SO, *SE, *TI, *TE;
|
||||
char *HO, *CL, *CE, *UP, *CM, *ND, *XD, *BC, *SO, *SE, *TI, *TE;
|
||||
static char *VS, *VE;
|
||||
static int SG;
|
||||
char PC = '\0';
|
||||
char PC = '\0';
|
||||
char *CD; /* tested in pri.c: docorner() */
|
||||
int CO, LI; /* used in pri.c and whatis.c */
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $NetBSD: hack.u_init.c,v 1.7 2003/04/02 18:36:41 jsm Exp $ */
|
||||
/* $NetBSD: hack.u_init.c,v 1.8 2004/11/05 21:30:32 dsl Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica,
|
||||
@@ -63,7 +63,7 @@
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#ifndef lint
|
||||
__RCSID("$NetBSD: hack.u_init.c,v 1.7 2003/04/02 18:36:41 jsm Exp $");
|
||||
__RCSID("$NetBSD: hack.u_init.c,v 1.8 2004/11/05 21:30:32 dsl Exp $");
|
||||
#endif /* not lint */
|
||||
|
||||
#include <ctype.h>
|
||||
@@ -169,8 +169,8 @@ u_init()
|
||||
rolesyms[i] = 0;
|
||||
|
||||
if ((pc = pl_character[0]) != '\0') {
|
||||
if (islower(pc))
|
||||
pc = toupper(pc);
|
||||
if (islower((unsigned char)pc))
|
||||
pc = toupper((unsigned char)pc);
|
||||
if ((i = role_index(pc)) >= 0)
|
||||
goto got_suffix; /* implies experienced */
|
||||
printf("\nUnknown role: %c\n", pc);
|
||||
@@ -201,8 +201,8 @@ u_init()
|
||||
printf("? [%s] ", rolesyms);
|
||||
|
||||
while ((pc = readchar()) != '\0') {
|
||||
if (islower(pc))
|
||||
pc = toupper(pc);
|
||||
if (islower((unsigned char)pc))
|
||||
pc = toupper((unsigned char)pc);
|
||||
if ((i = role_index(pc)) >= 0) {
|
||||
printf("%c\n", pc); /* echo */
|
||||
(void) fflush(stdout); /* should be seen */
|
||||
|
||||
@@ -191,7 +191,7 @@ If you can't learn to do it well, learn to enjoy doing it badly.
|
||||
If you need a wand of digging, kindly ask the minotaur.
|
||||
If you see nurses you better start looking somewhere for a doctor.
|
||||
If you turn blind: don't expect your dog to be turned into a seeing-eye dog.
|
||||
If you want to feal great, you must eat something real big.
|
||||
If you want to feel great, you must eat something real big.
|
||||
If you want to float you'd better eat a floating eye.
|
||||
If you want to genocide nurses, genocide @'s.
|
||||
If you want to hit, use a dagger.
|
||||
|
||||
Reference in New Issue
Block a user