Searched refs:is_weptool (Results 1 - 25 of 32) sorted by relevance

12

/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/src/
H A Dwield.c58 || is_weptool(optr) \
109 ) : !is_weptool(obj);
251 if (is_weptool(wep)) unweapon = FALSE; /* [see setuwep()] */
473 #define NOT_WEAPON(obj) (!is_weptool(obj) && obj->oclass != WEAPON_CLASS)
695 if(!uwep || (uwep->oclass != WEAPON_CLASS && !is_weptool(uwep))) {
H A Dweapon.c131 boolean Is_weapon = (otmp->oclass == WEAPON_CLASS || is_weptool(otmp));
202 boolean Is_weapon = (otmp->oclass == WEAPON_CLASS || is_weptool(otmp));
H A Dobjnam.c649 if (!is_weptool(obj))
663 if (is_weptool(obj))
823 !is_weptool(otmp) && /* (redunant) */
2492 is_weptool(otmp) ||
H A Duhitm.c432 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) ||
H A Ddothrow.c1140 if (obj->oclass == WEAPON_CLASS || is_weptool(obj) ||
1276 if (obj->oclass == WEAPON_CLASS || is_weptool(obj) ||
H A Dpray.c644 #define ok_wep(o) ((o) && ((o)->oclass == WEAPON_CLASS || is_weptool(o)))
854 is_weptool(uwep))) {
H A Dread.c201 if (is_weptool(obj)) /* specific check before general tools */
961 if(uwep && (uwep->oclass == WEAPON_CLASS || is_weptool(uwep))
H A Dlock.c444 (uwep->oclass != WEAPON_CLASS && !is_weptool(uwep) &&
H A Dsounds.c774 if (uwep && (uwep->oclass == WEAPON_CLASS || is_weptool(uwep)))
H A Du_init.c1038 if (obj->oclass == WEAPON_CLASS || is_weptool(obj) ||
H A Dworn.c89 if (obj->oclass == WEAPON_CLASS || is_weptool(obj) ||
H A Dpotion.c1803 } else if (obj->oclass != WEAPON_CLASS && !is_weptool(obj)) {
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/src/
H A Dwield.c58 || is_weptool(optr) \
109 ) : !is_weptool(obj);
251 if (is_weptool(wep)) unweapon = FALSE; /* [see setuwep()] */
473 #define NOT_WEAPON(obj) (!is_weptool(obj) && obj->oclass != WEAPON_CLASS)
695 if(!uwep || (uwep->oclass != WEAPON_CLASS && !is_weptool(uwep))) {
H A Dweapon.c131 boolean Is_weapon = (otmp->oclass == WEAPON_CLASS || is_weptool(otmp));
202 boolean Is_weapon = (otmp->oclass == WEAPON_CLASS || is_weptool(otmp));
H A Dobjnam.c649 if (!is_weptool(obj))
663 if (is_weptool(obj))
823 !is_weptool(otmp) && /* (redunant) */
2492 is_weptool(otmp) ||
H A Duhitm.c432 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) ||
H A Ddothrow.c1140 if (obj->oclass == WEAPON_CLASS || is_weptool(obj) ||
1276 if (obj->oclass == WEAPON_CLASS || is_weptool(obj) ||
H A Dpray.c644 #define ok_wep(o) ((o) && ((o)->oclass == WEAPON_CLASS || is_weptool(o)))
854 is_weptool(uwep))) {
H A Dread.c201 if (is_weptool(obj)) /* specific check before general tools */
961 if(uwep && (uwep->oclass == WEAPON_CLASS || is_weptool(uwep))
H A Dlock.c444 (uwep->oclass != WEAPON_CLASS && !is_weptool(uwep) &&
H A Dsounds.c774 if (uwep && (uwep->oclass == WEAPON_CLASS || is_weptool(uwep)))
H A Du_init.c1038 if (obj->oclass == WEAPON_CLASS || is_weptool(obj) ||
H A Dworn.c89 if (obj->oclass == WEAPON_CLASS || is_weptool(obj) ||
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/include/
H A Dobj.h122 * #define is_weptool(o) ((o)->oclass == TOOL_CLASS && \
160 #define is_weptool(o) ((o)->oclass == TOOL_CLASS && \ macro
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/include/
H A Dobj.h122 * #define is_weptool(o) ((o)->oclass == TOOL_CLASS && \
160 #define is_weptool(o) ((o)->oclass == TOOL_CLASS && \ macro

Completed in 169 milliseconds

12