Symbol: monst
games/hack/def.monst.h
110
#define newmonst(xl) ((struct monst *) alloc((xl) + sizeof(struct monst)))
games/hack/def.monst.h
112
extern struct monst *fmon;
games/hack/def.monst.h
113
extern struct monst *fallen_down;
games/hack/def.monst.h
115
extern void *monster_private(struct monst *);
games/hack/def.monst.h
67
struct monst *nmon;
games/hack/extern.h
100
char *Monnam(struct monst *);
games/hack/extern.h
101
char *amonnam(struct monst *, const char *);
games/hack/extern.h
102
char *Amonnam(struct monst *, const char *);
games/hack/extern.h
103
char *Xmonnam(struct monst *);
games/hack/extern.h
121
void fall_down(struct monst *);
games/hack/extern.h
122
int dog_move(struct monst *, int);
games/hack/extern.h
124
int tamedog(struct monst *, struct obj *);
games/hack/extern.h
137
void done_in_by(struct monst *);
games/hack/extern.h
156
int hitmm(struct monst *, struct monst *);
games/hack/extern.h
157
void mondied(struct monst *);
games/hack/extern.h
158
int fightm(struct monst *);
games/hack/extern.h
160
boolean hmon(struct monst *, struct obj *, int);
games/hack/extern.h
161
int attack(struct monst *);
games/hack/extern.h
171
struct monst *m_at(int, int);
games/hack/extern.h
203
void savemonchn(int, struct monst *);
games/hack/extern.h
215
struct monst *makemon(const struct permonst *, int, int);
games/hack/extern.h
218
void rloc(struct monst *);
games/hack/extern.h
219
struct monst *mkmon_at(int, int, int);
games/hack/extern.h
222
int mhitu(struct monst *);
games/hack/extern.h
223
int hitu(struct monst *, int);
games/hack/extern.h
250
void justswld(struct monst *, const char *);
games/hack/extern.h
251
void youswld(struct monst *, int, unsigned int, const char *);
games/hack/extern.h
252
int dochug(struct monst *);
games/hack/extern.h
253
int m_move(struct monst *, int);
games/hack/extern.h
254
int mfndpos(struct monst *, coord[9 ], int[9 ], int);
games/hack/extern.h
257
void mondead(struct monst *);
games/hack/extern.h
258
void replmon(struct monst *, struct monst *);
games/hack/extern.h
259
void relmon(struct monst *);
games/hack/extern.h
260
void monfree(struct monst *);
games/hack/extern.h
261
void unstuck(struct monst *);
games/hack/extern.h
262
void killed(struct monst *);
games/hack/extern.h
265
int newcham(struct monst *, const struct permonst *);
games/hack/extern.h
266
void mnexto(struct monst *);
games/hack/extern.h
267
void setmangry(struct monst *);
games/hack/extern.h
268
int canseemon(struct monst *);
games/hack/extern.h
308
void potionhit(struct monst *, struct obj *);
games/hack/extern.h
339
void pmon(struct monst *);
games/hack/extern.h
340
void unpmon(struct monst *);
games/hack/extern.h
343
void mstatusline(struct monst *);
games/hack/extern.h
360
struct monst *restmonchn(int);
games/hack/extern.h
366
void wakeup(struct monst *);
games/hack/extern.h
367
void seemimic(struct monst *);
games/hack/extern.h
372
char *shkname(struct monst *);
games/hack/extern.h
373
void shkdead(struct monst *);
games/hack/extern.h
374
void replshk(struct monst *, struct monst *);
games/hack/extern.h
383
int shk_move(struct monst *);
games/hack/extern.h
386
int follower(struct monst *);
games/hack/extern.h
393
void stealgold(struct monst *);
games/hack/extern.h
394
int steal(struct monst *);
games/hack/extern.h
395
void mpickobj(struct monst *, struct obj *);
games/hack/extern.h
396
int stealamulet(struct monst *);
games/hack/extern.h
397
void relobj(struct monst *, int);
games/hack/extern.h
437
int mintrap(struct monst *);
games/hack/extern.h
479
void mdrush(struct monst *, boolean);
games/hack/extern.h
487
void replgd(struct monst *, struct monst *);
games/hack/extern.h
501
int wiz_hit(struct monst *);
games/hack/extern.h
502
void inrange(struct monst *);
games/hack/extern.h
506
int getwn(struct monst *);
games/hack/extern.h
507
void initworm(struct monst *);
games/hack/extern.h
508
void worm_move(struct monst *);
games/hack/extern.h
509
void worm_nomove(struct monst *);
games/hack/extern.h
510
void wormdead(struct monst *);
games/hack/extern.h
511
void wormhit(struct monst *);
games/hack/extern.h
515
void cutworm(struct monst *, xchar, xchar, uchar);
games/hack/extern.h
525
void hit(const char *, struct monst *, const char *);
games/hack/extern.h
526
void miss(const char *, struct monst *);
games/hack/extern.h
527
struct monst *bhit(int, int, int, int,
games/hack/extern.h
528
void (*)(struct monst *, struct obj *),
games/hack/extern.h
531
struct monst *boomhit(int, int);
games/hack/extern.h
65
void losehp_m(int, struct monst *);
games/hack/extern.h
99
char *monnam(struct monst *);
games/hack/hack.Decl.c
83
struct monst *fmon = 0;
games/hack/hack.Decl.c
91
struct monst youmonst; /* dummy; used as return value for boomhit */
games/hack/hack.apply.c
141
struct monst *mtmp;
games/hack/hack.apply.c
270
static struct monst *
games/hack/hack.apply.c
273
struct monst *mtmp = (struct monst *) 0;
games/hack/hack.apply.c
300
struct monst *mtmp = fmon;
games/hack/hack.apply.c
317
struct monst *mtmp = fmon;
games/hack/hack.apply.c
441
struct monst *mtmp;
games/hack/hack.apply.c
79
static struct monst *bchit(int, int , int , int);
games/hack/hack.bones.c
83
struct monst *mtmp;
games/hack/hack.c
150
struct monst *mtmp = NULL;
games/hack/hack.c
568
struct monst *mtmp;
games/hack/hack.c
678
struct monst *mtmp;
games/hack/hack.c
905
losehp_m(int n, struct monst *mtmp)
games/hack/hack.do.c
280
struct monst *mtmp = m_at(u.ux, u.uy);
games/hack/hack.do.c
304
struct monst *mtmp;
games/hack/hack.do.c
334
struct monst *mon;
games/hack/hack.do.c
405
(void (*)(struct monst *, struct obj *)) 0,
games/hack/hack.do_name.c
125
struct monst *mtmp, *mtmp2;
games/hack/hack.do_name.c
274
xmonnam(struct monst *mtmp, int vb)
games/hack/hack.do_name.c
313
lmonnam(struct monst *mtmp)
games/hack/hack.do_name.c
319
monnam(struct monst *mtmp)
games/hack/hack.do_name.c
325
Monnam(struct monst *mtmp)
games/hack/hack.do_name.c
334
amonnam(struct monst *mtmp, const char *adj)
games/hack/hack.do_name.c
346
Amonnam(struct monst *mtmp, const char *adj)
games/hack/hack.do_name.c
355
Xmonnam(struct monst *mtmp)
games/hack/hack.do_name.c
74
static char *xmonnam(struct monst *, int);
games/hack/hack.do_name.c
75
static char *lmonnam(struct monst *);
games/hack/hack.dog.c
107
struct monst *mydogs = 0;
games/hack/hack.dog.c
108
struct monst *fallen_down = 0;/* monsters that fell through a trapdoor */
games/hack/hack.dog.c
114
struct monst *mtmp;
games/hack/hack.dog.c
132
struct monst *mtmp;
games/hack/hack.dog.c
147
fall_down(struct monst *mtmp)
games/hack/hack.dog.c
190
dog_move(struct monst *mtmp, int after)
games/hack/hack.dog.c
194
struct monst *mtmp2;
games/hack/hack.dog.c
491
tamedog(struct monst *mtmp, struct obj *obj)
games/hack/hack.dog.c
493
struct monst *mtmp2;
games/hack/hack.dog.c
82
static void initedog(struct monst *);
games/hack/hack.dog.c
88
struct monst *mtmp = makemon(&li_dog, u.ux, u.uy);
games/hack/hack.dog.c
95
initedog(struct monst *mtmp)
games/hack/hack.end.c
133
done_in_by(struct monst *mtmp)
games/hack/hack.end.c
225
struct monst *mtmp;
games/hack/hack.fight.c
148
mondied(struct monst *mdef)
games/hack/hack.fight.c
164
monstone(struct monst *mdef)
games/hack/hack.fight.c
179
fightm(struct monst *mtmp)
games/hack/hack.fight.c
181
struct monst *mon;
games/hack/hack.fight.c
218
hmon(struct monst *mon, struct obj *obj, int thrown)
games/hack/hack.fight.c
346
attack(struct monst *mtmp)
games/hack/hack.fight.c
75
static void monstone(struct monst *);
games/hack/hack.fight.c
79
hitmm(struct monst *magr, struct monst *mdef)
games/hack/hack.h
175
struct monst *ustuck;
games/hack/hack.h
222
extern struct monst *mydogs;
games/hack/hack.h
223
extern struct monst youmonst;
games/hack/hack.invent.c
259
struct monst *
games/hack/hack.invent.c
262
struct monst *mtmp;
games/hack/hack.lev.c
160
savemonchn(int fd, struct monst *mtmp)
games/hack/hack.lev.c
162
struct monst *mtmp2;
games/hack/hack.lev.c
173
bwrite(fd, mtmp, xl + sizeof(struct monst));
games/hack/hack.lev.c
244
struct monst *mtmp, *mtmp2;
games/hack/hack.main.c
341
struct monst *mtmp;
games/hack/hack.makemon.c
239
rloc(struct monst *mtmp)
games/hack/hack.makemon.c
265
struct monst *
games/hack/hack.makemon.c
72
static const struct monst zeromonst;
games/hack/hack.makemon.c
82
struct monst *
games/hack/hack.makemon.c
85
struct monst *mtmp;
games/hack/hack.makemon.c
92
return ((struct monst *) 0);
games/hack/hack.makemon.c
95
return ((struct monst *) 0);
games/hack/hack.mhitu.c
404
hitu(struct monst *mtmp, int dam)
games/hack/hack.mhitu.c
77
mhitu(struct monst *mtmp)
games/hack/hack.mklev.c
794
struct monst *mtmp;
games/hack/hack.mkmaze.c
92
struct monst *mtmp;
games/hack/hack.mkshop.c
205
struct monst *mtmp;
games/hack/hack.mkshop.c
226
struct monst *mon;
games/hack/hack.mkshop.c
96
struct monst *shk;
games/hack/hack.mon.c
1000
setmangry(struct monst *mtmp)
games/hack/hack.mon.c
1016
canseemon(struct monst *mtmp)
games/hack/hack.mon.c
179
justswld(struct monst *mtmp, const char *name)
games/hack/hack.mon.c
195
youswld(struct monst *mtmp, int dam, unsigned int die, const char *name)
games/hack/hack.mon.c
213
dochugw(struct monst *mtmp)
games/hack/hack.mon.c
233
dochug(struct monst *mtmp)
games/hack/hack.mon.c
317
m_move(struct monst *mtmp, int after)
games/hack/hack.mon.c
319
struct monst *mtmp2;
games/hack/hack.mon.c
547
mpickgold(struct monst *mtmp)
games/hack/hack.mon.c
559
mpickgems(struct monst *mtmp)
games/hack/hack.mon.c
576
mfndpos(struct monst *mon, coord poss[9], int info[9], int flag)
games/hack/hack.mon.c
579
struct monst *mtmp;
games/hack/hack.mon.c
702
mondead(struct monst *mtmp)
games/hack/hack.mon.c
721
replmon(struct monst *mtmp, struct monst *mtmp2)
games/hack/hack.mon.c
736
relmon(struct monst *mon)
games/hack/hack.mon.c
738
struct monst *mtmp;
games/hack/hack.mon.c
752
static struct monst *fdmon; /* chain of dead monsters, need not to be
games/hack/hack.mon.c
756
monfree(struct monst *mtmp)
games/hack/hack.mon.c
765
struct monst *mtmp;
games/hack/hack.mon.c
773
unstuck(struct monst *mtmp)
games/hack/hack.mon.c
788
killed(struct monst *mtmp)
games/hack/hack.mon.c
82
static int dochugw(struct monst *);
games/hack/hack.mon.c
83
static void mpickgold(struct monst *);
games/hack/hack.mon.c
84
static void mpickgems(struct monst *);
games/hack/hack.mon.c
86
static int ishuman(struct monst *);
games/hack/hack.mon.c
91
struct monst *mtmp;
games/hack/hack.mon.c
929
struct monst *mtmp;
games/hack/hack.mon.c
941
newcham(struct monst *mtmp, const struct permonst *mdat)
games/hack/hack.mon.c
984
mnexto(struct monst *mtmp)
games/hack/hack.mon.c
994
ishuman(struct monst *mtmp)
games/hack/hack.monst.c
147
monster_private(struct monst *mon)
games/hack/hack.potion.c
300
potionhit(struct monst *mon, struct obj *obj)
games/hack/hack.potion.c
453
struct monst *mtmp;
games/hack/hack.potion.c
78
struct monst *mtmp;
games/hack/hack.pri.c
276
struct monst *mtmp;
games/hack/hack.pri.c
323
struct monst *mtmp;
games/hack/hack.pri.c
393
struct monst *mtmp;
games/hack/hack.pri.c
578
struct monst *mtmp;
games/hack/hack.pri.c
641
struct monst *mtmp;
games/hack/hack.pri.c
655
pmon(struct monst *mon)
games/hack/hack.pri.c
674
unpmon(struct monst *mon)
games/hack/hack.pri.c
783
mstatusline(struct monst *mtmp)
games/hack/hack.read.c
167
struct monst *mtmp;
games/hack/hack.read.c
246
struct monst *mtmp;
games/hack/hack.read.c
257
struct monst *mtmp, *mtmp2;
games/hack/hack.read.c
470
struct monst *mtmp;
games/hack/hack.save.c
225
struct monst *mtmp;
games/hack/hack.save.c
270
struct monst *
games/hack/hack.save.c
273
struct monst *mtmp, *mtmp2 = NULL;
games/hack/hack.save.c
274
struct monst *first = 0;
games/hack/hack.save.c
296
mread(fd, mtmp, (unsigned) xl + sizeof(struct monst));
games/hack/hack.search.c
123
struct monst *mtmp;
games/hack/hack.search.c
198
wakeup(struct monst *mtmp)
games/hack/hack.search.c
208
seemimic(struct monst *mtmp)
games/hack/hack.search.c
78
struct monst *mtmp;
games/hack/hack.shk.c
1140
follower(struct monst *mtmp)
games/hack/hack.shk.c
129
shkdead(struct monst *m)
games/hack/hack.shk.c
138
shk_move(struct monst *m)
games/hack/hack.shk.c
143
replshk(struct monst *mtmp, struct monst *mtmp2)
games/hack/hack.shk.c
147
shkname(struct monst *m)
games/hack/hack.shk.c
165
static struct monst *shopkeeper = 0;
games/hack/hack.shk.c
191
shkname(struct monst *mtmp) /* called in do_name.c */
games/hack/hack.shk.c
197
shkdead(struct monst *mtmp) /* called in mon.c */
games/hack/hack.shk.c
212
replshk(struct monst *mtmp, struct monst *mtmp2)
games/hack/hack.shk.c
225
struct monst *mtmp;
games/hack/hack.shk.c
288
struct monst *mtmp;
games/hack/hack.shk.c
354
struct monst *mtmp;
games/hack/hack.shk.c
426
pay(long tmp, struct monst *shkp)
games/hack/hack.shk.c
446
struct monst *shkp;
games/hack/hack.shk.c
637
struct monst *mtmp;
games/hack/hack.shk.c
78
static void pay(long, struct monst *);
games/hack/hack.shk.c
87
struct monst *shopkeeper = 0;
games/hack/hack.shk.c
919
struct monst *shkp = shopkeeper;
games/hack/hack.shk.c
938
shk_move(struct monst *shkp)
games/hack/hack.shk.c
940
struct monst *mtmp;
games/hack/hack.steal.c
117
struct monst *mtmp;
games/hack/hack.steal.c
143
steal(struct monst *mtmp)
games/hack/hack.steal.c
231
mpickobj(struct monst *mtmp, struct obj *otmp)
games/hack/hack.steal.c
238
stealamulet(struct monst *mtmp)
games/hack/hack.steal.c
258
relobj(struct monst *mtmp, int show)
games/hack/hack.steal.c
86
stealgold(struct monst *mtmp)
games/hack/hack.trap.c
211
mintrap(struct monst *mtmp)
games/hack/hack.unix.c
421
struct monst *md;
games/hack/hack.unix.c
443
mdrush(struct monst *md, boolean away)
games/hack/hack.vault.c
117
static struct monst *guard;
games/hack/hack.vault.c
163
struct monst *mtmp;
games/hack/hack.vault.c
378
replgd(struct monst *mtmp, struct monst *mtmp2)
games/hack/hack.vault.c
89
replgd(struct monst *mtmp __unused, struct monst *mtmp2 __unused)
games/hack/hack.wizard.c
109
wiz_hit(struct monst *mtmp)
games/hack/hack.wizard.c
156
inrange(struct monst *mtmp)
games/hack/hack.wizard.c
262
struct monst *mtmp;
games/hack/hack.wizard.c
272
clonewiz(struct monst *mtmp)
games/hack/hack.wizard.c
274
struct monst *mtmp2;
games/hack/hack.wizard.c
82
static void clonewiz(struct monst *);
games/hack/hack.wizard.c
90
struct monst *mtmp;
games/hack/hack.worm.c
110
worm_move(struct monst *mtmp)
games/hack/hack.worm.c
142
worm_nomove(struct monst *mtmp)
games/hack/hack.worm.c
158
wormdead(struct monst *mtmp)
games/hack/hack.worm.c
173
wormhit(struct monst *mtmp)
games/hack/hack.worm.c
207
cutworm(struct monst *mtmp, xchar x, xchar y, uchar weptyp)
games/hack/hack.worm.c
210
struct monst *mtmp2;
games/hack/hack.worm.c
82
getwn(struct monst *mtmp)
games/hack/hack.worm.c
95
initworm(struct monst *mtmp)
games/hack/hack.zap.c
276
struct monst *mtmp = u.ustuck;
games/hack/hack.zap.c
359
hit(const char *str, struct monst *mtmp, const char *force)
games/hack/hack.zap.c
370
miss(const char *str, struct monst *mtmp)
games/hack/hack.zap.c
388
struct monst *
games/hack/hack.zap.c
392
void (*fhitm)(struct monst *, struct obj *),
games/hack/hack.zap.c
396
struct monst *mtmp;
games/hack/hack.zap.c
436
struct monst *
games/hack/hack.zap.c
440
struct monst *mtmp;
games/hack/hack.zap.c
503
struct monst *mon;
games/hack/hack.zap.c
650
zhit(struct monst *mon, int type) /* returns damage to mon */
games/hack/hack.zap.c
692
struct monst *mtmp = NULL;
games/hack/hack.zap.c
80
static void bhitm(struct monst *, struct obj *);
games/hack/hack.zap.c
83
static int zhit(struct monst *, int);
games/hack/hack.zap.c
91
bhitm(struct monst *mtmp, struct obj *otmp)
games/larn/data.c
220
struct monst monster[] = {
games/larn/header.h
371
extern struct monst monster[];
games/larn/monster.c
1121
int tmp, monst, damag = 0, flag;
games/larn/monster.c
1125
if ((monst = mitem[x][y]) == 0)
games/larn/monster.c
1129
tmp = monster[monst].armorclass + c[LEVEL] + c[DEXTERITY] +
games/larn/monster.c
1146
if ((monst == RUSTMONSTER) || (monst == DISENCHANTRESS) || (monst == CUBE))
games/larn/monster.c
1155
if (monst == VAMPIRE)
games/larn/monster.c
1173
int monst;
games/larn/monster.c
1177
monst = mitem[x][y];
games/larn/monster.c
1187
switch (monst) { /* if a dragon and orb(s) of dragon slaying */
games/larn/monster.c
1198
if (hitp[x][y] > monster[monst].hitpoints)
games/larn/monster.c
1199
hitp[x][y] = monster[monst].hitpoints;
games/larn/monster.c
1205
raiseexperience((long) monster[monst].experience);
games/larn/monster.c
1206
amt = monster[monst].gold;
games/larn/monster.c
1209
dropsomething(monst);
games/larn/monster.c
1302
dropsomething(int monst)
games/larn/monster.c
1304
switch (monst) {
games/larn/monster.c
189
cgood(int x, int y, int theitem, int monst)
games/larn/monster.c
198
if (monst == 0 || (mitem[x][y] == 0))
games/larn/monster.c
685
nospell(int x, int monst)
games/larn/monster.c
688
if (x >= SPNUM || monst >= MAXMONST + 8 || monst < 0 || x < 0)
games/larn/monster.c
690
if ((tmp = spelweird[monst - 1][x]) == 0)
games/larn/monster.c
694
lprintf(spelmes[tmp], monster[monst].name);
games/larn/movem.c
137
int k, m, z, tmp, xtmp, ytmp, monst;
games/larn/movem.c
138
switch (monst = mitem[i][j]) { /* for half speed monsters */
games/larn/movem.c
165
if (monster[monst].intelligence > 10 - c[HARDGAME]) { /* if smart monster */
games/larn/tok.c
138
struct monst *mp;