-/* $NetBSD: object.c,v 1.6 1997/10/15 12:43:35 mycroft Exp $ */
+/* $NetBSD: object.c,v 1.8 1998/11/10 13:01:32 hubertf Exp $ */
/*
* Copyright (c) 1988, 1993
#if 0
static char sccsid[] = "@(#)object.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: object.c,v 1.6 1997/10/15 12:43:35 mycroft Exp $");
+__RCSID("$NetBSD: object.c,v 1.8 1998/11/10 13:01:32 hubertf Exp $");
#endif
#endif /* not lint */
void
place_at(obj, row, col)
object *obj;
+ int row, col;
{
obj->row = row;
obj->col = col;
object *
get_letter_object(ch)
+ int ch;
{
object *obj;
}
}
-char *
+const char *
name_of(obj)
- object *obj;
+ const object *obj;
{
- char *retstring;
+ const char *retstring;
switch(obj->what_is) {
case SCROL:
int
get_armor_class(obj)
- object *obj;
+ const object *obj;
{
if (obj) {
return(obj->class + obj->d_enchant);