Searched refs:aatyp (Results 1 - 22 of 22) sorted by relevance

/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/include/
H A Dpermonst.h9 * aatyp is the gross attack type (eg. claw, bite, breath, ...)
21 uchar aatyp; member in struct:attack
H A Dmondata.h107 #define could_twoweap(ptr) ((ptr)->mattk[1].aatyp == AT_WEAP)
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/include/
H A Dpermonst.h9 * aatyp is the gross attack type (eg. claw, bite, breath, ...)
21 uchar aatyp; member in struct:attack
H A Dmondata.h107 #define could_twoweap(ptr) ((ptr)->mattk[1].aatyp == AT_WEAP)
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/src/
H A Duhitm.c1311 if(mattk->aatyp == AT_WEAP) {
1313 } else if(mattk->aatyp == AT_KICK) {
1442 if (can_blnd(&youmonst, mdef, mattk->aatyp, (struct obj*)0)) {
1582 } else if(mattk->aatyp == AT_HUGS)
1852 if (can_blnd(&youmonst, mdef, mattk->aatyp, (struct obj *)0)) {
1945 switch(mattk->aatyp) {
2012 !(mattk->aatyp == AT_KICK &&
2018 if (mattk->aatyp == AT_KICK)
2020 else if (mattk->aatyp == AT_BITE)
2022 else if (mattk->aatyp
[all...]
H A Dmondata.c40 if (a->aatyp == atyp && (dtyp == AD_ANY || a->adtyp == dtyp))
135 can_blnd(magr, mdef, aatyp, obj)
138 uchar aatyp;
139 struct obj *obj; /* aatyp == AT_WEAP, AT_SPIT */
150 switch(aatyp) {
231 atyp = ptr->mattk[i].aatyp;
334 if (a->adtyp == dtyp && (atyp == AT_ANY || a->aatyp == atyp))
358 if(mdef->data->mattk[i].aatyp == AT_NONE ||
359 mdef->data->mattk[i].aatyp == AT_BOOM) {
749 what = (mattk->aatyp
[all...]
H A Dmhitm.c66 (mattk->aatyp == AT_EXPL) ? "an explosion" : "some noises",
255 switch (mattk->aatyp) {
284 mattk->aatyp != AT_WEAP && touch_petrifies(mdef->data)) {
406 switch (mattk->aatyp) {
598 long protector = attk_protection((int)mattk->aatyp),
687 if (mattk->aatyp == AT_KICK && thick_skinned(pd)) {
689 } else if(mattk->aatyp == AT_WEAP) {
911 if (can_blnd(magr, mdef, mattk->aatyp, (struct obj*)0)) {
1177 if(ptr->mattk[i].aatyp) return(0);
1286 if(mddat->mattk[i].aatyp
[all...]
H A Dmhitu.c55 switch (mattk->aatyp) {
123 if (mattk->aatyp == AT_WEAP) {
129 return (mattk->aatyp == AT_TUCH) ? "contact" :
130 (mattk->aatyp == AT_GAZE) ? "gaze" :
131 (mattk->aatyp == AT_BITE) ? "bite" : "sting";
168 mattk->aatyp == AT_BITE ? "snaps" :
169 mattk->aatyp == AT_KICK ? "kicks" :
170 (mattk->aatyp == AT_STNG ||
171 mattk->aatyp == AT_BUTT ||
234 if(mdat->mattk[i].aatyp
[all...]
H A Dexper.c61 tmp2 = ptr->mattk[i].aatyp;
H A Dpolyself.c810 if (u.ustuck->data->mattk[i].aatyp == AT_ENGL)
934 if(youmonst.data->mattk[i].aatyp == AT_GAZE) {
H A Dmon.c1507 if (mdat->mattk[i].aatyp == AT_BOOM) {
2090 if(mtmp->data->mattk[i].aatyp == AT_GAZE) {
H A Ddokick.c148 if (uattk->aatyp != AT_KICK) continue;
H A Dmonmove.c503 if (a->aatyp == AT_MAGC && (a->adtyp == AD_SPEL || a->adtyp == AD_CLRC)) {
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/src/
H A Duhitm.c1311 if(mattk->aatyp == AT_WEAP) {
1313 } else if(mattk->aatyp == AT_KICK) {
1442 if (can_blnd(&youmonst, mdef, mattk->aatyp, (struct obj*)0)) {
1582 } else if(mattk->aatyp == AT_HUGS)
1852 if (can_blnd(&youmonst, mdef, mattk->aatyp, (struct obj *)0)) {
1945 switch(mattk->aatyp) {
2012 !(mattk->aatyp == AT_KICK &&
2018 if (mattk->aatyp == AT_KICK)
2020 else if (mattk->aatyp == AT_BITE)
2022 else if (mattk->aatyp
[all...]
H A Dmondata.c40 if (a->aatyp == atyp && (dtyp == AD_ANY || a->adtyp == dtyp))
135 can_blnd(magr, mdef, aatyp, obj)
138 uchar aatyp;
139 struct obj *obj; /* aatyp == AT_WEAP, AT_SPIT */
150 switch(aatyp) {
231 atyp = ptr->mattk[i].aatyp;
334 if (a->adtyp == dtyp && (atyp == AT_ANY || a->aatyp == atyp))
358 if(mdef->data->mattk[i].aatyp == AT_NONE ||
359 mdef->data->mattk[i].aatyp == AT_BOOM) {
749 what = (mattk->aatyp
[all...]
H A Dmhitm.c66 (mattk->aatyp == AT_EXPL) ? "an explosion" : "some noises",
255 switch (mattk->aatyp) {
284 mattk->aatyp != AT_WEAP && touch_petrifies(mdef->data)) {
406 switch (mattk->aatyp) {
598 long protector = attk_protection((int)mattk->aatyp),
687 if (mattk->aatyp == AT_KICK && thick_skinned(pd)) {
689 } else if(mattk->aatyp == AT_WEAP) {
911 if (can_blnd(magr, mdef, mattk->aatyp, (struct obj*)0)) {
1177 if(ptr->mattk[i].aatyp) return(0);
1286 if(mddat->mattk[i].aatyp
[all...]
H A Dmhitu.c55 switch (mattk->aatyp) {
123 if (mattk->aatyp == AT_WEAP) {
129 return (mattk->aatyp == AT_TUCH) ? "contact" :
130 (mattk->aatyp == AT_GAZE) ? "gaze" :
131 (mattk->aatyp == AT_BITE) ? "bite" : "sting";
168 mattk->aatyp == AT_BITE ? "snaps" :
169 mattk->aatyp == AT_KICK ? "kicks" :
170 (mattk->aatyp == AT_STNG ||
171 mattk->aatyp == AT_BUTT ||
234 if(mdat->mattk[i].aatyp
[all...]
H A Dexper.c61 tmp2 = ptr->mattk[i].aatyp;
H A Dpolyself.c810 if (u.ustuck->data->mattk[i].aatyp == AT_ENGL)
934 if(youmonst.data->mattk[i].aatyp == AT_GAZE) {
H A Dmon.c1507 if (mdat->mattk[i].aatyp == AT_BOOM) {
2090 if(mtmp->data->mattk[i].aatyp == AT_GAZE) {
H A Ddokick.c148 if (uattk->aatyp != AT_KICK) continue;
H A Dmonmove.c503 if (a->aatyp == AT_MAGC && (a->adtyp == AD_SPEL || a->adtyp == AD_CLRC)) {

Completed in 169 milliseconds