Home
last modified time | relevance | path

Searched refs:allowflags (Results 1 – 25 of 28) sorted by relevance

12

/dports/games/vultures-eye/vulture-2.3.67/slashem/src/
H A Ddogmove.c590 allowflags ^= (flag); \
597 allow_set(allowflags) in allow_set() argument
598 long allowflags; in allow_set()
602 if (allowflags == 0)
619 if (allowflags) {
677 long info[9], allowflags; local
758 allowflags |= ALLOW_BARS;
761 allowflags |= ALLOW_U;
791 allowflags &= ~ALLOW_M;
799 allowflags |= OPENDOOR;
[all …]
H A Dpriest.c36 long allowflags; local
48 if (mtmp->isshk) allowflags = ALLOW_SSM;
49 else allowflags = ALLOW_SSM | ALLOW_SANCT;
50 if (passes_walls(mtmp->data)) allowflags |= (ALLOW_ROCK|ALLOW_WALL);
51 if (throws_rocks(mtmp->data)) allowflags |= ALLOW_ROCK;
52 if (tunnels(mtmp->data)) allowflags |= ALLOW_DIG;
54 allowflags |= OPENDOOR;
55 if (m_carrying(mtmp, SKELETON_KEY)) allowflags |= BUSTDOOR;
57 if (is_giant(mtmp->data)) allowflags |= BUSTDOOR;
58 cnt = mfndpos(mtmp, poss, info, allowflags);
/dports/games/nethack33/nethack-3.3.1/src/
H A Dpriest.c33 long allowflags; local
45 if (mtmp->isshk) allowflags = ALLOW_SSM;
46 else allowflags = ALLOW_SSM | ALLOW_SANCT;
47 if (passes_walls(mtmp->data)) allowflags |= (ALLOW_ROCK|ALLOW_WALL);
48 if (throws_rocks(mtmp->data)) allowflags |= ALLOW_ROCK;
52 allowflags |= ALLOW_DIG;
54 allowflags |= OPENDOOR;
55 if (m_carrying(mtmp, SKELETON_KEY)) allowflags |= BUSTDOOR;
57 if (is_giant(mtmp->data)) allowflags |= BUSTDOOR;
58 cnt = mfndpos(mtmp, poss, info, allowflags);
H A Ddogmove.c484 long info[9], allowflags; local
532 allowflags = ALLOW_M | ALLOW_TRAPS | ALLOW_SSM | ALLOW_SANCT;
533 if (passes_walls(mtmp->data)) allowflags |= (ALLOW_ROCK|ALLOW_WALL);
534 if (throws_rocks(mtmp->data)) allowflags |= ALLOW_ROCK;
536 allowflags |= ALLOW_U;
560 allowflags |= OPENDOOR;
561 if (m_carrying(mtmp, SKELETON_KEY)) allowflags |= BUSTDOOR;
563 if (is_giant(mtmp->data)) allowflags |= BUSTDOOR;
567 allowflags |= ALLOW_DIG;
568 cnt = mfndpos(mtmp, poss, info, allowflags);
/dports/games/nethack34/nethack-3.4.3/src/
H A Dpriest.c36 long allowflags; local
48 if (mtmp->isshk) allowflags = ALLOW_SSM;
49 else allowflags = ALLOW_SSM | ALLOW_SANCT;
50 if (passes_walls(mtmp->data)) allowflags |= (ALLOW_ROCK|ALLOW_WALL);
51 if (throws_rocks(mtmp->data)) allowflags |= ALLOW_ROCK;
52 if (tunnels(mtmp->data)) allowflags |= ALLOW_DIG;
54 allowflags |= OPENDOOR;
55 if (m_carrying(mtmp, SKELETON_KEY)) allowflags |= BUSTDOOR;
57 if (is_giant(mtmp->data)) allowflags |= BUSTDOOR;
58 cnt = mfndpos(mtmp, poss, info, allowflags);
H A Ddogmove.c495 long info[9], allowflags; local
543 allowflags = ALLOW_M | ALLOW_TRAPS | ALLOW_SSM | ALLOW_SANCT;
544 if (passes_walls(mtmp->data)) allowflags |= (ALLOW_ROCK | ALLOW_WALL);
545 if (passes_bars(mtmp->data)) allowflags |= ALLOW_BARS;
546 if (throws_rocks(mtmp->data)) allowflags |= ALLOW_ROCK;
548 allowflags |= ALLOW_U;
577 allowflags |= OPENDOOR;
578 if (m_carrying(mtmp, SKELETON_KEY)) allowflags |= BUSTDOOR;
580 if (is_giant(mtmp->data)) allowflags |= BUSTDOOR;
581 if (tunnels(mtmp->data)) allowflags |= ALLOW_DIG;
[all …]
/dports/games/nethack33-nox11/nethack-3.3.1/src/
H A Dpriest.c33 long allowflags; local
45 if (mtmp->isshk) allowflags = ALLOW_SSM;
46 else allowflags = ALLOW_SSM | ALLOW_SANCT;
47 if (passes_walls(mtmp->data)) allowflags |= (ALLOW_ROCK|ALLOW_WALL);
48 if (throws_rocks(mtmp->data)) allowflags |= ALLOW_ROCK;
52 allowflags |= ALLOW_DIG;
54 allowflags |= OPENDOOR;
55 if (m_carrying(mtmp, SKELETON_KEY)) allowflags |= BUSTDOOR;
57 if (is_giant(mtmp->data)) allowflags |= BUSTDOOR;
58 cnt = mfndpos(mtmp, poss, info, allowflags);
H A Ddogmove.c484 long info[9], allowflags; local
532 allowflags = ALLOW_M | ALLOW_TRAPS | ALLOW_SSM | ALLOW_SANCT;
533 if (passes_walls(mtmp->data)) allowflags |= (ALLOW_ROCK|ALLOW_WALL);
534 if (throws_rocks(mtmp->data)) allowflags |= ALLOW_ROCK;
536 allowflags |= ALLOW_U;
560 allowflags |= OPENDOOR;
561 if (m_carrying(mtmp, SKELETON_KEY)) allowflags |= BUSTDOOR;
563 if (is_giant(mtmp->data)) allowflags |= BUSTDOOR;
567 allowflags |= ALLOW_DIG;
568 cnt = mfndpos(mtmp, poss, info, allowflags);
/dports/games/nethack34-nox11/nethack-3.4.3/src/
H A Dpriest.c36 long allowflags; local
48 if (mtmp->isshk) allowflags = ALLOW_SSM;
49 else allowflags = ALLOW_SSM | ALLOW_SANCT;
50 if (passes_walls(mtmp->data)) allowflags |= (ALLOW_ROCK|ALLOW_WALL);
51 if (throws_rocks(mtmp->data)) allowflags |= ALLOW_ROCK;
52 if (tunnels(mtmp->data)) allowflags |= ALLOW_DIG;
54 allowflags |= OPENDOOR;
55 if (m_carrying(mtmp, SKELETON_KEY)) allowflags |= BUSTDOOR;
57 if (is_giant(mtmp->data)) allowflags |= BUSTDOOR;
58 cnt = mfndpos(mtmp, poss, info, allowflags);
H A Ddogmove.c495 long info[9], allowflags; local
543 allowflags = ALLOW_M | ALLOW_TRAPS | ALLOW_SSM | ALLOW_SANCT;
544 if (passes_walls(mtmp->data)) allowflags |= (ALLOW_ROCK | ALLOW_WALL);
545 if (passes_bars(mtmp->data)) allowflags |= ALLOW_BARS;
546 if (throws_rocks(mtmp->data)) allowflags |= ALLOW_ROCK;
548 allowflags |= ALLOW_U;
577 allowflags |= OPENDOOR;
578 if (m_carrying(mtmp, SKELETON_KEY)) allowflags |= BUSTDOOR;
580 if (is_giant(mtmp->data)) allowflags |= BUSTDOOR;
581 if (tunnels(mtmp->data)) allowflags |= ALLOW_DIG;
[all …]
/dports/games/vultures-eye/vulture-2.3.67/nethack/src/
H A Dpriest.c36 long allowflags; local
48 if (mtmp->isshk) allowflags = ALLOW_SSM;
49 else allowflags = ALLOW_SSM | ALLOW_SANCT;
50 if (passes_walls(mtmp->data)) allowflags |= (ALLOW_ROCK|ALLOW_WALL);
51 if (throws_rocks(mtmp->data)) allowflags |= ALLOW_ROCK;
52 if (tunnels(mtmp->data)) allowflags |= ALLOW_DIG;
54 allowflags |= OPENDOOR;
55 if (m_carrying(mtmp, SKELETON_KEY)) allowflags |= BUSTDOOR;
57 if (is_giant(mtmp->data)) allowflags |= BUSTDOOR;
58 cnt = mfndpos(mtmp, poss, info, allowflags);
H A Ddogmove.c495 long info[9], allowflags; local
543 allowflags = ALLOW_M | ALLOW_TRAPS | ALLOW_SSM | ALLOW_SANCT;
544 if (passes_walls(mtmp->data)) allowflags |= (ALLOW_ROCK | ALLOW_WALL);
545 if (passes_bars(mtmp->data)) allowflags |= ALLOW_BARS;
546 if (throws_rocks(mtmp->data)) allowflags |= ALLOW_ROCK;
548 allowflags |= ALLOW_U;
577 allowflags |= OPENDOOR;
578 if (m_carrying(mtmp, SKELETON_KEY)) allowflags |= BUSTDOOR;
580 if (is_giant(mtmp->data)) allowflags |= BUSTDOOR;
581 if (tunnels(mtmp->data)) allowflags |= ALLOW_DIG;
[all …]
/dports/games/falconseye/falconseye-1.9.3_11/src/
H A Dpriest.c33 long allowflags; local
45 if (mtmp->isshk) allowflags = ALLOW_SSM;
46 else allowflags = ALLOW_SSM | ALLOW_SANCT;
47 if (passes_walls(mtmp->data)) allowflags |= (ALLOW_ROCK|ALLOW_WALL);
48 if (throws_rocks(mtmp->data)) allowflags |= ALLOW_ROCK;
52 allowflags |= ALLOW_DIG;
54 allowflags |= OPENDOOR;
55 if (m_carrying(mtmp, SKELETON_KEY)) allowflags |= BUSTDOOR;
57 if (is_giant(mtmp->data)) allowflags |= BUSTDOOR;
58 cnt = mfndpos(mtmp, poss, info, allowflags);
H A Ddogmove.c484 long info[9], allowflags; local
532 allowflags = ALLOW_M | ALLOW_TRAPS | ALLOW_SSM | ALLOW_SANCT;
533 if (passes_walls(mtmp->data)) allowflags |= (ALLOW_ROCK|ALLOW_WALL);
534 if (throws_rocks(mtmp->data)) allowflags |= ALLOW_ROCK;
536 allowflags |= ALLOW_U;
560 allowflags |= OPENDOOR;
561 if (m_carrying(mtmp, SKELETON_KEY)) allowflags |= BUSTDOOR;
563 if (is_giant(mtmp->data)) allowflags |= BUSTDOOR;
567 allowflags |= ALLOW_DIG;
568 cnt = mfndpos(mtmp, poss, info, allowflags);
/dports/games/unnethack/unnethack-5.1.0-20131208/src/
H A Dpriest.c34 long allowflags; local
46 if (mtmp->isshk) allowflags = ALLOW_SSM;
47 else allowflags = ALLOW_SSM | ALLOW_SANCT;
48 if (passes_walls(mtmp->data)) allowflags |= (ALLOW_ROCK|ALLOW_WALL);
49 if (throws_rocks(mtmp->data) || is_rockbreaker(mtmp->data)) allowflags |= ALLOW_ROCK;
50 if (tunnels(mtmp->data)) allowflags |= ALLOW_DIG;
52 allowflags |= OPENDOOR;
53 if (m_carrying(mtmp, SKELETON_KEY)) allowflags |= BUSTDOOR;
55 if (is_giant(mtmp->data)) allowflags |= BUSTDOOR;
56 cnt = mfndpos(mtmp, poss, info, allowflags);
H A Ddogmove.c519 long info[9], allowflags; local
567 allowflags = ALLOW_M | ALLOW_TRAPS | ALLOW_SSM | ALLOW_SANCT;
568 if (passes_walls(mtmp->data)) allowflags |= (ALLOW_ROCK | ALLOW_WALL);
570 allowflags |= ALLOW_BARS;
571 if (throws_rocks(mtmp->data)) allowflags |= ALLOW_ROCK;
573 allowflags |= ALLOW_U;
602 allowflags |= OPENDOOR;
603 if (m_carrying(mtmp, SKELETON_KEY)) allowflags |= BUSTDOOR;
605 if (is_giant(mtmp->data)) allowflags |= BUSTDOOR;
606 if (tunnels(mtmp->data)) allowflags |= ALLOW_DIG;
[all …]
/dports/games/vultures-eye/vulture-2.3.67/unnethack/src/
H A Dpriest.c36 long allowflags; local
48 if (mtmp->isshk) allowflags = ALLOW_SSM;
49 else allowflags = ALLOW_SSM | ALLOW_SANCT;
50 if (passes_walls(mtmp->data)) allowflags |= (ALLOW_ROCK|ALLOW_WALL);
51 if (throws_rocks(mtmp->data)) allowflags |= ALLOW_ROCK;
52 if (tunnels(mtmp->data)) allowflags |= ALLOW_DIG;
54 allowflags |= OPENDOOR;
55 if (m_carrying(mtmp, SKELETON_KEY)) allowflags |= BUSTDOOR;
57 if (is_giant(mtmp->data)) allowflags |= BUSTDOOR;
58 cnt = mfndpos(mtmp, poss, info, allowflags);
H A Ddogmove.c527 long info[9], allowflags; local
575 allowflags = ALLOW_M | ALLOW_TRAPS | ALLOW_SSM | ALLOW_SANCT;
576 if (passes_walls(mtmp->data)) allowflags |= (ALLOW_ROCK | ALLOW_WALL);
577 if (passes_bars(mtmp->data)) allowflags |= ALLOW_BARS;
578 if (throws_rocks(mtmp->data)) allowflags |= ALLOW_ROCK;
580 allowflags |= ALLOW_U;
609 allowflags |= OPENDOOR;
610 if (m_carrying(mtmp, SKELETON_KEY)) allowflags |= BUSTDOOR;
612 if (is_giant(mtmp->data)) allowflags |= BUSTDOOR;
613 if (tunnels(mtmp->data)) allowflags |= ALLOW_DIG;
[all …]
/dports/games/nethack36-nox11/NetHack-NetHack-3.6.6_Released/src/
H A Dpriest.c55 long allowflags; local
70 allowflags = ALLOW_SSM;
72 allowflags = ALLOW_SSM | ALLOW_SANCT;
74 allowflags |= (ALLOW_ROCK | ALLOW_WALL);
76 allowflags |= ALLOW_ROCK;
78 allowflags |= ALLOW_DIG;
80 allowflags |= OPENDOOR;
82 allowflags |= UNLOCKDOOR;
85 allowflags |= BUSTDOOR;
86 cnt = mfndpos(mtmp, poss, info, allowflags);
H A Ddogmove.c879 long info[9], allowflags; local
931 allowflags |= (ALLOW_ROCK | ALLOW_WALL);
933 allowflags |= ALLOW_BARS;
935 allowflags |= ALLOW_ROCK;
937 allowflags |= ALLOW_MDISP;
939 allowflags |= ALLOW_U;
956 allowflags |= OPENDOOR;
958 allowflags |= UNLOCKDOOR;
963 allowflags |= BUSTDOOR;
966 allowflags |= ALLOW_DIG;
[all …]
/dports/games/nethack36/NetHack-NetHack-3.6.6_Released/src/
H A Dpriest.c55 long allowflags; local
70 allowflags = ALLOW_SSM;
72 allowflags = ALLOW_SSM | ALLOW_SANCT;
74 allowflags |= (ALLOW_ROCK | ALLOW_WALL);
76 allowflags |= ALLOW_ROCK;
78 allowflags |= ALLOW_DIG;
80 allowflags |= OPENDOOR;
82 allowflags |= UNLOCKDOOR;
85 allowflags |= BUSTDOOR;
86 cnt = mfndpos(mtmp, poss, info, allowflags);
H A Ddogmove.c879 long info[9], allowflags; local
931 allowflags |= (ALLOW_ROCK | ALLOW_WALL);
933 allowflags |= ALLOW_BARS;
935 allowflags |= ALLOW_ROCK;
937 allowflags |= ALLOW_MDISP;
939 allowflags |= ALLOW_U;
956 allowflags |= OPENDOOR;
958 allowflags |= UNLOCKDOOR;
963 allowflags |= BUSTDOOR;
966 allowflags |= ALLOW_DIG;
[all …]
/dports/games/xnethack/xNetHack-xnh6.1/src/
H A Dmon.c1708 long allowflags = 0L; in mon_allowflags() local
1724 allowflags |= ALLOW_U; in mon_allowflags()
1726 allowflags |= ALLOW_U; in mon_allowflags()
1728 allowflags |= ALLOW_SSM; in mon_allowflags()
1736 allowflags |= ALLOW_DIG; in mon_allowflags()
1738 allowflags |= BUSTDOOR; in mon_allowflags()
1740 allowflags |= OPENDOOR; in mon_allowflags()
1753 allowflags |= NOTONL; in mon_allowflags()
1755 allowflags |= ALLOW_SSM; in mon_allowflags()
1758 allowflags |= NOGARLIC; in mon_allowflags()
[all …]
H A Dpriest.c51 long allowflags; in move_special() local
65 allowflags = mon_allowflags(mtmp); in move_special()
66 cnt = mfndpos(mtmp, poss, info, allowflags); in move_special()
H A Ddogmove.c944 long info[9], allowflags; in dog_move() local
1010 allowflags = mon_allowflags(mtmp); in dog_move()
1011 cnt = mfndpos(mtmp, poss, info, allowflags); in dog_move()

12