/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/src/ |
H A D | shknam.c | 344 sx = doors[sh].x; 345 sy = doors[sh].y; 378 pline("door [%d,%d]", doors[sh].x, doors[sh].y); 401 ESHK(shk)->shd = doors[sh]; 444 /* make sure no doorways without doors, and no */ 445 /* trapped doors, in shops. */ 446 sx = doors[sroom->fdoor].x; 447 sy = doors[sroom->fdoor].y; 475 distmin(sx, sy, doors[s [all...] |
H A D | mkroom.c | 280 distmin(sx, sy, doors[sh].x, doors[sh].y) <= 1)) 284 ((sx == sroom->lx && doors[sh].x == sx-1) || 285 (sx == sroom->hx && doors[sh].x == sx+1) || 286 (sy == sroom->ly && doors[sh].y == sy-1) || 287 (sy == sroom->hy && doors[sh].y == sy+1)))) 316 int distval = dist2(sx,sy,doors[sh].x,doors[sh].y);
|
H A D | decl.c | 134 NEARDATA coord doors[DOORMAX] = {DUMMY}; variable
|
H A D | mklev.c | 166 levl[x][y].horizontal = 1; /* For open/secret doors. */ 171 levl[x][y].horizontal = 0; /* For open/secret doors. */ 261 /* find positions cc and tt for doors in croom and troom 364 doors[tmp] = doors[tmp-1]; 366 doors[tmp].x = x; 367 doors[tmp].y = y; 379 if(!IS_WALL(levl[x][y].typ)) /* avoid SDOORs on already made doors */
|
H A D | restore.c | 784 mread(fd, (genericptr_t)doors, sizeof(doors));
|
H A D | save.c | 532 bwrite(fd, (genericptr_t) doors, sizeof(doors));
|
H A D | detect.c | 704 cc = doors[door]; 732 cc = doors[door]; 921 /* Secret corridors are found, but not secret doors. */ 989 /* rogue didn't have doors, only doorways */
|
H A D | sp_lev.c | 1536 Free(r->doors[j]); 1537 Free(r->doors); 1636 create_door(r->doors[i], aroom); 1877 /* read the doors */ 1880 r->doors = NewTab(room_door, n); 1882 r->doors[(int)n] = New(room_door); 1883 Fread((genericptr_t) r->doors[(int)n], 1, 2183 * Set secret doors to closed (why not trapped too?). Set 2192 * not allow (secret) doors to be corners of rooms. 2336 /* Number of doors */ [all...] |
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/src/ |
H A D | shknam.c | 344 sx = doors[sh].x; 345 sy = doors[sh].y; 378 pline("door [%d,%d]", doors[sh].x, doors[sh].y); 401 ESHK(shk)->shd = doors[sh]; 444 /* make sure no doorways without doors, and no */ 445 /* trapped doors, in shops. */ 446 sx = doors[sroom->fdoor].x; 447 sy = doors[sroom->fdoor].y; 475 distmin(sx, sy, doors[s [all...] |
H A D | mkroom.c | 280 distmin(sx, sy, doors[sh].x, doors[sh].y) <= 1)) 284 ((sx == sroom->lx && doors[sh].x == sx-1) || 285 (sx == sroom->hx && doors[sh].x == sx+1) || 286 (sy == sroom->ly && doors[sh].y == sy-1) || 287 (sy == sroom->hy && doors[sh].y == sy+1)))) 316 int distval = dist2(sx,sy,doors[sh].x,doors[sh].y);
|
H A D | decl.c | 134 NEARDATA coord doors[DOORMAX] = {DUMMY}; variable
|
H A D | mklev.c | 166 levl[x][y].horizontal = 1; /* For open/secret doors. */ 171 levl[x][y].horizontal = 0; /* For open/secret doors. */ 261 /* find positions cc and tt for doors in croom and troom 364 doors[tmp] = doors[tmp-1]; 366 doors[tmp].x = x; 367 doors[tmp].y = y; 379 if(!IS_WALL(levl[x][y].typ)) /* avoid SDOORs on already made doors */
|
H A D | restore.c | 784 mread(fd, (genericptr_t)doors, sizeof(doors));
|
H A D | save.c | 532 bwrite(fd, (genericptr_t) doors, sizeof(doors));
|
H A D | detect.c | 704 cc = doors[door]; 732 cc = doors[door]; 921 /* Secret corridors are found, but not secret doors. */ 989 /* rogue didn't have doors, only doorways */
|
H A D | sp_lev.c | 1536 Free(r->doors[j]); 1537 Free(r->doors); 1636 create_door(r->doors[i], aroom); 1877 /* read the doors */ 1880 r->doors = NewTab(room_door, n); 1882 r->doors[(int)n] = New(room_door); 1883 Fread((genericptr_t) r->doors[(int)n], 1, 2183 * Set secret doors to closed (why not trapped too?). Set 2192 * not allow (secret) doors to be corners of rooms. 2336 /* Number of doors */ [all...] |
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/include/ |
H A D | sp_lev.h | 153 door **doors; member in struct:__anon717 197 room_door **doors; member in struct:_room
|
H A D | mkroom.h | 48 extern NEARDATA coord doors[DOORMAX];
|
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/include/ |
H A D | sp_lev.h | 153 door **doors; member in struct:__anon39 197 room_door **doors; member in struct:_room
|
H A D | mkroom.h | 48 extern NEARDATA coord doors[DOORMAX];
|
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/doc/ |
H A D | Guidebook.tex | 781 Search for secret doors and traps around you. It usually takes several 1087 Doorways connect rooms and corridors. Some doorways have no doors; 1088 you can walk right through. Others have doors in them, which may be 1098 Open doors cannot be entered diagonally; you must approach them 1099 straight on, horizontally or vertically. Doorways without doors are 1104 open doors, although a few don't need to (ex.\ ghosts can walk through 1105 doors). 1108 Secret doors are hidden. You can find them with the `{\tt s}' (search) 1109 command. Once found they are in all ways equivalent to normal doors.
|
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/doc/ |
H A D | Guidebook.tex | 781 Search for secret doors and traps around you. It usually takes several 1087 Doorways connect rooms and corridors. Some doorways have no doors; 1088 you can walk right through. Others have doors in them, which may be 1098 Open doors cannot be entered diagonally; you must approach them 1099 straight on, horizontally or vertically. Doorways without doors are 1104 open doors, although a few don't need to (ex.\ ghosts can walk through 1105 doors). 1108 Secret doors are hidden. You can find them with the `{\tt s}' (search) 1109 command. Once found they are in all ways equivalent to normal doors.
|