Searched refs:oclass (Results 51 - 75 of 96) sorted by relevance
1234
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/src/ |
H A D | uhitm.c | 432 if (uwep && (uwep->oclass == WEAPON_CLASS || is_weptool(uwep))) 461 (uwep->oclass == WEAPON_CLASS || is_weptool(uwep))) 565 if(obj->oclass == WEAPON_CLASS || is_weptool(obj) || 566 obj->oclass == GEM_CLASS) { 611 obj->oclass == WEAPON_CLASS && 677 } else if(obj->oclass == POTION_CLASS) { 790 obj->oclass = GEM_CLASS; 2387 (obj->known || obj->oclass == ARMOR_CLASS)) {
|
H A D | dog.c | 658 switch(obj->oclass) { 732 if(!obj->cursed && obj->oclass != BALL_CLASS && 733 obj->oclass != CHAIN_CLASS)
|
H A D | do_wear.c | 1491 if(otmp->oclass == RING_CLASS || otmp->otyp == MEAT_RING) { 1543 } else if (otmp->oclass == AMULET_CLASS) { 1655 makesingular(oclass_names[(int)otmp->oclass]); 1671 makesingular(oclass_names[(int)otmp->oclass]);
|
H A D | dokick.c | 364 otmp->oclass != GEM_CLASS && !obj_resists(otmp, 33, 100)) { 473 isgold = (kickobj->oclass == COIN_CLASS); 1214 if (obj->oclass != COIN_CLASS) 1335 if(otmp->oclass != COIN_CLASS)
|
H A D | shknam.c | 508 shp->iprobs[i].itype == obj->oclass) return TRUE;
|
H A D | do_name.c | 390 if (obj->oclass == FOOD_CLASS) 392 else if (obj->oclass == SPBOOK_CLASS)
|
H A D | end.c | 454 } else if (obj->oclass == AMULET_CLASS) { 460 } else if (obj->oclass == GEM_CLASS && obj->otyp < LUCKSTONE) {
|
H A D | save.c | 862 if (otmp->oclass == FOOD_CLASS) food_disappears(otmp); 863 if (otmp->oclass == SPBOOK_CLASS) book_disappears(otmp);
|
H A D | trap.c | 2645 } else if (obj->oclass == SCROLL_CLASS || obj->oclass == SPBOOK_CLASS) { 2652 dindx = (obj->oclass == SCROLL_CLASS) ? 2 : 3; 2658 } else if (obj->oclass == POTION_CLASS) { 2710 } else if (obj->oclass == SCROLL_CLASS) { 2718 } else if (obj->oclass == SPBOOK_CLASS) { 2722 } else if (obj->oclass == POTION_CLASS) { 2738 if(obj->oclass != ARMOR_CLASS || obj != uarm ||
|
H A D | worn.c | 89 if (obj->oclass == WEAPON_CLASS || is_weptool(obj) || 423 if (obj->oclass != AMULET_CLASS ||
|
H A D | muse.c | 66 if (obj->oclass == POTION_CLASS) { 126 if (obj->oclass == WAND_CLASS && obj->cursed && !rn2(100)) { 1131 (void) resist(mtmp, otmp->oclass, tmp, TELL); 1274 if (otmp->oclass != POTION_CLASS && (i = precheck(mtmp, otmp)) != 0) 1961 switch (obj->oclass) {
|
H A D | pray.c | 644 #define ok_wep(o) ((o) && ((o)->oclass == WEAPON_CLASS || is_weptool(o))) 853 if (uwep && (welded(uwep) || uwep->oclass == WEAPON_CLASS || 1047 } else if(otmp->oclass == POTION_CLASS)
|
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/src/ |
H A D | uhitm.c | 432 if (uwep && (uwep->oclass == WEAPON_CLASS || is_weptool(uwep))) 461 (uwep->oclass == WEAPON_CLASS || is_weptool(uwep))) 565 if(obj->oclass == WEAPON_CLASS || is_weptool(obj) || 566 obj->oclass == GEM_CLASS) { 611 obj->oclass == WEAPON_CLASS && 677 } else if(obj->oclass == POTION_CLASS) { 790 obj->oclass = GEM_CLASS; 2387 (obj->known || obj->oclass == ARMOR_CLASS)) {
|
H A D | dog.c | 658 switch(obj->oclass) { 732 if(!obj->cursed && obj->oclass != BALL_CLASS && 733 obj->oclass != CHAIN_CLASS)
|
H A D | do_wear.c | 1491 if(otmp->oclass == RING_CLASS || otmp->otyp == MEAT_RING) { 1543 } else if (otmp->oclass == AMULET_CLASS) { 1655 makesingular(oclass_names[(int)otmp->oclass]); 1671 makesingular(oclass_names[(int)otmp->oclass]);
|
H A D | dokick.c | 364 otmp->oclass != GEM_CLASS && !obj_resists(otmp, 33, 100)) { 473 isgold = (kickobj->oclass == COIN_CLASS); 1214 if (obj->oclass != COIN_CLASS) 1335 if(otmp->oclass != COIN_CLASS)
|
H A D | shknam.c | 508 shp->iprobs[i].itype == obj->oclass) return TRUE;
|
H A D | do_name.c | 390 if (obj->oclass == FOOD_CLASS) 392 else if (obj->oclass == SPBOOK_CLASS)
|
H A D | end.c | 454 } else if (obj->oclass == AMULET_CLASS) { 460 } else if (obj->oclass == GEM_CLASS && obj->otyp < LUCKSTONE) {
|
H A D | save.c | 862 if (otmp->oclass == FOOD_CLASS) food_disappears(otmp); 863 if (otmp->oclass == SPBOOK_CLASS) book_disappears(otmp);
|
H A D | trap.c | 2645 } else if (obj->oclass == SCROLL_CLASS || obj->oclass == SPBOOK_CLASS) { 2652 dindx = (obj->oclass == SCROLL_CLASS) ? 2 : 3; 2658 } else if (obj->oclass == POTION_CLASS) { 2710 } else if (obj->oclass == SCROLL_CLASS) { 2718 } else if (obj->oclass == SPBOOK_CLASS) { 2722 } else if (obj->oclass == POTION_CLASS) { 2738 if(obj->oclass != ARMOR_CLASS || obj != uarm ||
|
H A D | worn.c | 89 if (obj->oclass == WEAPON_CLASS || is_weptool(obj) || 423 if (obj->oclass != AMULET_CLASS ||
|
H A D | muse.c | 66 if (obj->oclass == POTION_CLASS) { 126 if (obj->oclass == WAND_CLASS && obj->cursed && !rn2(100)) { 1131 (void) resist(mtmp, otmp->oclass, tmp, TELL); 1274 if (otmp->oclass != POTION_CLASS && (i = precheck(mtmp, otmp)) != 0) 1961 switch (obj->oclass) {
|
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/include/ |
H A D | mondata.h | 190 #define befriend_with_obj(ptr, obj) ((obj)->oclass == FOOD_CLASS && \
|
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/include/ |
H A D | mondata.h | 190 #define befriend_with_obj(ptr, obj) ((obj)->oclass == FOOD_CLASS && \
|
Completed in 148 milliseconds
1234