Searched refs:edog (Results 1 - 2 of 2) sorted by relevance
/netbsd-6-1-5-RELEASE/games/hack/ |
H A D | def.edog.h | 1 /* $NetBSD: def.edog.h,v 1.4 1997/10/19 16:56:51 christos Exp $ */ 66 struct edog { struct 74 #define EDOG(mp) ((struct edog *)(&(mp->mextra[0])))
|
H A D | hack.dog.c | 72 #include "def.edog.h" 76 {"little dog", 'd', 2, 18, 6, 1, 6, sizeof(struct edog)}; 78 {"dog", 'd', 4, 16, 5, 1, 6, sizeof(struct edog)}; 80 {"large dog", 'd', 6, 15, 4, 2, 4, sizeof(struct edog)}; 196 struct edog *edog = EDOG(mtmp); local 207 if (moves <= edog->eattime) 212 if (moves > edog->hungrytime + 500 && !mtmp->mconf) { 221 } else if (moves > edog->hungrytime + 750 || mtmp->mhp < 1) { 240 if (!rn2(udist) || !rn2((int) edog [all...] |
Completed in 48 milliseconds