new upstream

git-svn-id: file:///srv/svn/joey/trunk/src/packages/bsdgames@10080 a4a2c43b-8ac3-0310-8836-e0e880c912e2
This commit is contained in:
joey
2004-02-14 21:35:37 +00:00
parent 26fb70d304
commit a02c126403
224 changed files with 5624 additions and 2217 deletions

View File

@@ -1,4 +1,4 @@
/* $NetBSD: wump.c,v 1.15 2003/08/07 09:37:57 agc Exp $ */
/* $NetBSD: wump.c,v 1.16 2004/01/27 20:30:31 jsm Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -43,7 +43,7 @@ __COPYRIGHT("@(#) Copyright (c) 1989, 1993\n\
#if 0
static char sccsid[] = "@(#)wump.c 8.1 (Berkeley) 5/31/93";
#else
__RCSID("$NetBSD: wump.c,v 1.15 2003/08/07 09:37:57 agc Exp $");
__RCSID("$NetBSD: wump.c,v 1.16 2004/01/27 20:30:31 jsm Exp $");
#endif
#endif /* not lint */
@@ -112,30 +112,30 @@ int arrow_num = NUMBER_OF_ARROWS; /* arrow inventory */
char answer[20]; /* user input */
int bats_nearby __P((void));
void cave_init __P((void));
void clear_things_in_cave __P((void));
void display_room_stats __P((void));
int gcd __P((int, int));
int getans __P((const char *));
void initialize_things_in_cave __P((void));
void instructions __P((void));
int int_compare __P((const void *, const void *));
void jump __P((int));
void kill_wump __P((void));
int main __P((int, char **));
int move_to __P((const char *));
void move_wump __P((void));
void no_arrows __P((void));
void pit_kill __P((void));
int pit_nearby __P((void));
void pit_survive __P((void));
int shoot __P((char *));
void shoot_self __P((void));
int take_action __P((void));
void usage __P((void)) __attribute__((__noreturn__));
void wump_kill __P((void));
int wump_nearby __P((void));
int bats_nearby(void);
void cave_init(void);
void clear_things_in_cave(void);
void display_room_stats(void);
int gcd(int, int);
int getans(const char *);
void initialize_things_in_cave(void);
void instructions(void);
int int_compare(const void *, const void *);
void jump(int);
void kill_wump(void);
int main(int, char **);
int move_to(const char *);
void move_wump(void);
void no_arrows(void);
void pit_kill(void);
int pit_nearby(void);
void pit_survive(void);
int shoot(char *);
void shoot_self(void);
int take_action(void);
void usage(void) __attribute__((__noreturn__));
void wump_kill(void);
int wump_nearby(void);
int
main(argc, argv)