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

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

Completed in 85 milliseconds