/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/src/ |
H A D | read.c | 1179 register struct obj *otmp2; local 1183 otmp2 = mksobj(confused ? ROCK : BOULDER, 1185 if (!otmp2) continue; /* Shouldn't happen */ 1186 otmp2->quan = confused ? rn1(5,2) : 1; 1187 otmp2->owt = weight(otmp2); 1200 doname(otmp2)); 1204 mdmg = dmgval(otmp2, mtmp) * otmp2->quan; 1224 if (!flooreffects(otmp2, 1235 struct obj *otmp2; local [all...] |
H A D | muse.c | 1351 register struct obj *otmp2; local 1355 otmp2 = mksobj(confused ? ROCK : BOULDER, 1357 if (!otmp2) continue; /* Shouldn't happen */ 1358 otmp2->quan = confused ? rn1(5,2) : 1; 1359 otmp2->owt = weight(otmp2); 1372 doname(otmp2)); 1376 mdmg = dmgval(otmp2, mtmp2) * otmp2->quan; 1398 if (!flooreffects(otmp2, 1410 struct obj *otmp2; local [all...] |
H A D | restore.c | 105 register struct obj *otmp, *otmp2; local 107 for (otmp = invent; otmp; otmp = otmp2) { 108 otmp2 = otmp->nobj; 198 register struct obj *otmp, *otmp2 = 0; local 207 else otmp2->nobj = otmp; 233 otmp2 = otmp; 235 if(first && otmp2->nobj){ 237 otmp2->nobj = 0;
|
H A D | mkobj.c | 925 struct obj *otmp2; local 929 otmp2 = save_mtraits(otmp, mtmp); 930 if (otmp2) otmp = otmp2; 1039 register struct obj *otmp, *otmp2; local 1046 if ((otmp2 = tt_oname(otmp)) != 0) otmp = otmp2; 1105 register struct obj *otmp2 = level.objects[x][y]; local 1114 if (otmp2 && (otmp2 [all...] |
H A D | dig.c | 1289 struct obj *otmp2; local 1298 otmp2 = otmp->nexthere; 1308 return(otmp2); 1322 return(otmp2); 1336 return(otmp2); 1343 struct obj *otmp, *otmp2; local 1349 for (otmp = level.objects[x][y]; otmp; otmp = otmp2) 1350 otmp2 = bury_an_obj(otmp); 1362 struct obj *otmp, *otmp2; local 1367 for (otmp = level.buriedobjlist; otmp; otmp = otmp2) { [all...] |
H A D | polyself.c | 681 struct obj *otmp2; local 693 otmp2 = u.twoweap ? uswapwep : 0; 697 if (otmp2 != 0) { 699 if (!otmp2->cursed || otmp2->otyp != LOADSTONE) 700 dropx(otmp2);
|
H A D | zap.c | 740 struct obj *otmp, *otmp2; local 747 otmp2 = (mon == &youmonst) ? invent : mon->minvent; 749 while ((otmp = otmp2) != 0) { 750 otmp2 = otmp->nobj; 1033 register struct obj *otmp, *otmp2; local 1035 for(otmp = objhdr; minwt > 0 && otmp; otmp = otmp2) { 1036 otmp2 = otmp->nexthere; 2982 struct obj *otmp2; local 2992 if ((otmp2 = which_armor(mon, W_ARMC)) != 0) 2993 m_useup(mon, otmp2); 3383 struct obj *otmp2, *m_amulet = mlifesaver(mon); local [all...] |
H A D | mon.c | 753 register struct obj *otmp, *otmp2; local 764 for (otmp = level.objects[mtmp->mx][mtmp->my]; otmp; otmp = otmp2) { 765 otmp2 = otmp->nexthere; 871 register struct obj *otmp, *otmp2; local 876 for(otmp = level.objects[mtmp->mx][mtmp->my]; otmp; otmp = otmp2) { 877 otmp2 = otmp->nexthere; 2553 register struct obj *otmp, *otmp2; local 2555 for (otmp = mtmp->minvent; otmp; otmp = otmp2) { 2556 otmp2 = otmp->nobj;
|
H A D | do.c | 269 register struct obj *otmp,*otmp2; local 322 for(otmp = level.objects[u.ux][u.uy]; otmp; otmp = otmp2) { 323 otmp2 = otmp->nexthere; 644 struct obj *otmp, *otmp2; local 696 for(otmp = invent; otmp; otmp = otmp2) { 697 otmp2 = otmp->nobj;
|
H A D | dokick.c | 346 struct obj *otmp, *otmp2; local 359 for (otmp = obj->cobj; otmp; otmp = otmp2) { 362 otmp2 = otmp->nobj; 1393 register struct obj *otmp, *otmp2; local 1397 for (otmp = migrating_objs; otmp; otmp = otmp2) { 1398 otmp2 = otmp->nobj;
|
H A D | save.c | 848 register struct obj *otmp2; local 853 otmp2 = otmp->nobj; 869 otmp = otmp2;
|
H A D | invent.c | 544 struct obj *otmp, *otmp2; local 546 for (otmp = level.objects[x][y]; otmp; otmp = otmp2) { 550 otmp2 = otmp->nexthere; 1376 struct obj *otmp, *otmp2, *otmpo; local 1395 for (otmp = *objchn; otmp; otmp = otmp2) { 1397 otmp2 = otmp->nobj;
|
H A D | mhitu.c | 1630 register struct obj *otmp2; local 1691 for (otmp2 = invent; otmp2; otmp2 = otmp2->nobj) 1692 (void) snuff_lit(otmp2);
|
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/src/ |
H A D | read.c | 1179 register struct obj *otmp2; local 1183 otmp2 = mksobj(confused ? ROCK : BOULDER, 1185 if (!otmp2) continue; /* Shouldn't happen */ 1186 otmp2->quan = confused ? rn1(5,2) : 1; 1187 otmp2->owt = weight(otmp2); 1200 doname(otmp2)); 1204 mdmg = dmgval(otmp2, mtmp) * otmp2->quan; 1224 if (!flooreffects(otmp2, 1235 struct obj *otmp2; local [all...] |
H A D | muse.c | 1351 register struct obj *otmp2; local 1355 otmp2 = mksobj(confused ? ROCK : BOULDER, 1357 if (!otmp2) continue; /* Shouldn't happen */ 1358 otmp2->quan = confused ? rn1(5,2) : 1; 1359 otmp2->owt = weight(otmp2); 1372 doname(otmp2)); 1376 mdmg = dmgval(otmp2, mtmp2) * otmp2->quan; 1398 if (!flooreffects(otmp2, 1410 struct obj *otmp2; local [all...] |
H A D | restore.c | 105 register struct obj *otmp, *otmp2; local 107 for (otmp = invent; otmp; otmp = otmp2) { 108 otmp2 = otmp->nobj; 198 register struct obj *otmp, *otmp2 = 0; local 207 else otmp2->nobj = otmp; 233 otmp2 = otmp; 235 if(first && otmp2->nobj){ 237 otmp2->nobj = 0;
|
H A D | mkobj.c | 925 struct obj *otmp2; local 929 otmp2 = save_mtraits(otmp, mtmp); 930 if (otmp2) otmp = otmp2; 1039 register struct obj *otmp, *otmp2; local 1046 if ((otmp2 = tt_oname(otmp)) != 0) otmp = otmp2; 1105 register struct obj *otmp2 = level.objects[x][y]; local 1114 if (otmp2 && (otmp2 [all...] |
H A D | dig.c | 1289 struct obj *otmp2; local 1298 otmp2 = otmp->nexthere; 1308 return(otmp2); 1322 return(otmp2); 1336 return(otmp2); 1343 struct obj *otmp, *otmp2; local 1349 for (otmp = level.objects[x][y]; otmp; otmp = otmp2) 1350 otmp2 = bury_an_obj(otmp); 1362 struct obj *otmp, *otmp2; local 1367 for (otmp = level.buriedobjlist; otmp; otmp = otmp2) { [all...] |
H A D | polyself.c | 681 struct obj *otmp2; local 693 otmp2 = u.twoweap ? uswapwep : 0; 697 if (otmp2 != 0) { 699 if (!otmp2->cursed || otmp2->otyp != LOADSTONE) 700 dropx(otmp2);
|
H A D | zap.c | 740 struct obj *otmp, *otmp2; local 747 otmp2 = (mon == &youmonst) ? invent : mon->minvent; 749 while ((otmp = otmp2) != 0) { 750 otmp2 = otmp->nobj; 1033 register struct obj *otmp, *otmp2; local 1035 for(otmp = objhdr; minwt > 0 && otmp; otmp = otmp2) { 1036 otmp2 = otmp->nexthere; 2982 struct obj *otmp2; local 2992 if ((otmp2 = which_armor(mon, W_ARMC)) != 0) 2993 m_useup(mon, otmp2); 3383 struct obj *otmp2, *m_amulet = mlifesaver(mon); local [all...] |
H A D | mon.c | 753 register struct obj *otmp, *otmp2; local 764 for (otmp = level.objects[mtmp->mx][mtmp->my]; otmp; otmp = otmp2) { 765 otmp2 = otmp->nexthere; 871 register struct obj *otmp, *otmp2; local 876 for(otmp = level.objects[mtmp->mx][mtmp->my]; otmp; otmp = otmp2) { 877 otmp2 = otmp->nexthere; 2553 register struct obj *otmp, *otmp2; local 2555 for (otmp = mtmp->minvent; otmp; otmp = otmp2) { 2556 otmp2 = otmp->nobj;
|
H A D | do.c | 269 register struct obj *otmp,*otmp2; local 322 for(otmp = level.objects[u.ux][u.uy]; otmp; otmp = otmp2) { 323 otmp2 = otmp->nexthere; 644 struct obj *otmp, *otmp2; local 696 for(otmp = invent; otmp; otmp = otmp2) { 697 otmp2 = otmp->nobj;
|
H A D | dokick.c | 346 struct obj *otmp, *otmp2; local 359 for (otmp = obj->cobj; otmp; otmp = otmp2) { 362 otmp2 = otmp->nobj; 1393 register struct obj *otmp, *otmp2; local 1397 for (otmp = migrating_objs; otmp; otmp = otmp2) { 1398 otmp2 = otmp->nobj;
|
H A D | save.c | 848 register struct obj *otmp2; local 853 otmp2 = otmp->nobj; 869 otmp = otmp2;
|
H A D | invent.c | 544 struct obj *otmp, *otmp2; local 546 for (otmp = level.objects[x][y]; otmp; otmp = otmp2) { 550 otmp2 = otmp->nexthere; 1376 struct obj *otmp, *otmp2, *otmpo; local 1395 for (otmp = *objchn; otmp; otmp = otmp2) { 1397 otmp2 = otmp->nobj;
|