Symbol: monst
games/hack/def.monst.h
109
#define newmonst(xl) (struct monst *) alloc((unsigned)(xl) + sizeof(struct monst))
games/hack/def.monst.h
111
extern struct monst *fmon;
games/hack/def.monst.h
112
extern struct monst *fallen_down;
games/hack/def.monst.h
113
struct monst *m_at(int, int);
games/hack/def.monst.h
66
struct monst *nmon;
games/hack/hack.Decl.c
77
struct monst *fmon = 0;
games/hack/hack.Decl.c
85
struct monst youmonst; /* dummy; used as return value for boomhit */
games/hack/hack.apply.c
135
struct monst *mtmp;
games/hack/hack.apply.c
262
struct monst *
games/hack/hack.apply.c
265
struct monst *mtmp = (struct monst *) 0;
games/hack/hack.apply.c
290
struct monst *mtmp = fmon;
games/hack/hack.apply.c
306
struct monst *mtmp = fmon;
games/hack/hack.apply.c
431
struct monst *mtmp;
games/hack/hack.apply.c
77
static struct monst *bchit(int, int, int, char);
games/hack/hack.bones.c
80
struct monst *mtmp;
games/hack/hack.c
151
struct monst *mtmp;
games/hack/hack.c
544
struct monst *mtmp;
games/hack/hack.c
638
struct monst *mtmp;
games/hack/hack.c
830
losehp_m(int n, struct monst *mtmp)
games/hack/hack.do.c
272
{ struct monst *mtmp = m_at(u.ux, u.uy);
games/hack/hack.do.c
295
{ struct monst *mtmp;
games/hack/hack.do.c
325
struct monst *mon;
games/hack/hack.do.c
72
extern struct monst youmonst;
games/hack/hack.do_name.c
120
struct monst *mtmp, *mtmp2;
games/hack/hack.do_name.c
262
xmonnam(struct monst *mtmp, int vb)
games/hack/hack.do_name.c
301
lmonnam(struct monst *mtmp)
games/hack/hack.do_name.c
307
monnam(struct monst *mtmp)
games/hack/hack.do_name.c
313
Monnam(struct monst *mtmp)
games/hack/hack.do_name.c
322
amonnam(struct monst *mtmp, char *adj)
games/hack/hack.do_name.c
333
Amonnam(struct monst *mtmp, char *adj)
games/hack/hack.do_name.c
342
Xmonnam(struct monst *mtmp)
games/hack/hack.do_name.c
71
static char *lmonnam(struct monst *);
games/hack/hack.dog.c
103
struct monst *mydogs = 0;
games/hack/hack.dog.c
104
struct monst *fallen_down = 0; /* monsters that fell through a trapdoor */
games/hack/hack.dog.c
110
struct monst *mtmp;
games/hack/hack.dog.c
129
struct monst *mtmp;
games/hack/hack.dog.c
144
fall_down(struct monst *mtmp)
games/hack/hack.dog.c
186
dog_move(struct monst *mtmp, int after)
games/hack/hack.dog.c
190
struct monst *mtmp2;
games/hack/hack.dog.c
461
tamedog(struct monst *mtmp, struct obj *obj)
games/hack/hack.dog.c
463
struct monst *mtmp2;
games/hack/hack.dog.c
68
extern struct monst *makemon(struct permonst *, int, int);
games/hack/hack.dog.c
70
static void initedog(struct monst *);
games/hack/hack.dog.c
84
struct monst *mtmp = makemon(&li_dog,u.ux,u.uy);
games/hack/hack.dog.c
91
initedog(struct monst *mtmp)
games/hack/hack.end.c
144
done_in_by(struct monst *mtmp)
games/hack/hack.end.c
221
extern struct monst *mydogs;
games/hack/hack.end.c
222
struct monst *mtmp;
games/hack/hack.fight.c
137
mondied(struct monst *mdef)
games/hack/hack.fight.c
154
monstone(struct monst *mdef)
games/hack/hack.fight.c
169
fightm(struct monst *mtmp)
games/hack/hack.fight.c
171
struct monst *mon;
games/hack/hack.fight.c
204
hmon(struct monst *mon, struct obj *obj, int thrown)
games/hack/hack.fight.c
322
attack(struct monst *mtmp)
games/hack/hack.fight.c
73
static void monstone(struct monst *);
games/hack/hack.fight.c
77
hitmm(struct monst * magr, struct monst * mdef)
games/hack/hack.h
184
struct monst *ustuck;
games/hack/hack.h
246
void losehp_m(int, struct monst *);
games/hack/hack.h
284
char *xmonnam(struct monst *, int);
games/hack/hack.h
285
char *monnam(struct monst *);
games/hack/hack.h
286
char *Monnam(struct monst *);
games/hack/hack.h
287
char *amonnam(struct monst *, char *);
games/hack/hack.h
288
char *Amonnam(struct monst *, char *);
games/hack/hack.h
289
char *Xmonnam(struct monst *);
games/hack/hack.h
307
void fall_down(struct monst *);
games/hack/hack.h
308
int dog_move(struct monst *, int);
games/hack/hack.h
310
int tamedog(struct monst *, struct obj *);
games/hack/hack.h
328
void done_in_by(struct monst *);
games/hack/hack.h
347
int hitmm(struct monst *, struct monst *);
games/hack/hack.h
348
void mondied(struct monst *);
games/hack/hack.h
349
int fightm(struct monst *);
games/hack/hack.h
351
boolean hmon(struct monst *, struct obj *, int);
games/hack/hack.h
352
boolean attack(struct monst *);
games/hack/hack.h
362
struct monst *m_at(int, int);
games/hack/hack.h
398
void savemonchn(int, struct monst *);
games/hack/hack.h
414
struct monst *makemon(struct permonst *, int, int);
games/hack/hack.h
417
void rloc(struct monst *);
games/hack/hack.h
418
struct monst *mkmon_at(char, int, int);
games/hack/hack.h
421
int mhitu(struct monst *);
games/hack/hack.h
422
int hitu(struct monst *, int);
games/hack/hack.h
452
void justswld(struct monst *, char *);
games/hack/hack.h
453
void youswld(struct monst *, int, int, char *);
games/hack/hack.h
454
int dochug(struct monst *);
games/hack/hack.h
455
int m_move(struct monst *, int);
games/hack/hack.h
456
int mfndpos(struct monst *, coord pos[9], int info[9], int);
games/hack/hack.h
459
void mondead(struct monst *);
games/hack/hack.h
460
void replmon(struct monst *, struct monst *);
games/hack/hack.h
461
void relmon(struct monst *);
games/hack/hack.h
462
void monfree(struct monst *);
games/hack/hack.h
463
void unstuck(struct monst *);
games/hack/hack.h
464
void killed(struct monst *);
games/hack/hack.h
467
int newcham(struct monst *, struct permonst *);
games/hack/hack.h
468
void mnexto(struct monst *);
games/hack/hack.h
469
void setmangry(struct monst *);
games/hack/hack.h
470
int canseemon(struct monst *);
games/hack/hack.h
518
void potionhit(struct monst *, struct obj *);
games/hack/hack.h
550
void pmon(struct monst *);
games/hack/hack.h
551
void unpmon(struct monst *);
games/hack/hack.h
572
struct monst *restmonchn(int);
games/hack/hack.h
578
void wakeup(struct monst *);
games/hack/hack.h
579
void seemimic(struct monst *);
games/hack/hack.h
582
char *shkname(struct monst *);
games/hack/hack.h
583
void shkdead(struct monst *);
games/hack/hack.h
584
void replshk(struct monst *, struct monst *);
games/hack/hack.h
594
int shk_move(struct monst *);
games/hack/hack.h
597
int follower(struct monst *);
games/hack/hack.h
604
void stealgold(struct monst *);
games/hack/hack.h
606
int steal(struct monst *);
games/hack/hack.h
607
void mpickobj(struct monst *, struct obj *);
games/hack/hack.h
608
int stealamulet(struct monst *);
games/hack/hack.h
609
void relobj(struct monst *, int);
games/hack/hack.h
649
int mintrap(struct monst *);
games/hack/hack.h
696
void replgd(struct monst *, struct monst *);
games/hack/hack.h
709
int wiz_hit(struct monst *);
games/hack/hack.h
710
void inrange(struct monst *);
games/hack/hack.h
715
int getwn(struct monst *);
games/hack/hack.h
716
void initworm(struct monst *);
games/hack/hack.h
717
void worm_move(struct monst *);
games/hack/hack.h
718
void worm_nomove(struct monst *);
games/hack/hack.h
719
void wormdead(struct monst *);
games/hack/hack.h
720
void wormhit(struct monst *);
games/hack/hack.h
723
void cutworm(struct monst *, xchar, xchar, uchar);
games/hack/hack.h
731
void bhitm(struct monst *, struct obj *);
games/hack/hack.h
735
void hit(char *, struct monst *, char *);
games/hack/hack.h
736
void miss(char *, struct monst *);
games/hack/hack.h
737
struct monst *bhit(int, int, int, char,
games/hack/hack.h
738
void (*fhitm)(struct monst *, struct obj *),
games/hack/hack.h
740
struct monst *boomhit(int, int);
games/hack/hack.invent.c
243
struct monst *
games/hack/hack.invent.c
246
struct monst *mtmp;
games/hack/hack.lev.c
157
savemonchn(int fd, struct monst *mtmp)
games/hack/hack.lev.c
159
struct monst *mtmp2;
games/hack/hack.lev.c
170
bwrite(fd, mtmp, xl + sizeof(struct monst));
games/hack/hack.lev.c
240
struct monst *mtmp, *mtmp2;
games/hack/hack.main.c
317
{ struct monst *mtmp;
games/hack/hack.makemon.c
218
rloc(struct monst *mtmp)
games/hack/hack.makemon.c
242
struct monst *
games/hack/hack.makemon.c
67
struct monst zeromonst;
games/hack/hack.makemon.c
77
struct monst *
games/hack/hack.makemon.c
80
struct monst *mtmp;
games/hack/hack.makemon.c
85
if(x != 0 || y != 0) if(m_at(x,y)) return((struct monst *) 0);
games/hack/hack.makemon.c
87
if(strchr(fut_geno, ptr->mlet)) return((struct monst *) 0);
games/hack/hack.mhitu.c
382
hitu(struct monst *mtmp, int dam)
games/hack/hack.mhitu.c
66
extern struct monst *makemon(struct permonst *, int, int);
games/hack/hack.mhitu.c
73
mhitu(struct monst *mtmp)
games/hack/hack.mklev.c
755
struct monst *mtmp;
games/hack/hack.mkmaze.c
87
struct monst *mtmp;
games/hack/hack.mkshop.c
190
struct monst *mtmp;
games/hack/hack.mkshop.c
210
struct monst *mon;
games/hack/hack.mkshop.c
70
extern struct monst *makemon(struct permonst *, int, int);
games/hack/hack.mkshop.c
90
struct monst *shk;
games/hack/hack.mon.c
168
justswld(struct monst *mtmp, char *name)
games/hack/hack.mon.c
183
youswld(struct monst *mtmp, int dam, int die, char *name)
games/hack/hack.mon.c
197
dochugw(struct monst *mtmp)
games/hack/hack.mon.c
217
dochug(struct monst *mtmp)
games/hack/hack.mon.c
299
m_move(struct monst *mtmp, int after)
games/hack/hack.mon.c
301
struct monst *mtmp2;
games/hack/hack.mon.c
512
mpickgold(struct monst *mtmp)
games/hack/hack.mon.c
525
mpickgems(struct monst *mtmp)
games/hack/hack.mon.c
543
mfndpos(struct monst *mon, coord poss[9],int info[9], int flag)
games/hack/hack.mon.c
546
struct monst *mtmp;
games/hack/hack.mon.c
651
mondead(struct monst *mtmp)
games/hack/hack.mon.c
667
replmon(struct monst *mtmp, struct monst *mtmp2)
games/hack/hack.mon.c
679
relmon(struct monst *mon)
games/hack/hack.mon.c
681
struct monst *mtmp;
games/hack/hack.mon.c
692
struct monst *fdmon; /* chain of dead monsters, need not to be saved */
games/hack/hack.mon.c
695
monfree(struct monst *mtmp)
games/hack/hack.mon.c
704
struct monst *mtmp;
games/hack/hack.mon.c
713
unstuck(struct monst *mtmp)
games/hack/hack.mon.c
728
killed(struct monst *mtmp)
games/hack/hack.mon.c
76
static int dochugw(struct monst *);
games/hack/hack.mon.c
77
static void mpickgold(struct monst *);
games/hack/hack.mon.c
78
static void mpickgems(struct monst *);
games/hack/hack.mon.c
80
static int ishuman(struct monst *);
games/hack/hack.mon.c
844
struct monst *mtmp;
games/hack/hack.mon.c
85
struct monst *mtmp;
games/hack/hack.mon.c
856
newcham(struct monst *mtmp, struct permonst *mdat)
games/hack/hack.mon.c
895
mnexto(struct monst *mtmp)
games/hack/hack.mon.c
905
ishuman(struct monst *mtmp)
games/hack/hack.mon.c
911
setmangry(struct monst *mtmp)
games/hack/hack.mon.c
922
canseemon(struct monst *mtmp)
games/hack/hack.potion.c
288
potionhit(struct monst *mon, struct obj *obj)
games/hack/hack.potion.c
440
struct monst *mtmp;
games/hack/hack.potion.c
67
extern struct monst youmonst;
games/hack/hack.potion.c
68
extern struct monst *makemon(struct permonst *, int, int);
games/hack/hack.potion.c
76
struct monst *mtmp;
games/hack/hack.pri.c
265
struct monst *mtmp;
games/hack/hack.pri.c
305
struct monst *mtmp;
games/hack/hack.pri.c
377
struct monst *mtmp;
games/hack/hack.pri.c
551
struct monst *mtmp;
games/hack/hack.pri.c
595
struct monst *mtmp;
games/hack/hack.pri.c
609
pmon(struct monst *mon)
games/hack/hack.pri.c
629
unpmon(struct monst *mon)
games/hack/hack.pri.c
731
mstatusline(mtmp) struct monst *mtmp; {
games/hack/hack.read.c
158
struct monst *mtmp;
games/hack/hack.read.c
234
struct monst *mtmp;
games/hack/hack.read.c
244
struct monst *mtmp, *mtmp2;
games/hack/hack.read.c
437
struct monst *mtmp;
games/hack/hack.save.c
221
struct monst *mtmp;
games/hack/hack.save.c
260
struct monst *
games/hack/hack.save.c
263
struct monst *mtmp, *mtmp2;
games/hack/hack.save.c
264
struct monst *first = 0;
games/hack/hack.save.c
279
mread(fd, (char *) mtmp, (unsigned) xl + sizeof(struct monst));
games/hack/hack.search.c
116
struct monst *mtmp;
games/hack/hack.search.c
183
wakeup(struct monst *mtmp)
games/hack/hack.search.c
192
seemimic(struct monst *mtmp)
games/hack/hack.search.c
73
struct monst *mtmp;
games/hack/hack.shk.c
1129
follower(struct monst *mtmp)
games/hack/hack.shk.c
119
shkdead(struct monst *ign)
games/hack/hack.shk.c
129
shk_move(struct monst *ign)
games/hack/hack.shk.c
135
replshk(struct monst *mtmp, struct monst *mtmp2)
games/hack/hack.shk.c
139
shkname(struct monst *ign)
games/hack/hack.shk.c
157
static struct monst *shopkeeper = 0;
games/hack/hack.shk.c
186
static void pay(long, struct monst *);
games/hack/hack.shk.c
194
shkname(struct monst *mtmp)
games/hack/hack.shk.c
200
shkdead(struct monst *mtmp) /* called in mon.c */
games/hack/hack.shk.c
214
replshk(struct monst *mtmp, struct monst *mtmp2)
games/hack/hack.shk.c
228
struct monst *mtmp;
games/hack/hack.shk.c
295
struct monst *mtmp;
games/hack/hack.shk.c
364
struct monst *mtmp;
games/hack/hack.shk.c
430
pay(long tmp, struct monst *shkp)
games/hack/hack.shk.c
449
struct monst *shkp;
games/hack/hack.shk.c
633
struct monst *mtmp;
games/hack/hack.shk.c
71
struct monst *shopkeeper = 0;
games/hack/hack.shk.c
915
struct monst *shkp = shopkeeper;
games/hack/hack.shk.c
934
shk_move(struct monst *shkp)
games/hack/hack.shk.c
936
struct monst *mtmp;
games/hack/hack.steal.c
111
struct monst *mtmp;
games/hack/hack.steal.c
136
steal(struct monst *mtmp)
games/hack/hack.steal.c
217
mpickobj(struct monst *mtmp, struct obj *otmp)
games/hack/hack.steal.c
224
stealamulet(struct monst *mtmp)
games/hack/hack.steal.c
243
relobj(struct monst *mtmp, int show)
games/hack/hack.steal.c
79
stealgold(struct monst *mtmp)
games/hack/hack.trap.c
205
mintrap(struct monst *mtmp)
games/hack/hack.unix.c
342
struct monst *md;
games/hack/hack.unix.c
345
extern struct monst *makemon();
games/hack/hack.unix.c
369
mdrush(struct monst *md, boolean away)
games/hack/hack.unix.c
93
static void mdrush(struct monst *, boolean);
games/hack/hack.vault.c
108
static struct monst *guard;
games/hack/hack.vault.c
153
struct monst *mtmp;
games/hack/hack.vault.c
344
replgd(struct monst *mtmp, struct monst *mtmp2)
games/hack/hack.vault.c
84
replgd(struct monst *mtmp, struct monst *mtmp2)
games/hack/hack.vault.c
92
extern struct monst *makemon(struct permonst *, int, int);
games/hack/hack.wizard.c
103
wiz_hit(struct monst *mtmp)
games/hack/hack.wizard.c
149
inrange(struct monst *mtmp)
games/hack/hack.wizard.c
236
struct monst *mtmp;
games/hack/hack.wizard.c
246
clonewiz(struct monst *mtmp)
games/hack/hack.wizard.c
248
struct monst *mtmp2;
games/hack/hack.wizard.c
72
static void clonewiz(struct monst *);
games/hack/hack.wizard.c
84
struct monst *mtmp;
games/hack/hack.worm.c
104
worm_move(struct monst *mtmp)
games/hack/hack.worm.c
134
worm_nomove(struct monst *mtmp)
games/hack/hack.worm.c
149
wormdead(struct monst *mtmp)
games/hack/hack.worm.c
164
wormhit(struct monst *mtmp)
games/hack/hack.worm.c
198
cutworm(struct monst *mtmp, xchar x, xchar y, uchar weptyp)
games/hack/hack.worm.c
201
struct monst *mtmp2;
games/hack/hack.worm.c
76
getwn(struct monst *mtmp)
games/hack/hack.worm.c
89
initworm(struct monst *mtmp)
games/hack/hack.zap.c
256
struct monst *mtmp = u.ustuck;
games/hack/hack.zap.c
339
hit(char *str, struct monst *mtmp, char *force)
games/hack/hack.zap.c
346
miss(char *str, struct monst *mtmp)
games/hack/hack.zap.c
367
struct monst *
games/hack/hack.zap.c
369
void (*fhitm)(struct monst *, struct obj *),
games/hack/hack.zap.c
373
struct monst *mtmp;
games/hack/hack.zap.c
412
struct monst *
games/hack/hack.zap.c
416
struct monst *mtmp;
games/hack/hack.zap.c
475
struct monst *mon;
games/hack/hack.zap.c
617
zhit(struct monst *mon, int type)
games/hack/hack.zap.c
655
struct monst *mtmp;
games/hack/hack.zap.c
68
extern struct monst youmonst;
games/hack/hack.zap.c
79
static int zhit(struct monst *, int);
games/hack/hack.zap.c
87
bhitm(struct monst *mtmp, struct obj *otmp)