Searched refs:W_ARMG (Results 1 - 25 of 26) sorted by relevance

12

/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/include/
H A Dprop.h88 # define W_ARMG 0x00000010L /* Gloves/gauntlets */ 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)
140 #define WORN_GLOVES W_ARMG
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/include/
H A Dprop.h88 # define W_ARMG 0x00000010L /* Gloves/gauntlets */ 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)
140 #define WORN_GLOVES W_ARMG
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/src/
H A Dworn.c19 { W_ARMG, &uarmg },
389 m_dowear_type(mon, W_ARMG, creation, FALSE);
445 case W_ARMG:
683 if ((otmp = which_armor(mon, W_ARMG)) != 0) {
H A Dmhitm.c602 if (otmp != 0) wornitems |= W_ARMG;
1435 w_mask = W_ARMG; /* caller needs to check for weapon */
1444 w_mask = (W_ARMC|W_ARMG); /* attacker needs both to be protected */
H A Ddo_wear.c423 takeoff_mask &= ~W_ARMG;
441 setworn((struct obj *)0, W_ARMG);
1352 *mask = W_ARMG;
1701 otmp = (victim == &youmonst) ? uarmg : which_armor(victim, W_ARMG);
H A Duhitm.c81 target = which_armor(mdef, W_ARMG);
1264 } else if (unwornmask & W_ARMG) { /* stole worn gloves */
2184 if (aatyp == AT_MAGC) protector = W_ARMG;
2187 (protector == W_ARMG && !uarmg && !uwep) ||
2190 (protector == (W_ARMC|W_ARMG) && (!uarmc || !uarmg))) {
H A Dsteal.c421 if (could_petrify && !(mtmp->misc_worn_check & W_ARMG)) {
H A Du_init.c1025 setworn(obj, W_ARMG);
H A Dweapon.c509 if (hwep[i] == CORPSE && !(mtmp->misc_worn_check & W_ARMG))
H A Dmhitu.c841 armor = (mon == &youmonst) ? uarmg : which_armor(mon, W_ARMG);
2487 if (MON_WEP(mtmp) != 0) wornitems |= W_ARMG;
H A Dmon.c967 !(mtmp->misc_worn_check & W_ARMG) && !resists_ston(mtmp))
2541 if (!(mtmp->misc_worn_check & W_ARMG))
H A Dtrap.c96 item = (victim == &youmonst) ? uarmg : which_armor(victim, W_ARMG);
1844 glovecheck: target = which_armor(mtmp, W_ARMG);
H A Dzap.c843 if ((obj->owornmask & W_ARMG) && (obj == uarmg)) {
966 if ((obj->owornmask & W_ARMG) && (obj == uarmg)) {
H A Dmuse.c2010 return (boolean)(((mon->misc_worn_check & W_ARMG) &&
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/src/
H A Dworn.c19 { W_ARMG, &uarmg },
389 m_dowear_type(mon, W_ARMG, creation, FALSE);
445 case W_ARMG:
683 if ((otmp = which_armor(mon, W_ARMG)) != 0) {
H A Dmhitm.c602 if (otmp != 0) wornitems |= W_ARMG;
1435 w_mask = W_ARMG; /* caller needs to check for weapon */
1444 w_mask = (W_ARMC|W_ARMG); /* attacker needs both to be protected */
H A Ddo_wear.c423 takeoff_mask &= ~W_ARMG;
441 setworn((struct obj *)0, W_ARMG);
1352 *mask = W_ARMG;
1701 otmp = (victim == &youmonst) ? uarmg : which_armor(victim, W_ARMG);
H A Duhitm.c81 target = which_armor(mdef, W_ARMG);
1264 } else if (unwornmask & W_ARMG) { /* stole worn gloves */
2184 if (aatyp == AT_MAGC) protector = W_ARMG;
2187 (protector == W_ARMG && !uarmg && !uwep) ||
2190 (protector == (W_ARMC|W_ARMG) && (!uarmc || !uarmg))) {
H A Dsteal.c421 if (could_petrify && !(mtmp->misc_worn_check & W_ARMG)) {
H A Du_init.c1025 setworn(obj, W_ARMG);
H A Dweapon.c509 if (hwep[i] == CORPSE && !(mtmp->misc_worn_check & W_ARMG))
H A Dmhitu.c841 armor = (mon == &youmonst) ? uarmg : which_armor(mon, W_ARMG);
2487 if (MON_WEP(mtmp) != 0) wornitems |= W_ARMG;
H A Dmon.c967 !(mtmp->misc_worn_check & W_ARMG) && !resists_ston(mtmp))
2541 if (!(mtmp->misc_worn_check & W_ARMG))
H A Dtrap.c96 item = (victim == &youmonst) ? uarmg : which_armor(victim, W_ARMG);
1844 glovecheck: target = which_armor(mtmp, W_ARMG);
H A Dzap.c843 if ((obj->owornmask & W_ARMG) && (obj == uarmg)) {
966 if ((obj->owornmask & W_ARMG) && (obj == uarmg)) {

Completed in 163 milliseconds

12