Symbol: edog
games/hack/def.edog.h
74
#define EDOG(mp) ((struct edog *)(&(mp->mextra[0])))
games/hack/hack.dog.c
191
struct edog *edog = EDOG(mtmp);
games/hack/hack.dog.c
202
if (moves <= edog->eattime)
games/hack/hack.dog.c
207
if (moves > edog->hungrytime + 500 && !mtmp->mconf) {
games/hack/hack.dog.c
216
} else if (moves > edog->hungrytime + 750 || mtmp->mhp < 1) {
games/hack/hack.dog.c
235
if (!rn2(udist) || !rn2((int) edog->apport))
games/hack/hack.dog.c
236
if ((unsigned) rn2(10) < edog->apport) {
games/hack/hack.dog.c
238
if (edog->apport > 1)
games/hack/hack.dog.c
239
edog->apport--;
games/hack/hack.dog.c
240
edog->dropdist = udist; /* hpscdi!jon */
games/hack/hack.dog.c
241
edog->droptime = moves;
games/hack/hack.dog.c
252
if ((unsigned) rn2(20) < edog->apport + 3)
games/hack/hack.dog.c
253
if (rn2(udist) || !rn2((int) edog->apport)) {
games/hack/hack.dog.c
288
!mtmp->minvent && edog->apport > (unsigned)rn2(8)) {
games/hack/hack.dog.c
295
(gtyp != DOGFOOD && gtyp != APPORT && moves < edog->hungrytime)) {
games/hack/hack.dog.c
326
(mtmp->minvent && rn2((int) edog->apport)))
games/hack/hack.dog.c
395
(otyp < ACCFOOD || edog->hungrytime <= moves)) {
games/hack/hack.dog.c
405
edog->eattime =
games/hack/hack.dog.c
407
if (edog->hungrytime < moves)
games/hack/hack.dog.c
408
edog->hungrytime = moves;
games/hack/hack.dog.c
409
edog->hungrytime +=
games/hack/hack.dog.c
416
edog->apport += 200 / (edog->dropdist + moves - edog->droptime);
games/hack/hack.dog.c
511
mtmp2 = newmonst(sizeof(struct edog) + mtmp->mnamelth);
games/hack/hack.dog.c
513
mtmp2->mxlth = sizeof(struct edog);
games/hack/hack.dog.c
71
{"little dog", 'd', 2, 18, 6, 1, 6, sizeof(struct edog)};
games/hack/hack.dog.c
73
{"dog", 'd', 4, 16, 5, 1, 6, sizeof(struct edog)};
games/hack/hack.dog.c
75
{"large dog", 'd', 6, 15, 4, 2, 4, sizeof(struct edog)};