/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/src/ |
H A D | mklev.c | 17 /* croom->lx etc are schar (width <= int), so % arith ensures that */ 118 do_room_or_subroom(croom, lowx, lowy, hix, hiy, lit, rtype, special, is_room) 119 register struct mkroom *croom; 143 croom->rlit = 1; 145 croom->rlit = 0; 147 croom->lx = lowx; 148 croom->hx = hix; 149 croom->ly = lowy; 150 croom->hy = hiy; 151 croom 197 register struct mkroom *croom; local 215 register struct mkroom *croom; local 255 register struct mkroom *croom, *troom; local 606 register struct mkroom *croom, *troom; local 669 mkstairs(somex(croom), somey(croom), 0, croom); /* down */ local 923 struct mkroom *croom; local 1019 struct mkroom *croom = 0; local [all...] |
H A D | mkmap.c | 271 register struct mkroom *croom, *croom2; local 314 for(croom = &rooms[0], croom2 = croom + 1; croom2 < &rooms[nroom]; ) { 316 if(!somexy(croom, &sm) || !somexy(croom2, &em)) { 320 sm.x = croom->lx + ((croom->hx - croom->lx) / 2); 321 sm.y = croom->ly + ((croom->hy - croom 379 struct mkroom *croom; local 408 struct mkroom *croom = &rooms[roomno]; local [all...] |
H A D | mkroom.c | 560 somex(croom) 561 register struct mkroom *croom; 563 return rn2(croom->hx-croom->lx+1) + croom->lx; 567 somey(croom) 568 register struct mkroom *croom; 570 return rn2(croom->hy-croom->ly+1) + croom 644 register struct mkroom *croom; local [all...] |
H A D | sp_lev.c | 262 get_room_loc(x,y, croom) 264 struct mkroom *croom; 269 if (somexy(croom, &c)) { 276 *x = rn2(croom->hx - croom->lx + 1); 278 *y = rn2(croom->hy - croom->ly + 1); 279 *x += croom->lx; 280 *y += croom->ly; 290 get_free_room_loc(x,y, croom) 1381 struct mkroom *croom; local 2338 struct mkroom *croom = &rooms[0]; local [all...] |
H A D | mkmaze.c | 339 struct mkroom *croom; local 417 croom = &rooms[0]; /* only one room on the medusa level */ 419 x = somex(croom); y = somey(croom); 431 otmp = mk_tt_object(STATUE, somex(croom), somey(croom)); 434 somex(croom), somey(croom), FALSE); 443 croom = search_special(MORGUE); 445 create_secret_door(croom, W_SOUT [all...] |
H A D | extralev.c | 293 struct mkroom *croom; local 297 croom = &rooms[rn2(nroom)]; 298 x = somex(croom); y = somey(croom);
|
H A D | teleport.c | 356 register struct mkroom *croom = search_special(VAULT); local 359 if (croom && somexy(croom, &c) && teleok(c.x,c.y,FALSE)) { 1036 register struct mkroom *croom = search_special(VAULT); local 1039 if (croom && somexy(croom, &c) &&
|
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/src/ |
H A D | mklev.c | 17 /* croom->lx etc are schar (width <= int), so % arith ensures that */ 118 do_room_or_subroom(croom, lowx, lowy, hix, hiy, lit, rtype, special, is_room) 119 register struct mkroom *croom; 143 croom->rlit = 1; 145 croom->rlit = 0; 147 croom->lx = lowx; 148 croom->hx = hix; 149 croom->ly = lowy; 150 croom->hy = hiy; 151 croom 197 register struct mkroom *croom; local 215 register struct mkroom *croom; local 255 register struct mkroom *croom, *troom; local 606 register struct mkroom *croom, *troom; local 669 mkstairs(somex(croom), somey(croom), 0, croom); /* down */ local 923 struct mkroom *croom; local 1019 struct mkroom *croom = 0; local [all...] |
H A D | mkmap.c | 271 register struct mkroom *croom, *croom2; local 314 for(croom = &rooms[0], croom2 = croom + 1; croom2 < &rooms[nroom]; ) { 316 if(!somexy(croom, &sm) || !somexy(croom2, &em)) { 320 sm.x = croom->lx + ((croom->hx - croom->lx) / 2); 321 sm.y = croom->ly + ((croom->hy - croom 379 struct mkroom *croom; local 408 struct mkroom *croom = &rooms[roomno]; local [all...] |
H A D | mkroom.c | 560 somex(croom) 561 register struct mkroom *croom; 563 return rn2(croom->hx-croom->lx+1) + croom->lx; 567 somey(croom) 568 register struct mkroom *croom; 570 return rn2(croom->hy-croom->ly+1) + croom 644 register struct mkroom *croom; local [all...] |
H A D | sp_lev.c | 262 get_room_loc(x,y, croom) 264 struct mkroom *croom; 269 if (somexy(croom, &c)) { 276 *x = rn2(croom->hx - croom->lx + 1); 278 *y = rn2(croom->hy - croom->ly + 1); 279 *x += croom->lx; 280 *y += croom->ly; 290 get_free_room_loc(x,y, croom) 1381 struct mkroom *croom; local 2338 struct mkroom *croom = &rooms[0]; local [all...] |
H A D | mkmaze.c | 339 struct mkroom *croom; local 417 croom = &rooms[0]; /* only one room on the medusa level */ 419 x = somex(croom); y = somey(croom); 431 otmp = mk_tt_object(STATUE, somex(croom), somey(croom)); 434 somex(croom), somey(croom), FALSE); 443 croom = search_special(MORGUE); 445 create_secret_door(croom, W_SOUT [all...] |
H A D | extralev.c | 293 struct mkroom *croom; local 297 croom = &rooms[rn2(nroom)]; 298 x = somex(croom); y = somey(croom);
|
H A D | teleport.c | 356 register struct mkroom *croom = search_special(VAULT); local 359 if (croom && somexy(croom, &c) && teleok(c.x,c.y,FALSE)) { 1036 register struct mkroom *croom = search_special(VAULT); local 1039 if (croom && somexy(croom, &c) &&
|