-/* $NetBSD: score.c,v 1.6 1997/10/12 11:46:01 lukem Exp $ */
+/* $NetBSD: score.c,v 1.7 1998/11/10 13:01:32 hubertf Exp $ */
/*
* Copyright (c) 1988, 1993
#if 0
static char sccsid[] = "@(#)score.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: score.c,v 1.6 1997/10/12 11:46:01 lukem Exp $");
+__RCSID("$NetBSD: score.c,v 1.7 1998/11/10 13:01:32 hubertf Exp $");
#endif
#endif /* not lint */
void
killed_by(monster, other)
- object *monster;
+ const object *monster;
short other;
{
char buf[128];
void
put_scores(monster, other)
- object *monster;
+ const object *monster;
short other;
{
short i, n, rank = 10, x, ne = 0, found_player = -1;
insert_score(scores, n_names, n_name, rank, n, monster, other)
char scores[][82];
char n_names[][30];
- char *n_name;
+ const char *n_name;
short rank, n;
- object *monster;
+ const object *monster;
int other;
{
short i;
int
get_value(obj)
- object *obj;
+ const object *obj;
{
short wc;
int val;
int
name_cmp(s1, s2)
- char *s1, *s2;
+ char *s1;
+ const char *s2;
{
short i = 0;
int r;
void
nickize(buf, score, n_name)
- char *buf, *score, *n_name;
+ char *buf;
+ const char *score, *n_name;
{
short i = 15, j;
void
center(row, buf)
short row;
- char *buf;
+ const char *buf;
{
short margin;