/netbsd-current/games/hack/ |
H A D | extern.h | 65 void losehp_m(int, struct monst *); 99 char *monnam(struct monst *); 100 char *Monnam(struct monst *); 101 char *amonnam(struct monst *, const char *); 102 char *Amonnam(struct monst *, const char *); 103 char *Xmonnam(struct monst *); 121 void fall_down(struct monst *); 122 int dog_move(struct monst *, int); 124 int tamedog(struct monst *, struct obj *); 137 void done_in_by(struct monst *); [all...] |
H A D | def.monst.h | 1 /* $NetBSD: def.monst.h,v 1.8 2011/08/06 20:18:26 dholland Exp $ */ 66 struct monst { struct 67 struct monst *nmon; 110 #define newmonst(xl) ((struct monst *) alloc((xl) + sizeof(struct monst))) 112 extern struct monst *fmon; 113 extern struct monst *fallen_down; 115 extern void *monster_private(struct monst *);
|
H A D | hack.Decl.c | 83 struct monst *fmon = 0; 91 struct monst youmonst; /* dummy; used as return value for boomhit */
|
H A D | hack.wizard.c | 82 static void clonewiz(struct monst *); 90 struct monst *mtmp; 109 wiz_hit(struct monst *mtmp) 156 inrange(struct monst *mtmp) 262 struct monst *mtmp; 272 clonewiz(struct monst *mtmp) 274 struct monst *mtmp2;
|
H A D | hack.do_name.c | 74 static char *xmonnam(struct monst *, int); 75 static char *lmonnam(struct monst *); 125 struct monst *mtmp, *mtmp2; 274 xmonnam(struct monst *mtmp, int vb) 313 lmonnam(struct monst *mtmp) 319 monnam(struct monst *mtmp) 325 Monnam(struct monst *mtmp) 334 amonnam(struct monst *mtmp, const char *adj) 346 Amonnam(struct monst *mtmp, const char *adj) 355 Xmonnam(struct monst *mtm [all...] |
H A D | hack.worm.c | 82 getwn(struct monst *mtmp) 95 initworm(struct monst *mtmp) 110 worm_move(struct monst *mtmp) 142 worm_nomove(struct monst *mtmp) 158 wormdead(struct monst *mtmp) 173 wormhit(struct monst *mtmp) 207 cutworm(struct monst *mtmp, xchar x, xchar y, uchar weptyp) 210 struct monst *mtmp2;
|
H A D | hack.mon.c | 82 static int dochugw(struct monst *); 83 static void mpickgold(struct monst *); 84 static void mpickgems(struct monst *); 86 static int ishuman(struct monst *); 91 struct monst *mtmp; 179 justswld(struct monst *mtmp, const char *name) 195 youswld(struct monst *mtmp, int dam, unsigned int die, const char *name) 213 dochugw(struct monst *mtmp) 233 dochug(struct monst *mtmp) 317 m_move(struct monst *mtm [all...] |
H A D | hack.makemon.c | 72 static const struct monst zeromonst; 82 struct monst * 85 struct monst *mtmp; 92 return ((struct monst *) 0); 95 return ((struct monst *) 0); 239 rloc(struct monst *mtmp) 265 struct monst *
|
H A D | hack.dog.c | 82 static void initedog(struct monst *); 88 struct monst *mtmp = makemon(&li_dog, u.ux, u.uy); 95 initedog(struct monst *mtmp) 107 struct monst *mydogs = 0; 108 struct monst *fallen_down = 0;/* monsters that fell through a trapdoor */ 114 struct monst *mtmp; 132 struct monst *mtmp; 147 fall_down(struct monst *mtmp) 190 dog_move(struct monst *mtmp, int after) 194 struct monst *mtmp [all...] |
H A D | hack.search.c | 78 struct monst *mtmp; 123 struct monst *mtmp; 198 wakeup(struct monst *mtmp) 208 seemimic(struct monst *mtmp)
|
H A D | hack.steal.c | 86 stealgold(struct monst *mtmp) 117 struct monst *mtmp; 143 steal(struct monst *mtmp) 231 mpickobj(struct monst *mtmp, struct obj *otmp) 238 stealamulet(struct monst *mtmp) 258 relobj(struct monst *mtmp, int show)
|
H A D | hack.shk.c | 78 static void pay(long, struct monst *); 87 struct monst *shopkeeper = 0; 129 shkdead(struct monst *m) 138 shk_move(struct monst *m) 143 replshk(struct monst *mtmp, struct monst *mtmp2) 147 shkname(struct monst *m) 165 static struct monst *shopkeeper = 0; 191 shkname(struct monst *mtmp) /* called in do_name.c */ 197 shkdead(struct monst *mtm [all...] |
H A D | hack.zap.c | 80 static void bhitm(struct monst *, struct obj *); 83 static int zhit(struct monst *, int); 91 bhitm(struct monst *mtmp, struct obj *otmp) 276 struct monst *mtmp = u.ustuck; 359 hit(const char *str, struct monst *mtmp, const char *force) 370 miss(const char *str, struct monst *mtmp) 388 struct monst * 392 void (*fhitm)(struct monst *, struct obj *), 396 struct monst *mtmp; 436 struct monst * [all...] |
H A D | hack.fight.c | 75 static void monstone(struct monst *); 79 hitmm(struct monst *magr, struct monst *mdef) 148 mondied(struct monst *mdef) 164 monstone(struct monst *mdef) 179 fightm(struct monst *mtmp) 181 struct monst *mon; 218 hmon(struct monst *mon, struct obj *obj, int thrown) 346 attack(struct monst *mtmp)
|
H A D | hack.save.c | 225 struct monst *mtmp; 270 struct monst * 273 struct monst *mtmp, *mtmp2 = NULL; 274 struct monst *first = 0; 296 mread(fd, mtmp, (unsigned) xl + sizeof(struct monst));
|
H A D | hack.h | 80 #include "def.monst.h" /* uses coord */ 175 struct monst *ustuck; 222 extern struct monst *mydogs; 223 extern struct monst youmonst;
|
H A D | hack.vault.c | 89 replgd(struct monst *mtmp __unused, struct monst *mtmp2 __unused) 117 static struct monst *guard; 163 struct monst *mtmp; 378 replgd(struct monst *mtmp, struct monst *mtmp2)
|
H A D | hack.apply.c | 79 static struct monst *bchit(int, int , int , int); 141 struct monst *mtmp; 270 static struct monst * 273 struct monst *mtmp = (struct monst *) 0; 300 struct monst *mtmp = fmon; 317 struct monst *mtmp = fmon; 441 struct monst *mtmp;
|
H A D | hack.lev.c | 160 savemonchn(int fd, struct monst *mtmp) 162 struct monst *mtmp2; 173 bwrite(fd, mtmp, xl + sizeof(struct monst)); 244 struct monst *mtmp, *mtmp2;
|
H A D | hack.pri.c | 276 struct monst *mtmp; 323 struct monst *mtmp; 393 struct monst *mtmp; 578 struct monst *mtmp; 641 struct monst *mtmp; 655 pmon(struct monst *mon) 674 unpmon(struct monst *mon) 783 mstatusline(struct monst *mtmp)
|
H A D | hack.mkshop.c | 96 struct monst *shk; 205 struct monst *mtmp; 226 struct monst *mon;
|
H A D | hack.potion.c | 78 struct monst *mtmp; 300 potionhit(struct monst *mon, struct obj *obj) 453 struct monst *mtmp;
|
H A D | hack.bones.c | 83 struct monst *mtmp;
|
H A D | hack.do.c | 280 struct monst *mtmp = m_at(u.ux, u.uy); 304 struct monst *mtmp; 334 struct monst *mon; 405 (void (*)(struct monst *, struct obj *)) 0,
|
/netbsd-current/games/larn/ |
H A D | monster.c | 12 * int cgood(x,y,itm,monst)Function to check location for emptiness 13 * int x,y,itm,monst; 27 * nospell(x,monst)Routine to return 1 if a spell doesn't affect a monster 28 * int x,monst; 30 * fullhit(xx) Function to return full damage against a monst (aka web) 57 * dirpoly(spnum) Routine to ask for a direction and polymorph a monst 69 * dropsomething(monst) Function to create an object when a monster dies 70 * int monst; 178 * int cgood(x,y,itm,monst) Function to check location for emptiness 179 * int x,y,itm,monst; 189 cgood(int x, int y, int theitem, int monst) argument 685 nospell(int x, int monst) argument 1121 int tmp, monst, damag = 0, flag; local 1173 int monst; local 1302 dropsomething(int monst) argument [all...] |