Home
last modified time | relevance | path

Searched refs:fmon (Results 1 – 20 of 20) sorted by relevance

/openbsd/games/hack/
H A Dhack.lev.c103 savemonchn(fd, fmon); in savelev()
116 fmon = 0; in savelev()
236 fmon = restmonchn(fd); in getlev()
243 for(mtmp = fmon; mtmp; mtmp = mtmp2) { in getlev()
H A Dhack.dog.c114 mtmp->nmon = fmon; in losedogs()
115 fmon = mtmp; in losedogs()
120 mtmp->nmon = fmon; in losedogs()
121 fmon = mtmp; in losedogs()
131 for(mtmp = fmon; mtmp; mtmp = mtmp->nmon) in keepdogs()
H A Dhack.mon.c95 for(mtmp = fmon; mtmp; mtmp = mtmp->nmon) in movemon()
671 mtmp2->nmon = fmon; in replmon()
672 fmon = mtmp2; in replmon()
683 if(mon == fmon) fmon = fmon->nmon; in relmon()
685 for(mtmp = fmon; mtmp->nmon != mon; mtmp = mtmp->nmon) ; in relmon()
846 for(mtmp = fmon; mtmp; mtmp = mtmp->nmon) in rescham()
H A Dhack.wizard.c89 for(mtmp = fmon; mtmp; mtmp = mtmp->nmon) in amulet()
238 for(mtmp = fmon; mtmp; mtmp = mtmp->nmon) { in aggravate()
H A Dhack.worm.c246 mtmp2->nmon = fmon; in cutworm()
247 fmon = mtmp2; in cutworm()
H A Dhack.Decl.c77 struct monst *fmon = 0; variable
H A Dhack.makemon.c109 mtmp->nmon = fmon; in makemon()
110 fmon = mtmp; in makemon()
H A Ddef.monst.h111 extern struct monst *fmon;
H A Dhack.read.c160 for(mtmp = fmon; mtmp; mtmp = mtmp->nmon) in doread()
262 for(mtmp = fmon; mtmp; mtmp = mtmp2){ in doread()
454 for(mtmp = fmon; mtmp; mtmp = mtmp->nmon) { in doread()
H A Dhack.potion.c139 if(!fmon) { in dodrink()
144 for(mtmp = fmon; mtmp; mtmp = mtmp->nmon) in dodrink()
H A Dhack.shk.c236 for(mtmp = fmon; mtmp; mtmp = mtmp->nmon) in setpaid()
311 for(mtmp = fmon; mtmp; mtmp = mtmp->nmon) in inshop()
366 for(mtmp = fmon; mtmp; mtmp = mtmp->nmon) in findshk()
454 for(shkp = fmon; shkp; shkp = shkp->nmon) in dopay()
641 for(mtmp = fmon; mtmp; mtmp = mtmp->nmon) in bp_to_obj()
H A Dhack.bones.c112 for(mtmp = fmon; mtmp; mtmp = mtmp->nmon){ in savebones()
H A Dhack.apply.c290 struct monst *mtmp = fmon; in use_whistle()
306 struct monst *mtmp = fmon; in use_magic_whistle()
H A Dhack.pri.c281 for(mtmp = fmon; mtmp; mtmp = mtmp->nmon) in docrt()
313 for(mtmp = fmon; mtmp; mtmp = mtmp->nmon) in docorner()
597 for(mtmp = fmon; mtmp; mtmp = mtmp->nmon){ in seemons()
H A Dhack.steal.c116 for(mtmp = fmon; mtmp; mtmp = mtmp->nmon) in stealarm()
H A Dhack.save.c223 for(mtmp = fmon; mtmp; mtmp = mtmp->nmon) in dorecover()
H A Dhack.vault.c155 for(mtmp = fmon; mtmp; mtmp = mtmp->nmon) if(mtmp->isgd){ in setgd()
H A Dhack.main.c302 fmon = fallen_down = 0; in main()
H A Dhack.fight.c173 for(mon = fmon; mon; mon = mon->nmon) if(mon != mtmp) { in fightm()
H A Dhack.invent.c252 for(mtmp = fmon; mtmp; mtmp = mtmp->nmon){ in m_at()