/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/src/ |
H A D | were.c | 44 counter_were(pm) 45 int pm; 47 switch(pm) { 62 register int pm; local 64 pm = counter_were(monsndx(mon->data)); 65 if(!pm) { 72 is_human(&mons[pm]) ? "human" : 73 mons[pm].mname+4); 75 set_mon_data(mon, &mons[pm], 0); 96 register int i, typ, pm local [all...] |
H A D | minion.c | 113 struct permonst *pm = &mons[mnum]; local 114 mon = makemon(pm, u.ux, u.uy, MM_EMIN); 254 int tryct, pm; local 257 pm = rn1(PM_DEMOGORGON + 1 - PM_ORCUS, PM_ORCUS); 258 if (!(mvitals[pm].mvflags & G_GONE) && 259 (atyp == A_NONE || sgn(mons[pm].maligntyp) == sgn(atyp))) 260 return(pm); 269 int tryct, pm; local 272 pm = rn1(PM_YEENOGHU + 1 - PM_JUIBLEX, PM_JUIBLEX); 273 if (!(mvitals[pm] [all...] |
H A D | pager.c | 63 struct permonst *pm = (struct permonst *) 0; local 86 pm = &mons[PM_WIZARD]; 122 pm = u.ustuck->data; 136 pm = mtmp->data; 288 return ((pm && !Hallucination) ? pm : (struct permonst *) 0); 302 checkfile(inp, pm, user_typed_name, without_asking) 304 struct permonst *pm; 324 if (pm != (struct permonst *) 0 && !user_typed_name) 325 dbase_str = strcpy(newstr, pm 463 struct permonst *pm = 0; local [all...] |
H A D | mplayer.c | 294 int pm, x, y; local 301 pm = PM_ARCHEOLOGIST + rn2(PM_WIZARD - PM_ARCHEOLOGIST + 1); 302 fakemon.data = &mons[pm]; 313 (void) mk_mplayer(&mons[pm], (xchar)x, (xchar)y, special);
|
H A D | muse.c | 682 /* pm: 0 => random, eel => aquatic, croc => amphibious */ 683 struct permonst *pm = !is_pool(mtmp->mx, mtmp->my) ? 0 : local 687 if (!enexto(&cc, mtmp->mx, mtmp->my, pm)) return 0; 697 struct permonst *pm = 0, *fish = 0; local 704 if (mtmp->mconf) pm = fish = &mons[PM_ACID_BLOB]; 710 `pm' is what to actually create (0 => random) */ 712 mon = makemon(pm, cc.x, cc.y, NO_MM_FLAGS); 904 struct permonst *pm = mtmp->data; local 905 int difficulty = monstr[(monsndx(pm))]; 908 if(is_animal(pm) || attacktyp 1521 struct permonst *pm = mtmp->data; local 1912 struct permonst *pm = mtmp->data; local [all...] |
H A D | mcastu.c | 539 struct permonst *pm = mkclass(S_ANT,0); local 541 char let = (pm ? S_ANT : S_SNAKE); 549 success = pm ? TRUE : FALSE; 553 if ((pm = mkclass(let,0)) != 0 && 554 (mtmp2 = makemon(pm, bypos.x, bypos.y, NO_MM_FLAGS)) != 0) {
|
H A D | eat.c | 442 maybe_cannibal(pm, allowmsg) 443 int pm; 446 if (!CANNIBAL_ALLOWED() && your_race(&mons[pm])) { 460 cprefx(pm) 461 register int pm; 463 (void) maybe_cannibal(pm,TRUE); 464 if (touch_petrifies(&mons[pm]) || pm == PM_MEDUSA) { 467 Sprintf(killer_buf, "tasting %s meat", mons[pm].mname); 478 switch(pm) { [all...] |
H A D | dog.c | 54 struct permonst *pm; local 61 pm = &mons[mndx]; 74 pm = &mons[pet_type()]; 76 pm = rndmonst(); 77 if (!pm) { 84 mtmp = makemon(pm, x, y, MM_EDOG|MM_IGNOREWATER);
|
H A D | sp_lev.c | 756 struct permonst *pm; local 779 pm = (struct permonst *) 0; 781 pm = &mons[m->id]; 782 g_mvflags = (unsigned) mvitals[monsndx(pm)].mvflags; 783 if ((pm->geno & G_UNIQ) && (g_mvflags & G_EXTINCT)) 786 pm = (struct permonst *) 0; /* make random monster */ 788 pm = mkclass(class,G_NOGEN); 789 /* if we can't get a specific monster type (pm == 0) then the 792 if (In_mines(&u.uz) && pm && your_race(pm) [all...] |
H A D | mkroom.c | 680 unsigned pm; member in struct:__anon738 697 mndx = squadprob[i].pm; 701 mndx = squadprob[rn2(NSTYPES)].pm;
|
H A D | Makefile | 352 # all .h files except date.h, onames.h, pm.h, and vis_tab.h which would 366 HSOURCES = $(HACKINCL) date.h onames.h pm.h vis_tab.h\ 481 ../include/pm.h: $(MAKEDEFS) 482 @( cd ../util ; $(MAKE) ../include/pm.h ) 527 -rm -f ../include/date.h ../include/onames.h ../include/pm.h 563 ../include/monflag.h ../include/mondata.h ../include/pm.h \
|
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/src/ |
H A D | were.c | 44 counter_were(pm) 45 int pm; 47 switch(pm) { 62 register int pm; local 64 pm = counter_were(monsndx(mon->data)); 65 if(!pm) { 72 is_human(&mons[pm]) ? "human" : 73 mons[pm].mname+4); 75 set_mon_data(mon, &mons[pm], 0); 96 register int i, typ, pm local [all...] |
H A D | minion.c | 113 struct permonst *pm = &mons[mnum]; local 114 mon = makemon(pm, u.ux, u.uy, MM_EMIN); 254 int tryct, pm; local 257 pm = rn1(PM_DEMOGORGON + 1 - PM_ORCUS, PM_ORCUS); 258 if (!(mvitals[pm].mvflags & G_GONE) && 259 (atyp == A_NONE || sgn(mons[pm].maligntyp) == sgn(atyp))) 260 return(pm); 269 int tryct, pm; local 272 pm = rn1(PM_YEENOGHU + 1 - PM_JUIBLEX, PM_JUIBLEX); 273 if (!(mvitals[pm] [all...] |
H A D | pager.c | 63 struct permonst *pm = (struct permonst *) 0; local 86 pm = &mons[PM_WIZARD]; 122 pm = u.ustuck->data; 136 pm = mtmp->data; 288 return ((pm && !Hallucination) ? pm : (struct permonst *) 0); 302 checkfile(inp, pm, user_typed_name, without_asking) 304 struct permonst *pm; 324 if (pm != (struct permonst *) 0 && !user_typed_name) 325 dbase_str = strcpy(newstr, pm 463 struct permonst *pm = 0; local [all...] |
H A D | mplayer.c | 294 int pm, x, y; local 301 pm = PM_ARCHEOLOGIST + rn2(PM_WIZARD - PM_ARCHEOLOGIST + 1); 302 fakemon.data = &mons[pm]; 313 (void) mk_mplayer(&mons[pm], (xchar)x, (xchar)y, special);
|
H A D | muse.c | 682 /* pm: 0 => random, eel => aquatic, croc => amphibious */ 683 struct permonst *pm = !is_pool(mtmp->mx, mtmp->my) ? 0 : local 687 if (!enexto(&cc, mtmp->mx, mtmp->my, pm)) return 0; 697 struct permonst *pm = 0, *fish = 0; local 704 if (mtmp->mconf) pm = fish = &mons[PM_ACID_BLOB]; 710 `pm' is what to actually create (0 => random) */ 712 mon = makemon(pm, cc.x, cc.y, NO_MM_FLAGS); 904 struct permonst *pm = mtmp->data; local 905 int difficulty = monstr[(monsndx(pm))]; 908 if(is_animal(pm) || attacktyp 1521 struct permonst *pm = mtmp->data; local 1912 struct permonst *pm = mtmp->data; local [all...] |
H A D | mcastu.c | 539 struct permonst *pm = mkclass(S_ANT,0); local 541 char let = (pm ? S_ANT : S_SNAKE); 549 success = pm ? TRUE : FALSE; 553 if ((pm = mkclass(let,0)) != 0 && 554 (mtmp2 = makemon(pm, bypos.x, bypos.y, NO_MM_FLAGS)) != 0) {
|
H A D | eat.c | 442 maybe_cannibal(pm, allowmsg) 443 int pm; 446 if (!CANNIBAL_ALLOWED() && your_race(&mons[pm])) { 460 cprefx(pm) 461 register int pm; 463 (void) maybe_cannibal(pm,TRUE); 464 if (touch_petrifies(&mons[pm]) || pm == PM_MEDUSA) { 467 Sprintf(killer_buf, "tasting %s meat", mons[pm].mname); 478 switch(pm) { [all...] |
H A D | dog.c | 54 struct permonst *pm; local 61 pm = &mons[mndx]; 74 pm = &mons[pet_type()]; 76 pm = rndmonst(); 77 if (!pm) { 84 mtmp = makemon(pm, x, y, MM_EDOG|MM_IGNOREWATER);
|
H A D | sp_lev.c | 756 struct permonst *pm; local 779 pm = (struct permonst *) 0; 781 pm = &mons[m->id]; 782 g_mvflags = (unsigned) mvitals[monsndx(pm)].mvflags; 783 if ((pm->geno & G_UNIQ) && (g_mvflags & G_EXTINCT)) 786 pm = (struct permonst *) 0; /* make random monster */ 788 pm = mkclass(class,G_NOGEN); 789 /* if we can't get a specific monster type (pm == 0) then the 792 if (In_mines(&u.uz) && pm && your_race(pm) [all...] |
H A D | mkroom.c | 680 unsigned pm; member in struct:__anon60 697 mndx = squadprob[i].pm; 701 mndx = squadprob[rn2(NSTYPES)].pm;
|
/seL4-refos-master/libs/libmuslc/src/misc/ |
H A D | openpty.c | 10 int openpty(int *pm, int *ps, char *name, const struct termios *tio, const struct winsize *ws) argument 31 *pm = m;
|
H A D | forkpty.c | 9 int forkpty(int *pm, char *name, const struct termios *tio, const struct winsize *ws) argument 50 if (pid > 0) *pm = m;
|
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/include/ |
H A D | obj.h | 235 #define Dragon_to_scales(pm) (GRAY_DRAGON_SCALES + (pm - mons))
|
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/include/ |
H A D | obj.h | 235 #define Dragon_to_scales(pm) (GRAY_DRAGON_SCALES + (pm - mons))
|