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
78
struct monst *fmon = 0;
games/hack/hack.Decl.c
86
struct monst youmonst; /* dummy; used as return value for boomhit */
games/hack/hack.apply.c
136
struct monst *mtmp;
games/hack/hack.apply.c
265
static struct monst *
games/hack/hack.apply.c
268
struct monst *mtmp = (struct monst *) 0;
games/hack/hack.apply.c
295
struct monst *mtmp = fmon;
games/hack/hack.apply.c
312
struct monst *mtmp = fmon;
games/hack/hack.apply.c
436
struct monst *mtmp;
games/hack/hack.apply.c
74
static struct monst *bchit(int, int , int , int);
games/hack/hack.bones.c
78
struct monst *mtmp;
games/hack/hack.c
145
struct monst *mtmp = NULL;
games/hack/hack.c
563
struct monst *mtmp;
games/hack/hack.c
673
struct monst *mtmp;
games/hack/hack.c
900
losehp_m(int n, struct monst *mtmp)
games/hack/hack.do.c
275
struct monst *mtmp = m_at(u.ux, u.uy);
games/hack/hack.do.c
299
struct monst *mtmp;
games/hack/hack.do.c
329
struct monst *mon;
games/hack/hack.do.c
400
(void (*)(struct monst *, struct obj *)) 0,
games/hack/hack.do_name.c
120
struct monst *mtmp, *mtmp2;
games/hack/hack.do_name.c
269
xmonnam(struct monst *mtmp, int vb)
games/hack/hack.do_name.c
308
lmonnam(struct monst *mtmp)
games/hack/hack.do_name.c
314
monnam(struct monst *mtmp)
games/hack/hack.do_name.c
320
Monnam(struct monst *mtmp)
games/hack/hack.do_name.c
329
amonnam(struct monst *mtmp, const char *adj)
games/hack/hack.do_name.c
341
Amonnam(struct monst *mtmp, const char *adj)
games/hack/hack.do_name.c
350
Xmonnam(struct monst *mtmp)
games/hack/hack.do_name.c
69
static char *xmonnam(struct monst *, int);
games/hack/hack.do_name.c
70
static char *lmonnam(struct monst *);
games/hack/hack.dog.c
102
struct monst *mydogs = 0;
games/hack/hack.dog.c
103
struct monst *fallen_down = 0;/* monsters that fell through a trapdoor */
games/hack/hack.dog.c
109
struct monst *mtmp;
games/hack/hack.dog.c
127
struct monst *mtmp;
games/hack/hack.dog.c
142
fall_down(struct monst *mtmp)
games/hack/hack.dog.c
185
dog_move(struct monst *mtmp, int after)
games/hack/hack.dog.c
189
struct monst *mtmp2;
games/hack/hack.dog.c
486
tamedog(struct monst *mtmp, struct obj *obj)
games/hack/hack.dog.c
488
struct monst *mtmp2;
games/hack/hack.dog.c
77
static void initedog(struct monst *);
games/hack/hack.dog.c
83
struct monst *mtmp = makemon(&li_dog, u.ux, u.uy);
games/hack/hack.dog.c
90
initedog(struct monst *mtmp)
games/hack/hack.end.c
128
done_in_by(struct monst *mtmp)
games/hack/hack.end.c
220
struct monst *mtmp;
games/hack/hack.fight.c
143
mondied(struct monst *mdef)
games/hack/hack.fight.c
159
monstone(struct monst *mdef)
games/hack/hack.fight.c
174
fightm(struct monst *mtmp)
games/hack/hack.fight.c
176
struct monst *mon;
games/hack/hack.fight.c
213
hmon(struct monst *mon, struct obj *obj, int thrown)
games/hack/hack.fight.c
341
attack(struct monst *mtmp)
games/hack/hack.fight.c
70
static void monstone(struct monst *);
games/hack/hack.fight.c
74
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
254
struct monst *
games/hack/hack.invent.c
257
struct monst *mtmp;
games/hack/hack.lev.c
155
savemonchn(int fd, struct monst *mtmp)
games/hack/hack.lev.c
157
struct monst *mtmp2;
games/hack/hack.lev.c
168
bwrite(fd, mtmp, xl + sizeof(struct monst));
games/hack/hack.lev.c
239
struct monst *mtmp, *mtmp2;
games/hack/hack.main.c
336
struct monst *mtmp;
games/hack/hack.makemon.c
234
rloc(struct monst *mtmp)
games/hack/hack.makemon.c
260
struct monst *
games/hack/hack.makemon.c
67
static const 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
87
return ((struct monst *) 0);
games/hack/hack.makemon.c
90
return ((struct monst *) 0);
games/hack/hack.mhitu.c
399
hitu(struct monst *mtmp, int dam)
games/hack/hack.mhitu.c
72
mhitu(struct monst *mtmp)
games/hack/hack.mklev.c
789
struct monst *mtmp;
games/hack/hack.mkmaze.c
87
struct monst *mtmp;
games/hack/hack.mkshop.c
200
struct monst *mtmp;
games/hack/hack.mkshop.c
221
struct monst *mon;
games/hack/hack.mkshop.c
91
struct monst *shk;
games/hack/hack.mon.c
1011
canseemon(struct monst *mtmp)
games/hack/hack.mon.c
174
justswld(struct monst *mtmp, const char *name)
games/hack/hack.mon.c
190
youswld(struct monst *mtmp, int dam, unsigned int die, const char *name)
games/hack/hack.mon.c
208
dochugw(struct monst *mtmp)
games/hack/hack.mon.c
228
dochug(struct monst *mtmp)
games/hack/hack.mon.c
312
m_move(struct monst *mtmp, int after)
games/hack/hack.mon.c
314
struct monst *mtmp2;
games/hack/hack.mon.c
542
mpickgold(struct monst *mtmp)
games/hack/hack.mon.c
554
mpickgems(struct monst *mtmp)
games/hack/hack.mon.c
571
mfndpos(struct monst *mon, coord poss[9], int info[9], int flag)
games/hack/hack.mon.c
574
struct monst *mtmp;
games/hack/hack.mon.c
697
mondead(struct monst *mtmp)
games/hack/hack.mon.c
716
replmon(struct monst *mtmp, struct monst *mtmp2)
games/hack/hack.mon.c
731
relmon(struct monst *mon)
games/hack/hack.mon.c
733
struct monst *mtmp;
games/hack/hack.mon.c
747
static struct monst *fdmon; /* chain of dead monsters, need not to be
games/hack/hack.mon.c
751
monfree(struct monst *mtmp)
games/hack/hack.mon.c
760
struct monst *mtmp;
games/hack/hack.mon.c
768
unstuck(struct monst *mtmp)
games/hack/hack.mon.c
77
static int dochugw(struct monst *);
games/hack/hack.mon.c
78
static void mpickgold(struct monst *);
games/hack/hack.mon.c
783
killed(struct monst *mtmp)
games/hack/hack.mon.c
79
static void mpickgems(struct monst *);
games/hack/hack.mon.c
81
static int ishuman(struct monst *);
games/hack/hack.mon.c
86
struct monst *mtmp;
games/hack/hack.mon.c
924
struct monst *mtmp;
games/hack/hack.mon.c
936
newcham(struct monst *mtmp, const struct permonst *mdat)
games/hack/hack.mon.c
979
mnexto(struct monst *mtmp)
games/hack/hack.mon.c
989
ishuman(struct monst *mtmp)
games/hack/hack.mon.c
995
setmangry(struct monst *mtmp)
games/hack/hack.monst.c
142
monster_private(struct monst *mon)
games/hack/hack.potion.c
295
potionhit(struct monst *mon, struct obj *obj)
games/hack/hack.potion.c
448
struct monst *mtmp;
games/hack/hack.potion.c
73
struct monst *mtmp;
games/hack/hack.pri.c
271
struct monst *mtmp;
games/hack/hack.pri.c
318
struct monst *mtmp;
games/hack/hack.pri.c
388
struct monst *mtmp;
games/hack/hack.pri.c
573
struct monst *mtmp;
games/hack/hack.pri.c
636
struct monst *mtmp;
games/hack/hack.pri.c
650
pmon(struct monst *mon)
games/hack/hack.pri.c
669
unpmon(struct monst *mon)
games/hack/hack.pri.c
778
mstatusline(struct monst *mtmp)
games/hack/hack.read.c
162
struct monst *mtmp;
games/hack/hack.read.c
241
struct monst *mtmp;
games/hack/hack.read.c
252
struct monst *mtmp, *mtmp2;
games/hack/hack.read.c
465
struct monst *mtmp;
games/hack/hack.save.c
220
struct monst *mtmp;
games/hack/hack.save.c
265
struct monst *
games/hack/hack.save.c
268
struct monst *mtmp, *mtmp2 = NULL;
games/hack/hack.save.c
269
struct monst *first = 0;
games/hack/hack.save.c
291
mread(fd, mtmp, (unsigned) xl + sizeof(struct monst));
games/hack/hack.search.c
118
struct monst *mtmp;
games/hack/hack.search.c
193
wakeup(struct monst *mtmp)
games/hack/hack.search.c
203
seemimic(struct monst *mtmp)
games/hack/hack.search.c
73
struct monst *mtmp;
games/hack/hack.shk.c
1135
follower(struct monst *mtmp)
games/hack/hack.shk.c
124
shkdead(struct monst *m)
games/hack/hack.shk.c
133
shk_move(struct monst *m)
games/hack/hack.shk.c
138
replshk(struct monst *mtmp, struct monst *mtmp2)
games/hack/hack.shk.c
142
shkname(struct monst *m)
games/hack/hack.shk.c
160
static struct monst *shopkeeper = 0;
games/hack/hack.shk.c
186
shkname(struct monst *mtmp) /* called in do_name.c */
games/hack/hack.shk.c
192
shkdead(struct monst *mtmp) /* called in mon.c */
games/hack/hack.shk.c
207
replshk(struct monst *mtmp, struct monst *mtmp2)
games/hack/hack.shk.c
220
struct monst *mtmp;
games/hack/hack.shk.c
283
struct monst *mtmp;
games/hack/hack.shk.c
349
struct monst *mtmp;
games/hack/hack.shk.c
421
pay(long tmp, struct monst *shkp)
games/hack/hack.shk.c
441
struct monst *shkp;
games/hack/hack.shk.c
632
struct monst *mtmp;
games/hack/hack.shk.c
73
static void pay(long, struct monst *);
games/hack/hack.shk.c
82
struct monst *shopkeeper = 0;
games/hack/hack.shk.c
914
struct monst *shkp = shopkeeper;
games/hack/hack.shk.c
933
shk_move(struct monst *shkp)
games/hack/hack.shk.c
935
struct monst *mtmp;
games/hack/hack.steal.c
112
struct monst *mtmp;
games/hack/hack.steal.c
138
steal(struct monst *mtmp)
games/hack/hack.steal.c
226
mpickobj(struct monst *mtmp, struct obj *otmp)
games/hack/hack.steal.c
233
stealamulet(struct monst *mtmp)
games/hack/hack.steal.c
253
relobj(struct monst *mtmp, int show)
games/hack/hack.steal.c
81
stealgold(struct monst *mtmp)
games/hack/hack.trap.c
206
mintrap(struct monst *mtmp)
games/hack/hack.unix.c
416
struct monst *md;
games/hack/hack.unix.c
438
mdrush(struct monst *md, boolean away)
games/hack/hack.vault.c
112
static struct monst *guard;
games/hack/hack.vault.c
158
struct monst *mtmp;
games/hack/hack.vault.c
373
replgd(struct monst *mtmp, struct monst *mtmp2)
games/hack/hack.vault.c
84
replgd(struct monst *mtmp __unused, struct monst *mtmp2 __unused)
games/hack/hack.wizard.c
104
wiz_hit(struct monst *mtmp)
games/hack/hack.wizard.c
151
inrange(struct monst *mtmp)
games/hack/hack.wizard.c
257
struct monst *mtmp;
games/hack/hack.wizard.c
267
clonewiz(struct monst *mtmp)
games/hack/hack.wizard.c
269
struct monst *mtmp2;
games/hack/hack.wizard.c
77
static void clonewiz(struct monst *);
games/hack/hack.wizard.c
85
struct monst *mtmp;
games/hack/hack.worm.c
105
worm_move(struct monst *mtmp)
games/hack/hack.worm.c
137
worm_nomove(struct monst *mtmp)
games/hack/hack.worm.c
153
wormdead(struct monst *mtmp)
games/hack/hack.worm.c
168
wormhit(struct monst *mtmp)
games/hack/hack.worm.c
202
cutworm(struct monst *mtmp, xchar x, xchar y, uchar weptyp)
games/hack/hack.worm.c
205
struct monst *mtmp2;
games/hack/hack.worm.c
77
getwn(struct monst *mtmp)
games/hack/hack.worm.c
90
initworm(struct monst *mtmp)
games/hack/hack.zap.c
271
struct monst *mtmp = u.ustuck;
games/hack/hack.zap.c
354
hit(const char *str, struct monst *mtmp, const char *force)
games/hack/hack.zap.c
365
miss(const char *str, struct monst *mtmp)
games/hack/hack.zap.c
383
struct monst *
games/hack/hack.zap.c
387
void (*fhitm)(struct monst *, struct obj *),
games/hack/hack.zap.c
391
struct monst *mtmp;
games/hack/hack.zap.c
431
struct monst *
games/hack/hack.zap.c
435
struct monst *mtmp;
games/hack/hack.zap.c
498
struct monst *mon;
games/hack/hack.zap.c
645
zhit(struct monst *mon, int type) /* returns damage to mon */
games/hack/hack.zap.c
687
struct monst *mtmp = NULL;
games/hack/hack.zap.c
75
static void bhitm(struct monst *, struct obj *);
games/hack/hack.zap.c
78
static int zhit(struct monst *, int);
games/hack/hack.zap.c
86
bhitm(struct monst *mtmp, struct obj *otmp)
games/larn/data.c
197
struct monst monster[] = {
games/larn/header.h
353
extern struct monst monster[];
games/larn/monster.c
1101
int tmp, monst, damag = 0, flag;
games/larn/monster.c
1105
if ((monst = mitem[x][y]) == 0)
games/larn/monster.c
1109
tmp = monster[monst].armorclass + c[LEVEL] + c[DEXTERITY] +
games/larn/monster.c
1126
if ((monst == RUSTMONSTER) || (monst == DISENCHANTRESS) || (monst == CUBE))
games/larn/monster.c
1135
if (monst == VAMPIRE)
games/larn/monster.c
1153
int monst;
games/larn/monster.c
1157
monst = mitem[x][y];
games/larn/monster.c
1166
switch (monst) { /* if a dragon and orb(s) of dragon slaying */
games/larn/monster.c
1177
if (hitp[x][y] > monster[monst].hitpoints)
games/larn/monster.c
1178
hitp[x][y] = monster[monst].hitpoints;
games/larn/monster.c
1184
raiseexperience((long)monster[monst].experience);
games/larn/monster.c
1185
amt = monster[monst].gold;
games/larn/monster.c
1188
dropsomething(monst);
games/larn/monster.c
1278
dropsomething(int monst)
games/larn/monster.c
1280
switch (monst) {
games/larn/monster.c
177
cgood(int x, int y, int itm, int monst)
games/larn/monster.c
185
if (monst == 0 || (mitem[x][y] == 0))
games/larn/monster.c
671
nospell(int x, int monst)
games/larn/monster.c
674
if (x >= SPNUM || monst >= MAXMONST + 8 || monst < 0 || x < 0)
games/larn/monster.c
676
if ((tmp = spelweird[monst - 1][x]) == 0)
games/larn/monster.c
680
lprintf(spelmes[tmp], monster[monst].name);
games/larn/movem.c
131
int k, m, z, tmp, xtmp, ytmp, monst;
games/larn/movem.c
132
switch (monst = mitem[i][j]) { /* for half speed monsters */
games/larn/movem.c
160
if (monster[monst].intelligence > 10 - c[HARDGAME]) { /* if smart monster */