Searched refs:edog (Results 1 – 3 of 3) sorted by relevance
| /openbsd/src/games/hack/ |
| D | hack.dog.c | 74 { "little dog", 'd',2,18,6,1,6,sizeof(struct edog) }; 76 { "dog", 'd',4,16,5,1,6,sizeof(struct edog) }; 78 { "large dog", 'd',6,15,4,2,4,sizeof(struct edog) }; 192 struct edog *edog = EDOG(mtmp); in dog_move() local 203 if(moves <= edog->eattime) return(0); /* dog is still eating */ in dog_move() 207 if(moves > edog->hungrytime + 500 && !mtmp->mconf){ in dog_move() 216 if(moves > edog->hungrytime + 750 || mtmp->mhp < 1){ in dog_move() 234 if(!rn2(udist) || !rn2((int) edog->apport)) in dog_move() 235 if(rn2(10) < edog->apport){ in dog_move() 237 if(edog->apport > 1) edog->apport--; in dog_move() [all …]
|
| D | def.edog.h | 65 struct edog { struct 73 #define EDOG(mp) ((struct edog *)(&(mp->mextra[0]))) argument
|
| D | Makequest | 33 def.edog.h def.eshk.h def.flag.h def.func_tab.h def.gold.h\ 140 hack.apply.o: hack.h def.edog.h def.mkroom.h 147 hack.dog.o: hack.h hack.mfndpos.h def.edog.h def.mkroom.h
|