Searched refs:edog (Results 1 - 2 of 2) sorted by relevance

/openbsd-current/games/hack/
H A Ddef.edog.h1 /* $OpenBSD: def.edog.h,v 1.3 2003/03/16 21:22:35 camield Exp $*/
2 /* $NetBSD: def.edog.h,v 1.3 1995/03/23 08:29:18 cgd Exp $*/
65 struct edog { struct
73 #define EDOG(mp) ((struct edog *)(&(mp->mextra[0])))
H A Dhack.dog.c64 #include "def.edog.h"
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); local
203 if(moves <= edog->eattime) return(0); /* dog is still eating */
207 if(moves > edog->hungrytime + 500 && !mtmp->mconf){
216 if(moves > edog->hungrytime + 750 || mtmp->mhp < 1){
234 if(!rn2(udist) || !rn2((int) edog
[all...]

Completed in 192 milliseconds