Searched refs:otmp (Results 126 - 144 of 144) sorted by relevance

123456

/seL4-refos-master/apps/nethack/src/nethack-3.4.3/src/
H A Dsp_lev.c912 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 Dmhitu.c8 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 Dmusic.c221 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 Ddogmove.c65 struct obj *otmp; local
67 for(otmp = level.objects[x][y]; otmp; otmp = otmp->nexthere)
68 if (otmp->cursed) return TRUE;
H A Ddbridge.c855 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 Dpriest.c194 struct obj *otmp; local
224 if (rn2(2) && (otmp = which_armor(priest, W_ARMC)) != 0) {
226 uncurse(otmp);
228 curse(otmp);
H A Dteleport.c371 register struct obj *otmp; local
379 otmp = get_mleash(mtmp);
380 if (!otmp) {
384 if (otmp->cursed && !force_it) {
H A Dfiles.c2137 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 Dmkroom.c402 struct obj *otmp; local
409 !(otmp = sobj_at(CORPSE, cc.x, cc.y)) ||
410 !revive(otmp)))
H A Dsounds.c840 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 Dmhitu.c8 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 Dmusic.c221 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 Ddogmove.c65 struct obj *otmp; local
67 for(otmp = level.objects[x][y]; otmp; otmp = otmp->nexthere)
68 if (otmp->cursed) return TRUE;
H A Ddbridge.c855 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 Dpriest.c194 struct obj *otmp; local
224 if (rn2(2) && (otmp = which_armor(priest, W_ARMC)) != 0) {
226 uncurse(otmp);
228 curse(otmp);
H A Dteleport.c371 register struct obj *otmp; local
379 otmp = get_mleash(mtmp);
380 if (!otmp) {
384 if (otmp->cursed && !force_it) {
H A Dfiles.c2137 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 Dmkroom.c402 struct obj *otmp; local
409 !(otmp = sobj_at(CORPSE, cc.x, cc.y)) ||
410 !revive(otmp)))
H A Dsounds.c840 struct obj *otmp; local
859 if (!Blind && (otmp = shop_object(u.ux, u.uy)) != (struct obj *)0) {
867 price_quote(otmp);

Completed in 195 milliseconds

123456