diff options
Diffstat (limited to 'rogue/use.c')
-rw-r--r-- | rogue/use.c | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/rogue/use.c b/rogue/use.c index b02b554b..8371a6f0 100644 --- a/rogue/use.c +++ b/rogue/use.c @@ -1,4 +1,4 @@ -/* $NetBSD: use.c,v 1.9 2008/01/14 03:50:03 dholland Exp $ */ +/* $NetBSD: use.c,v 1.10 2009/08/12 08:44:45 dholland Exp $ */ /* * Copyright (c) 1988, 1993 @@ -37,7 +37,7 @@ #if 0 static char sccsid[] = "@(#)use.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: use.c,v 1.9 2008/01/14 03:50:03 dholland Exp $"); +__RCSID("$NetBSD: use.c,v 1.10 2009/08/12 08:44:45 dholland Exp $"); #endif #endif /* not lint */ @@ -68,6 +68,13 @@ boolean con_mon = 0; static const char strange_feeling[] = "you have a strange feeling for a moment, then it passes"; +static const char *get_ench_color(void); +static void go_blind(void); +static void hold_monster(void); +static void idntfy(void); +static void potion_heal(int); +static void uncurse_all(void); + void quaff(void) { @@ -310,7 +317,7 @@ vanish(object *obj, short rm, object *pack) } } -void +static void potion_heal(int extra) { float ratio; @@ -356,7 +363,7 @@ potion_heal(int extra) } } -void +static void idntfy(void) { short ch; @@ -424,7 +431,7 @@ eat(void) vanish(obj, 1, &rogue.pack); } -void +static void hold_monster(void) { short i, j; @@ -548,7 +555,7 @@ take_a_nap(void) messagef(0, "%s", you_can_move_again); } -void +static void go_blind(void) { short i, j; @@ -580,7 +587,7 @@ go_blind(void) mvaddch(rogue.row, rogue.col, rogue.fchar); } -const char * +static const char * get_ench_color(void) { if (halluc) { @@ -604,7 +611,7 @@ unconfuse(void) messagef(1, "you feel less %s now", (halluc ? "trippy" : "confused")); } -void +static void uncurse_all(void) { object *obj; |