Home
last modified time | relevance | path

Searched refs:oc_prob (Results 1 – 2 of 2) sorted by relevance

/openbsd/games/hack/
H A Dhack.o_init.c108 for(j = first; j < last; j++) sum += objects[j].oc_prob; in init_objects()
111 objects[j].oc_prob = (100+j-first)/(last-first); in init_objects()
139 while((prob -= objects[i].oc_prob) >= 0) i++; in probtype()
154 objects[first+j].oc_prob = 0; in setgemprobs()
162 objects[j].oc_prob = (20+j-first)/(LAST_GEM-first); in setgemprobs()
H A Ddef.objclass.h74 schar oc_prob; /* probability for mkobj() */ member