/dports/games/xnethack/xNetHack-xnh6.1/src/ |
H A D | restore.c | 906 stairway stway = UNDEFINED_VALUES; in rest_stairs() local 927 stairway_add(stway.sx, stway.sy, stway.up, stway.isladder, in rest_stairs() 928 &(stway.tolev)); in rest_stairs() 1156 stairway *stway = g.stairs; in getlev() local 1157 while (stway) { in getlev() 1158 if (!stway->isladder && !stway->up in getlev() 1161 stway = stway->next; in getlev() 1193 stway = g.stairs; in getlev() 1194 while (stway) { in getlev() 1197 stway = stway->next; in getlev() [all …]
|
H A D | wizard.c | 318 stairway *stway = g.stairs; in choose_stairs() local 321 if ((stway = stairway_find_type_dir(FALSE, stdir)) != 0) { in choose_stairs() 322 x = stway->sx; in choose_stairs() 323 y = stway->sy; in choose_stairs() 325 x = stway->sx; in choose_stairs() 326 y = stway->sy; in choose_stairs() 328 while (stway) { in choose_stairs() 329 if (stway->tolev.dnum != u.uz.dnum) { in choose_stairs() 330 x = stway->sx; in choose_stairs() 331 y = stway->sy; in choose_stairs() [all …]
|
H A D | mail.c | 156 stairway *stway = g.stairs; in md_start() local 172 while (stway) { in md_start() 173 if (stway->tolev.dnum == u.uz.dnum && couldsee(stway->sx, stway->sy)) { in md_start() 174 startp->x = stway->sx; in md_start() 175 startp->y = stway->sy; in md_start() 178 stway = stway->next; in md_start()
|
H A D | dog.c | 306 stairway *stway; in mon_arrive() local 382 xlocale = stway->sx; in mon_arrive() 383 ylocale = stway->sy; in mon_arrive() 388 xlocale = stway->sx; in mon_arrive() 389 ylocale = stway->sy; in mon_arrive() 394 xlocale = stway->sx; in mon_arrive() 395 ylocale = stway->sy; in mon_arrive() 400 xlocale = stway->sx; in mon_arrive() 401 ylocale = stway->sy; in mon_arrive() 406 xlocale = stway->sx; in mon_arrive() [all …]
|
H A D | muse.c | 334 stairway *stway; in find_defensive() local 441 if (stway && !stway->up && stway->tolev.dnum == u.uz.dnum) { in find_defensive() 444 } else if (stway && stway->up && stway->tolev.dnum == u.uz.dnum) { in find_defensive() 446 } else if (stway && stway->tolev.dnum != u.uz.dnum) { in find_defensive() 452 if (stway && stway->up && stway->tolev.dnum == u.uz.dnum) { in find_defensive() 454 } else if (stway && !stway->up && stway->tolev.dnum == u.uz.dnum) { in find_defensive() 457 } else if (stway && stway->tolev.dnum != u.uz.dnum) { in find_defensive() 884 if (!stway) in use_defensive() 896 if (!stway) in use_defensive() 906 if (!stway) in use_defensive() [all …]
|
H A D | teleport.c | 1273 stairway *stway = g.stairs; in stairway_find_forwiz() local 1275 while (stway && !(stway->isladder == isladder in stairway_find_forwiz() 1276 && stway->up == up && stway->tolev.dnum == u.uz.dnum)) in stairway_find_forwiz() 1277 stway = stway->next; in stairway_find_forwiz() 1278 return stway; in stairway_find_forwiz() 1296 stairway *stway; in rloc() local 1299 stway = stairway_find_forwiz(FALSE, TRUE); in rloc() 1301 stway = stairway_find_forwiz(TRUE, TRUE); in rloc() 1303 stway = stairway_find_forwiz(TRUE, FALSE); in rloc() 1306 x = stway ? stway->sx : 0; in rloc() [all …]
|
H A D | allmain.c | 785 stairway *stway = g.stairs; in do_positionbar() local 789 while (stway) { in do_positionbar() 790 int x = stway->sx; in do_positionbar() 791 int y = stway->sy; in do_positionbar() 795 *p++ = (stway->up ? '<' : '>'); in do_positionbar() 796 *p++ = stway->sx; in do_positionbar() 798 stway = stway->next; in do_positionbar()
|
H A D | do.c | 984 stairway *stway = stairway_at(u.ux, u.uy); in dodown() local 985 boolean stairs_down = (stway && !stway->up && !stway->isladder), in dodown() 986 ladder_down = (stway && !stway->up && stway->isladder); in dodown() 1138 stairway *stway = stairway_at(u.ux,u.uy); in doup() local 1149 if (!stway || (stway && !stway->up)) { in doup() 1502 stairway *stway = stairway_find_from(&u.uz0, g.at_ladder); in goto_level() local 1503 if (stway) in goto_level() 1504 u_on_newpos(stway->sx, stway->sy); in goto_level() 1519 stairway *stway = stairway_find_from(&u.uz0, g.at_ladder); in goto_level() local 1520 if (stway) in goto_level() [all …]
|
H A D | dungeon.c | 1376 if (at_stairs && stway && stway->tolev.dnum != u.uz.dnum) { in prev_level() 1557 if (stway) in u_on_sstairs() 1558 u_on_newpos(stway->sx, stway->sy); in u_on_sstairs() 1569 if (stway) in u_on_upstairs() 1570 u_on_newpos(stway->sx, stway->sy); in u_on_upstairs() 1581 if (stway) in u_on_dnstairs() 1582 u_on_newpos(stway->sx, stway->sy); in u_on_dnstairs() 1598 return (boolean) (stway && stway->isladder); in On_ladder() 1606 return (boolean) (stway && stway->up); in On_stairs_up() 1614 return (boolean) (stway && !stway->up); in On_stairs_dn() [all …]
|
H A D | save.c | 659 stairway *stway = g.stairs; in save_stairs() local 660 int buflen = (int) sizeof *stway; in save_stairs() 662 while (stway) { in save_stairs() 664 if (stway->tolev.dnum == u.uz.dnum) { in save_stairs() 666 stway->tolev.dlevel -= u.uz.dlevel; in save_stairs() 670 bwrite(nhfp->fd, (genericptr_t) stway, sizeof *stway); in save_stairs() 672 if (stway->tolev.dnum == u.uz.dnum) { in save_stairs() 674 stway->tolev.dlevel += u.uz.dlevel; in save_stairs() 677 stway = stway->next; in save_stairs()
|
H A D | dokick.c | 1384 stairway *stway = stairway_at(x, y); in drop_to() local 1401 if (stway) { in drop_to() 1402 cc->x = stway->tolev.dnum; in drop_to() 1403 cc->y = stway->tolev.dlevel; in drop_to() 1674 stairway *stway; in obj_delivery() local 1708 nx = stway->sx; in obj_delivery() 1709 ny = stway->sy; in obj_delivery() 1864 stairway *stway = stairway_at(x, y); in down_gate() local 1871 if (stway && !stway->up && !stway->isladder) { in down_gate() 1873 return (stway->tolev.dnum == u.uz.dnum) ? MIGR_STAIRS_UP in down_gate() [all …]
|
H A D | mkroom.c | 967 stairway *stway = g.stairs; in has_stairs() local 969 while (stway) { in has_stairs() 970 if (up == stway->up && inside_room(sroom, stway->sx, stway->sy)) in has_stairs() 972 stway = stway->next; in has_stairs()
|
H A D | invent.c | 3342 stairway *stway = stairway_at(x,y); in dfeature_at() local 3387 } else if (stway && !stway->isladder && stway->up) in dfeature_at() 3389 else if (stway && !stway->isladder && !stway->up) in dfeature_at() 3391 else if (stway && stway->isladder && stway->up) in dfeature_at() 3393 else if (stway && stway->isladder && !stway->up) in dfeature_at()
|
H A D | mkmaze.c | 1276 stairway *stway; in makemaz() local 1309 } while (((stway = stairway_find_dir(TRUE)) != 0) in makemaz() 1310 && (x == stway->sx || y == stway->sy /*(direct line)*/ in makemaz() 1311 || abs(x - stway->sx) == abs(y - stway->sy) in makemaz() 1312 || distmin(x, y, stway->sx, stway->sy) <= INVPOS_DISTANCE in makemaz()
|
H A D | makemon.c | 1127 stairway *stway = g.stairs; in makemon_rnd_goodpos() local 1130 while (stway) { in makemon_rnd_goodpos() 1131 if (stway->tolev.dnum == u.uz.dnum && !rn2(2)) { in makemon_rnd_goodpos() 1132 nx = stway->sx; in makemon_rnd_goodpos() 1133 ny = stway->sy; in makemon_rnd_goodpos() 1136 stway = stway->next; in makemon_rnd_goodpos()
|
H A D | sp_lev.c | 490 stairway *stway; in flip_level() local 528 for (stway = g.stairs; stway; stway = stway->next) { in flip_level() 530 stway->sy = FlipY(stway->sy); in flip_level() 532 stway->sx = FlipX(stway->sx); in flip_level() 5370 stairway *stway = g.stairs; in ensure_way_out() local 5374 while (stway) { in ensure_way_out() 5375 if (stway->tolev.dnum == u.uz.dnum) in ensure_way_out() 5376 selection_floodfill(ov, stway->sx, stway->sy, TRUE); in ensure_way_out() 5377 stway = stway->next; in ensure_way_out()
|
H A D | zap.c | 2997 stairway *stway = g.stairs; in zap_updown() local 3020 while (stway) { in zap_updown() 3021 if (!stway->isladder && !stway->up && stway->tolev.dnum == u.uz.dnum) in zap_updown() 3023 stway = stway->next; in zap_updown() 3029 } else if (u.dz > 0 && stway && stway->sx == x && stway->sy == y in zap_updown()
|
H A D | shk.c | 340 stairway *stway = g.stairs; in call_kops() local 342 while (stway) { in call_kops() 343 if (!stway->isladder && !stway->up && stway->tolev.dnum == u.uz.dnum) in call_kops() 345 stway = stway->next; in call_kops() 360 mm.x = stway->sx; in call_kops() 361 mm.y = stway->sy; in call_kops()
|
H A D | dig.c | 193 stairway *stway = stairway_at(x, y); in dig_check() local 194 if (stway->isladder) { in dig_check() 1460 stairway *stway = stairway_at(u.ux, u.uy); in zap_dig() local 1462 stway->isladder ? "ladder" : "stairs", in zap_dig()
|
H A D | cmd.c | 4155 stairway *stway = stairway_at(u.ux, u.uy); in here_cmd_menu() local 4172 if (stway && stway->up) { in here_cmd_menu() 4174 stway->isladder ? "ladder" : "stairs"); in here_cmd_menu() 4177 if (stway && !stway->up) { in here_cmd_menu() 4179 stway->isladder ? "ladder" : "stairs"); in here_cmd_menu()
|
H A D | mon.c | 2696 stairway *stway = stairway_find_type_dir(FALSE, FALSE); in mondead() local 2701 if (stway) { in mondead() 2702 (void) makemon(mtmp->data, stway->sx, stway->sy, NO_MM_FLAGS); in mondead()
|
H A D | apply.c | 2857 stairway *stway = stairway_at(u.ux, u.uy); in use_trap() local 2858 what = stway->isladder ? "on the ladder" : "on the stairs"; in use_trap()
|
/dports/math/cmlib/cmlib-3.0_8/src/bvsup/ |
H A D | Makefile | 7 reort.o rkfab.o scoef.o stor1.o stway.o svecs.o
|
/dports/math/slatec/src/ |
H A D | Makefile | 171 strdi.f strmm.f strmv.f strsl.f strsm.f strsv.f stway.f suds.f svco.f \
|