Searched refs:mptr (Results 1 - 16 of 16) sorted by relevance

/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/src/
H A Dpolyself.c1189 struct permonst *mptr = mon->data; local
1192 if (mptr->mlet == S_DOG || mptr->mlet == S_FELINE ||
1193 mptr->mlet == S_YETI)
1195 if (humanoid(mptr) && attacktype(mptr, AT_CLAW) &&
1196 !index(not_claws, mptr->mlet) &&
1197 mptr != &mons[PM_STONE_GOLEM] &&
1198 mptr != &mons[PM_INCUBUS] && mptr !
[all...]
H A Dmondata.c252 passes_bars(mptr)
253 struct permonst *mptr;
255 return (boolean) (passes_walls(mptr) || amorphous(mptr) ||
256 is_whirly(mptr) || verysmall(mptr) ||
257 (slithy(mptr) && !bigmonst(mptr)));
717 on_fire(mptr, mattk)
718 struct permonst *mptr;
[all...]
H A Dbones.c199 struct permonst *mptr; local
229 mptr = mtmp->data;
230 if (mtmp->iswiz || mptr == &mons[PM_MEDUSA] ||
231 mptr->msound == MS_NEMESIS || mptr->msound == MS_LEADER ||
232 mptr == &mons[PM_VLAD_THE_IMPALER])
H A Dtrap.c408 struct permonst *mptr; local
425 mptr = &mons[PM_FLESH_GOLEM];
427 mptr = &mons[statue->corpsenm];
434 if ((mptr->geno & G_UNIQ) && cause != ANIMATE_SPELL) {
439 ((mptr->geno & G_UNIQ) || mptr->msound == MS_GUARDIAN)) {
453 (void) newcham(mon, mptr, FALSE, FALSE);
456 mon = makemon(mptr, x, y, (cause == ANIMATE_SPELL) ?
1196 struct permonst *mptr; local
1203 mptr
1651 struct permonst *mptr = mtmp->data; local
[all...]
H A Dmakemon.c18 #define quest_mon_represents_role(mptr,role_pm) \
19 (mptr->mlet == S_HUMAN && Role_if(role_pm) && \
20 (mptr->msound == MS_LEADER || mptr->msound == MS_NEMESIS))
1111 create_critters(cnt, mptr)
1113 struct permonst *mptr; /* usually null; used for confused reading */
1136 if (!mptr && u.uinwater && enexto(&c, x, y, &mons[PM_GIANT_EEL]))
1139 mon = makemon(mptr, x, y, NO_MM_FLAGS);
H A Dteleport.c1099 struct permonst *mptr = mtmp->data; local
1120 (mon_has_amulet(mtmp) || is_home_elemental(mptr))) {
1121 if (in_sight && mptr->mlet != S_ELEMENTAL) {
H A Dmon.c1336 m_detach(mtmp, mptr)
1338 struct permonst *mptr; /* reflects mtmp->data _prior_ to mtmp's death */
1346 if (emits_light(mptr))
1416 struct permonst *mptr; local
1433 mptr = mtmp->data; /* save this for m_detach() */
1486 m_detach(mtmp, mptr);
H A Dmhitu.c271 getmattk(mptr, indx, prev_result, alt_attk_buf)
272 struct permonst *mptr;
276 struct attack *attk = &mptr->mattk[indx];
285 attk->adtyp == mptr->mattk[indx - 1].adtyp) {
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/src/
H A Dpolyself.c1189 struct permonst *mptr = mon->data; local
1192 if (mptr->mlet == S_DOG || mptr->mlet == S_FELINE ||
1193 mptr->mlet == S_YETI)
1195 if (humanoid(mptr) && attacktype(mptr, AT_CLAW) &&
1196 !index(not_claws, mptr->mlet) &&
1197 mptr != &mons[PM_STONE_GOLEM] &&
1198 mptr != &mons[PM_INCUBUS] && mptr !
[all...]
H A Dmondata.c252 passes_bars(mptr)
253 struct permonst *mptr;
255 return (boolean) (passes_walls(mptr) || amorphous(mptr) ||
256 is_whirly(mptr) || verysmall(mptr) ||
257 (slithy(mptr) && !bigmonst(mptr)));
717 on_fire(mptr, mattk)
718 struct permonst *mptr;
[all...]
H A Dbones.c199 struct permonst *mptr; local
229 mptr = mtmp->data;
230 if (mtmp->iswiz || mptr == &mons[PM_MEDUSA] ||
231 mptr->msound == MS_NEMESIS || mptr->msound == MS_LEADER ||
232 mptr == &mons[PM_VLAD_THE_IMPALER])
H A Dtrap.c408 struct permonst *mptr; local
425 mptr = &mons[PM_FLESH_GOLEM];
427 mptr = &mons[statue->corpsenm];
434 if ((mptr->geno & G_UNIQ) && cause != ANIMATE_SPELL) {
439 ((mptr->geno & G_UNIQ) || mptr->msound == MS_GUARDIAN)) {
453 (void) newcham(mon, mptr, FALSE, FALSE);
456 mon = makemon(mptr, x, y, (cause == ANIMATE_SPELL) ?
1196 struct permonst *mptr; local
1203 mptr
1651 struct permonst *mptr = mtmp->data; local
[all...]
H A Dmakemon.c18 #define quest_mon_represents_role(mptr,role_pm) \
19 (mptr->mlet == S_HUMAN && Role_if(role_pm) && \
20 (mptr->msound == MS_LEADER || mptr->msound == MS_NEMESIS))
1111 create_critters(cnt, mptr)
1113 struct permonst *mptr; /* usually null; used for confused reading */
1136 if (!mptr && u.uinwater && enexto(&c, x, y, &mons[PM_GIANT_EEL]))
1139 mon = makemon(mptr, x, y, NO_MM_FLAGS);
H A Dteleport.c1099 struct permonst *mptr = mtmp->data; local
1120 (mon_has_amulet(mtmp) || is_home_elemental(mptr))) {
1121 if (in_sight && mptr->mlet != S_ELEMENTAL) {
H A Dmon.c1336 m_detach(mtmp, mptr)
1338 struct permonst *mptr; /* reflects mtmp->data _prior_ to mtmp's death */
1346 if (emits_light(mptr))
1416 struct permonst *mptr; local
1433 mptr = mtmp->data; /* save this for m_detach() */
1486 m_detach(mtmp, mptr);
H A Dmhitu.c271 getmattk(mptr, indx, prev_result, alt_attk_buf)
272 struct permonst *mptr;
276 struct attack *attk = &mptr->mattk[indx];
285 attk->adtyp == mptr->mattk[indx - 1].adtyp) {

Completed in 137 milliseconds