Searched refs:doors (Results 1 - 22 of 22) sorted by relevance

/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/src/
H A Dshknam.c344 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 Dmkroom.c280 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 Ddecl.c134 NEARDATA coord doors[DOORMAX] = {DUMMY}; variable
H A Dmklev.c166 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 Drestore.c784 mread(fd, (genericptr_t)doors, sizeof(doors));
H A Dsave.c532 bwrite(fd, (genericptr_t) doors, sizeof(doors));
H A Ddetect.c704 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 Dsp_lev.c1536 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 Dshknam.c344 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 Dmkroom.c280 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 Ddecl.c134 NEARDATA coord doors[DOORMAX] = {DUMMY}; variable
H A Dmklev.c166 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 Drestore.c784 mread(fd, (genericptr_t)doors, sizeof(doors));
H A Dsave.c532 bwrite(fd, (genericptr_t) doors, sizeof(doors));
H A Ddetect.c704 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 Dsp_lev.c1536 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 Dsp_lev.h153 door **doors; member in struct:__anon717
197 room_door **doors; member in struct:_room
H A Dmkroom.h48 extern NEARDATA coord doors[DOORMAX];
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/include/
H A Dsp_lev.h153 door **doors; member in struct:__anon39
197 room_door **doors; member in struct:_room
H A Dmkroom.h48 extern NEARDATA coord doors[DOORMAX];
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/doc/
H A DGuidebook.tex781 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 DGuidebook.tex781 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.

Completed in 125 milliseconds