Searched refs:W_ARMH (Results 1 - 24 of 24) sorted by relevance

/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/include/
H A Dprop.h86 # define W_ARMH 0x00000004L /* Helmet/hat */ macro
92 # define W_ARMOR (W_ARM | W_ARMC | W_ARMH | W_ARMS | W_ARMG | W_ARMF | W_ARMU)
94 # define W_ARMOR (W_ARM | W_ARMC | W_ARMH | W_ARMS | W_ARMG | W_ARMF)
138 #define WORN_HELMET W_ARMH
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/include/
H A Dprop.h86 # define W_ARMH 0x00000004L /* Helmet/hat */ macro
92 # define W_ARMOR (W_ARM | W_ARMC | W_ARMH | W_ARMS | W_ARMG | W_ARMF | W_ARMU)
94 # define W_ARMOR (W_ARM | W_ARMC | W_ARMH | W_ARMS | W_ARMG | W_ARMF)
138 #define WORN_HELMET W_ARMH
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/src/
H A Dworn.c17 { W_ARMH, &uarmh },
39 (o->otyp == CORNUTHAUM && ((m) & W_ARMH) && \
386 m_dowear_type(mon, W_ARMH, creation, FALSE);
437 case W_ARMH:
701 if ((otmp = which_armor(mon, W_ARMH)) != 0 &&
H A Ddo_wear.c352 takeoff_mask &= ~W_ARMH;
373 setworn((struct obj *)0, W_ARMH);
386 setworn((struct obj *)0, W_ARMH);
1300 *mask = W_ARMH;
1699 otmp = (victim == &youmonst) ? uarmh : which_armor(victim, W_ARMH);
H A Dmondata.c206 if ((o->owornmask & W_ARMH) &&
H A Duhitm.c57 target = which_armor(mdef, W_ARMH);
1100 obj = which_armor(mdef, W_ARMH);
1531 if ((mdef->misc_worn_check & W_ARMH) && rn2(8)) {
2189 (protector == W_ARMH && !uarmh) ||
H A Dmhitm.c1087 if ((mdef->misc_worn_check & W_ARMH) && rn2(8)) {
1441 w_mask = W_ARMH;
H A Dmuse.c971 struct obj *helmet = which_armor(mtmp, W_ARMH);
1367 struct obj *helmet = which_armor(mtmp2, W_ARMH);
1533 struct obj *helmet = which_armor(mtmp, W_ARMH);
H A Du_init.c1023 setworn(obj, W_ARMH);
H A Dread.c1195 struct obj *helmet = which_armor(mtmp, W_ARMH);
H A Dtrap.c67 item = (victim == &youmonst) ? uarmh : which_armor(victim, W_ARMH);
1831 target = which_armor(mtmp, W_ARMH);
H A Dzap.c849 if ((obj->owornmask & W_ARMH) && (obj == uarmh)) {
959 if ((obj->owornmask & W_ARMH) && (obj == uarmh)) {
H A Dmhitu.c830 armor = (mon == &youmonst) ? uarmh : which_armor(mon, W_ARMH);
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/src/
H A Dworn.c17 { W_ARMH, &uarmh },
39 (o->otyp == CORNUTHAUM && ((m) & W_ARMH) && \
386 m_dowear_type(mon, W_ARMH, creation, FALSE);
437 case W_ARMH:
701 if ((otmp = which_armor(mon, W_ARMH)) != 0 &&
H A Ddo_wear.c352 takeoff_mask &= ~W_ARMH;
373 setworn((struct obj *)0, W_ARMH);
386 setworn((struct obj *)0, W_ARMH);
1300 *mask = W_ARMH;
1699 otmp = (victim == &youmonst) ? uarmh : which_armor(victim, W_ARMH);
H A Dmondata.c206 if ((o->owornmask & W_ARMH) &&
H A Duhitm.c57 target = which_armor(mdef, W_ARMH);
1100 obj = which_armor(mdef, W_ARMH);
1531 if ((mdef->misc_worn_check & W_ARMH) && rn2(8)) {
2189 (protector == W_ARMH && !uarmh) ||
H A Dmhitm.c1087 if ((mdef->misc_worn_check & W_ARMH) && rn2(8)) {
1441 w_mask = W_ARMH;
H A Dmuse.c971 struct obj *helmet = which_armor(mtmp, W_ARMH);
1367 struct obj *helmet = which_armor(mtmp2, W_ARMH);
1533 struct obj *helmet = which_armor(mtmp, W_ARMH);
H A Du_init.c1023 setworn(obj, W_ARMH);
H A Dread.c1195 struct obj *helmet = which_armor(mtmp, W_ARMH);
H A Dtrap.c67 item = (victim == &youmonst) ? uarmh : which_armor(victim, W_ARMH);
1831 target = which_armor(mtmp, W_ARMH);
H A Dzap.c849 if ((obj->owornmask & W_ARMH) && (obj == uarmh)) {
959 if ((obj->owornmask & W_ARMH) && (obj == uarmh)) {
H A Dmhitu.c830 armor = (mon == &youmonst) ? uarmh : which_armor(mon, W_ARMH);

Completed in 177 milliseconds