Symbol: edog
games/hack/def.edog.h
73
#define EDOG(mp) ((struct edog *)(&(mp->mextra[0])))
games/hack/hack.dog.c
192
struct edog *edog = EDOG(mtmp);
games/hack/hack.dog.c
203
if(moves <= edog->eattime) return(0); /* dog is still eating */
games/hack/hack.dog.c
207
if(moves > edog->hungrytime + 500 && !mtmp->mconf){
games/hack/hack.dog.c
216
if(moves > edog->hungrytime + 750 || mtmp->mhp < 1){
games/hack/hack.dog.c
234
if(!rn2(udist) || !rn2((int) edog->apport))
games/hack/hack.dog.c
235
if(rn2(10) < edog->apport){
games/hack/hack.dog.c
237
if(edog->apport > 1) edog->apport--;
games/hack/hack.dog.c
238
edog->dropdist = udist; /* hpscdi!jon */
games/hack/hack.dog.c
239
edog->droptime = moves;
games/hack/hack.dog.c
250
if (rn2(20) < edog->apport+3)
games/hack/hack.dog.c
251
if (rn2(udist) || !rn2((int) edog->apport)){
games/hack/hack.dog.c
279
!mtmp->minvent && edog->apport > rn2(8)){
games/hack/hack.dog.c
286
(gtyp != DOGFOOD && gtyp != APPORT && moves < edog->hungrytime)){
games/hack/hack.dog.c
317
(mtmp->minvent && rn2((int) edog->apport)))
games/hack/hack.dog.c
380
(otyp < ACCFOOD || edog->hungrytime <= moves)){
games/hack/hack.dog.c
387
edog->eattime =
games/hack/hack.dog.c
389
if(edog->hungrytime < moves)
games/hack/hack.dog.c
390
edog->hungrytime = moves;
games/hack/hack.dog.c
391
edog->hungrytime +=
games/hack/hack.dog.c
398
edog->apport += 200/(edog->dropdist+moves-edog->droptime);
games/hack/hack.dog.c
485
mtmp2 = newmonst(sizeof(struct edog) + mtmp->mnamelth);
games/hack/hack.dog.c
487
mtmp2->mxlth = sizeof(struct edog);
games/hack/hack.dog.c
74
{ "little dog", 'd',2,18,6,1,6,sizeof(struct edog) };
games/hack/hack.dog.c
76
{ "dog", 'd',4,16,5,1,6,sizeof(struct edog) };
games/hack/hack.dog.c
78
{ "large dog", 'd',6,15,4,2,4,sizeof(struct edog) };