Home
last modified time | relevance | path

Searched refs:oc_uname (Results 1 – 6 of 6) sorted by relevance

/openbsd/games/hack/
H A Dhack.o_init.c193 if(objects[i].oc_uname) { in savenames()
194 len = strlen(objects[i].oc_uname)+1; in savenames()
196 bwrite(fd, objects[i].oc_uname, len); in savenames()
225 objects[i].oc_uname = (char *) alloc(len); in restnames()
226 mread(fd, objects[i].oc_uname, len); in restnames()
228 objects[i].oc_uname = 0; in restnames()
260 objects[i].oc_uname != NULL || in interesting_to_discover()
H A Ddef.objclass.h70 char *oc_uname; /* called by user */ member
H A Dhack.potion.c247 } else if(!objects[otmp->otyp].oc_uname) in dodrink()
278 if(!objects[obj->otyp].oc_name_known && !objects[obj->otyp].oc_uname) in strange_feeling()
H A Dhack.objnam.c107 char *un = ocl->oc_uname; in typename()
174 char *un = objects[obj->otyp].oc_uname; in xname()
600 if(un && (!(zn = objects[i].oc_uname) || strcmp(un, zn))) in readobjnam()
H A Dhack.do_name.c249 str1 = &(objects[obj->otyp].oc_uname); in docall()
H A Dhack.read.c492 } else if(!objects[scroll->otyp].oc_uname) in doread()