Home
last modified time | relevance | path

Searched refs:oc_descr (Results 1 – 4 of 4) sorted by relevance

/openbsd/games/hack/
H A Dhack.o_init.c117 if(objects[first].oc_descr != NULL && let != TOOL_SYM){ in init_objects()
124 tmp = objects[j].oc_descr; in init_objects()
125 objects[j].oc_descr = objects[i].oc_descr; in init_objects()
126 objects[i].oc_descr = tmp; in init_objects()
187 if(objects[i].oc_descr) { in savenames()
188 len = strlen(objects[i].oc_descr)+1; in savenames()
190 bwrite(fd, objects[i].oc_descr, len); in savenames()
219 objects[i].oc_descr = (char *) alloc(len); in restnames()
220 mread(fd, objects[i].oc_descr, len); in restnames()
222 objects[i].oc_descr = 0; in restnames()
[all …]
H A Ddef.objclass.h69 char *oc_descr; /* description when name unknown */ member
H A Dhack.objnam.c106 char *dn = ocl->oc_descr; in typename()
173 char *dn = objects[obj->otyp].oc_descr; in xname()
598 if(dn && (!(zn = objects[i].oc_descr) || strcmp(dn, zn))) in readobjnam()
H A Dhack.potion.c81 if(!strcmp(objects[otmp->otyp].oc_descr, "smoky") && !rn2(13)) { in dodrink()