/seL4-refos-master/apps/nethack/src/nethack-3.4.3/src/ |
H A D | sp_lev.c | 912 struct obj *otmp; local 934 otmp = mkobj_at(RANDOM_CLASS, x, y, !named); 936 otmp = mksobj_at(o->id, x, y, TRUE, !named); 949 otmp = mkgold(0L, x, y); 951 otmp = mkobj_at(oclass, x, y, !named); 955 otmp->spe = (schar)o->spe; 958 case 1: bless(otmp); break; /* BLESSED */ 959 case 2: unbless(otmp); uncurse(otmp); break; /* uncursed */ 960 case 3: curse(otmp); brea [all...] |
H A D | mhitu.c | 8 STATIC_VAR NEARDATA struct obj *otmp; variable in typeref:struct:obj 650 otmp = MON_WEP(mtmp); 651 if(otmp) { 652 hittmp = hitval(otmp, &youmonst); 654 mswings(mtmp, otmp); 661 if (otmp) 936 if(mattk->aatyp == AT_WEAP && otmp) { 937 if (otmp->otyp == CORPSE 938 && touch_petrifies(&mons[otmp->corpsenm])) { 941 Monnam(mtmp), mons[otmp [all...] |
H A D | music.c | 221 struct obj *otmp; local 284 if ((otmp = sobj_at(BOULDER, x, y)) != 0) { 290 obj_extract_self(otmp); 291 (void) flooreffects(otmp, x, y, "");
|
H A D | dogmove.c | 65 struct obj *otmp; local 67 for(otmp = level.objects[x][y]; otmp; otmp = otmp->nexthere) 68 if (otmp->cursed) return TRUE;
|
H A D | dbridge.c | 855 struct obj *otmp; local 872 if ((otmp = sobj_at(BOULDER,x,y)) != 0) { 873 obj_extract_self(otmp); 874 (void) flooreffects(otmp,x,y,"fall");
|
H A D | priest.c | 194 struct obj *otmp; local 224 if (rn2(2) && (otmp = which_armor(priest, W_ARMC)) != 0) { 226 uncurse(otmp); 228 curse(otmp);
|
H A D | teleport.c | 371 register struct obj *otmp; local 379 otmp = get_mleash(mtmp); 380 if (!otmp) { 384 if (otmp->cursed && !force_it) {
|
H A D | files.c | 2137 struct obj *otmp; local 2151 otmp = readobjnam(buf, (struct obj *)0, FALSE); 2152 if (otmp) { 2153 if (otmp != &zeroobj) 2154 otmp = addinv(otmp);
|
H A D | mkroom.c | 402 struct obj *otmp; local 409 !(otmp = sobj_at(CORPSE, cc.x, cc.y)) || 410 !revive(otmp)))
|
H A D | sounds.c | 840 struct obj *otmp; local 859 if (!Blind && (otmp = shop_object(u.ux, u.uy)) != (struct obj *)0) { 867 price_quote(otmp);
|
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/src/ |
H A D | mhitu.c | 8 STATIC_VAR NEARDATA struct obj *otmp; variable in typeref:struct:obj 650 otmp = MON_WEP(mtmp); 651 if(otmp) { 652 hittmp = hitval(otmp, &youmonst); 654 mswings(mtmp, otmp); 661 if (otmp) 936 if(mattk->aatyp == AT_WEAP && otmp) { 937 if (otmp->otyp == CORPSE 938 && touch_petrifies(&mons[otmp->corpsenm])) { 941 Monnam(mtmp), mons[otmp [all...] |
H A D | music.c | 221 struct obj *otmp; local 284 if ((otmp = sobj_at(BOULDER, x, y)) != 0) { 290 obj_extract_self(otmp); 291 (void) flooreffects(otmp, x, y, "");
|
H A D | dogmove.c | 65 struct obj *otmp; local 67 for(otmp = level.objects[x][y]; otmp; otmp = otmp->nexthere) 68 if (otmp->cursed) return TRUE;
|
H A D | dbridge.c | 855 struct obj *otmp; local 872 if ((otmp = sobj_at(BOULDER,x,y)) != 0) { 873 obj_extract_self(otmp); 874 (void) flooreffects(otmp,x,y,"fall");
|
H A D | priest.c | 194 struct obj *otmp; local 224 if (rn2(2) && (otmp = which_armor(priest, W_ARMC)) != 0) { 226 uncurse(otmp); 228 curse(otmp);
|
H A D | teleport.c | 371 register struct obj *otmp; local 379 otmp = get_mleash(mtmp); 380 if (!otmp) { 384 if (otmp->cursed && !force_it) {
|
H A D | files.c | 2137 struct obj *otmp; local 2151 otmp = readobjnam(buf, (struct obj *)0, FALSE); 2152 if (otmp) { 2153 if (otmp != &zeroobj) 2154 otmp = addinv(otmp);
|
H A D | mkroom.c | 402 struct obj *otmp; local 409 !(otmp = sobj_at(CORPSE, cc.x, cc.y)) || 410 !revive(otmp)))
|
H A D | sounds.c | 840 struct obj *otmp; local 859 if (!Blind && (otmp = shop_object(u.ux, u.uy)) != (struct obj *)0) { 867 price_quote(otmp);
|