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 D | prop.h | 88 # 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 D | prop.h | 88 # 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 D | worn.c | 19 { 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 D | mhitm.c | 602 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 D | do_wear.c | 423 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 D | uhitm.c | 81 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 D | steal.c | 421 if (could_petrify && !(mtmp->misc_worn_check & W_ARMG)) {
|
H A D | u_init.c | 1025 setworn(obj, W_ARMG);
|
H A D | weapon.c | 509 if (hwep[i] == CORPSE && !(mtmp->misc_worn_check & W_ARMG))
|
H A D | mhitu.c | 841 armor = (mon == &youmonst) ? uarmg : which_armor(mon, W_ARMG); 2487 if (MON_WEP(mtmp) != 0) wornitems |= W_ARMG;
|
H A D | mon.c | 967 !(mtmp->misc_worn_check & W_ARMG) && !resists_ston(mtmp)) 2541 if (!(mtmp->misc_worn_check & W_ARMG))
|
H A D | trap.c | 96 item = (victim == &youmonst) ? uarmg : which_armor(victim, W_ARMG); 1844 glovecheck: target = which_armor(mtmp, W_ARMG);
|
H A D | zap.c | 843 if ((obj->owornmask & W_ARMG) && (obj == uarmg)) { 966 if ((obj->owornmask & W_ARMG) && (obj == uarmg)) {
|
H A D | muse.c | 2010 return (boolean)(((mon->misc_worn_check & W_ARMG) &&
|
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/src/ |
H A D | worn.c | 19 { 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 D | mhitm.c | 602 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 D | do_wear.c | 423 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 D | uhitm.c | 81 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 D | steal.c | 421 if (could_petrify && !(mtmp->misc_worn_check & W_ARMG)) {
|
H A D | u_init.c | 1025 setworn(obj, W_ARMG);
|
H A D | weapon.c | 509 if (hwep[i] == CORPSE && !(mtmp->misc_worn_check & W_ARMG))
|
H A D | mhitu.c | 841 armor = (mon == &youmonst) ? uarmg : which_armor(mon, W_ARMG); 2487 if (MON_WEP(mtmp) != 0) wornitems |= W_ARMG;
|
H A D | mon.c | 967 !(mtmp->misc_worn_check & W_ARMG) && !resists_ston(mtmp)) 2541 if (!(mtmp->misc_worn_check & W_ARMG))
|
H A D | trap.c | 96 item = (victim == &youmonst) ? uarmg : which_armor(victim, W_ARMG); 1844 glovecheck: target = which_armor(mtmp, W_ARMG);
|
H A D | zap.c | 843 if ((obj->owornmask & W_ARMG) && (obj == uarmg)) { 966 if ((obj->owornmask & W_ARMG) && (obj == uarmg)) {
|
Completed in 163 milliseconds
12