OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:doors
(Results
1 - 11
of
11
) sorted by relevancy
/src/games/hack/
def.mkroom.h
75
extern coord
doors
[DOORMAX];
hack.mkshop.c
157
sx =
doors
[sh].x;
158
sy =
doors
[sh].y;
179
pline("door [%d,%d]",
doors
[sh].x,
doors
[sh].y);
194
ESHK->shd =
doors
[sh];
206
if ((sx == sroom->lx &&
doors
[sh].x == sx - 1) ||
207
(sx == sroom->hx &&
doors
[sh].x == sx + 1) ||
208
(sy == sroom->ly &&
doors
[sh].y == sy - 1) ||
209
(sy == sroom->hy &&
doors
[sh].y == sy + 1))
250
if ((sx == sroom->lx &&
doors
[sh].x == sx - 1) |
[
all
...]
hack.Decl.c
81
coord
doors
[DOORMAX];
variable in typeref:typename:coord[]
hack.lev.c
114
bwrite(fd,
doors
, sizeof(
doors
));
291
mread(fd,
doors
, sizeof(
doors
));
hack.unix.c
451
if (dist(fx, fy) < dist(
doors
[tmp].x,
doors
[tmp].y)) {
452
fx =
doors
[tmp].x;
453
fy =
doors
[tmp].y;
hack.dog.c
312
dist(
doors
[tmp].x,
doors
[tmp].y)) {
313
gx =
doors
[tmp].x;
314
gy =
doors
[tmp].y;
hack.mklev.c
450
doors
[tmp] =
doors
[tmp - 1];
452
doors
[tmp].x = x;
453
doors
[tmp].y = y;
581
* find positions cc and tt for
doors
in croom and troom and
/src/games/rogue/
room.c
364
oth_rn = rooms[rn].
doors
[i].oth_room;
445
if (rooms[rr].
doors
[k].oth_room == rn) {
446
monster->trow = rooms[rr].
doors
[k].oth_row;
447
monster->tcol = rooms[rr].
doors
[k].oth_col;
472
if (rooms[i].
doors
[j].oth_room == rn) {
474
if (rooms[rn].
doors
[k].oth_room == i) {
475
monster->trow = rooms[rn].
doors
[k].oth_row;
476
monster->tcol = rooms[rn].
doors
[k].oth_col;
509
if ((d != -1) && (rooms[rn].
doors
[d].oth_room >= 0)) {
510
*row = rooms[rn].
doors
[d].oth_row
[
all
...]
level.c
356
rooms[room1].
doors
[dir/2].oth_room = room2;
357
rooms[room1].
doors
[dir/2].oth_row = row2;
358
rooms[room1].
doors
[dir/2].oth_col = col2;
360
rooms[room2].
doors
[(((dir+4)%DIRS)/2)].oth_room = room1;
361
rooms[room2].
doors
[(((dir+4)%DIRS)/2)].oth_row = row1;
362
rooms[room2].
doors
[(((dir+4)%DIRS)/2)].oth_col = col1;
374
rooms[i].
doors
[j].oth_room = NO_ROOM;
424
rm->
doors
[dir/2].door_row = *row;
425
rm->
doors
[dir/2].door_col = *col;
567
if (rooms[target_room].
doors
[door_dir/2].oth_room != NO_ROOM)
[
all
...]
monster.c
741
if (rooms[rn].
doors
[d].oth_room != NO_ROOM) {
742
monster->trow = rooms[rn].
doors
[d].door_row;
743
monster->tcol = rooms[rn].
doors
[d].door_col;
rogue.h
287
door
doors
[4];
member in struct:rm
Completed in 22 milliseconds
Indexes created Tue Oct 21 07:10:13 GMT 2025