Home
last modified time | relevance | path

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

/dports/games/nethack36/NetHack-NetHack-3.6.6_Released/src/
H A Drumors.c49 static long true_rumor_size = 0L, false_rumor_size; variable
73 && true_rumor_size > 0L
80 true_rumor_size = -1L; /* init failed */
101 if (true_rumor_size < 0L) /* we couldn't open RUMORFILE */
114 if (true_rumor_size < 0L) { /* init failed */
128 tidbit = rn2(true_rumor_size);
160 true_rumor_size = -1; /* don't try to open it again */
191 if (true_rumor_size < 0L) { /* we couldn't open RUMORFILE */ in rumor_check()
205 if (true_rumor_size < 0L) { in rumor_check()
219 true_rumor_size, (unsigned long) true_rumor_size); in rumor_check()
[all …]
/dports/games/nethack36-nox11/NetHack-NetHack-3.6.6_Released/src/
H A Drumors.c49 static long true_rumor_size = 0L, false_rumor_size; variable
73 && true_rumor_size > 0L
80 true_rumor_size = -1L; /* init failed */
101 if (true_rumor_size < 0L) /* we couldn't open RUMORFILE */
114 if (true_rumor_size < 0L) { /* init failed */
128 tidbit = rn2(true_rumor_size);
160 true_rumor_size = -1; /* don't try to open it again */
191 if (true_rumor_size < 0L) { /* we couldn't open RUMORFILE */ in rumor_check()
205 if (true_rumor_size < 0L) { in rumor_check()
219 true_rumor_size, (unsigned long) true_rumor_size); in rumor_check()
[all …]
/dports/games/nethack33/nethack-3.3.1/src/
H A Drumors.c34 static long true_rumor_start, true_rumor_size, true_rumor_end, variable
48 if (sscanf(line, "%6lx\n", &true_rumor_size) == 1 &&
49 true_rumor_size > 0L) {
52 true_rumor_end = true_rumor_start + true_rumor_size;
58 true_rumor_size = -1L; /* init failed */
77 if (true_rumor_size < 0L) /* we couldn't open RUMORFILE */
88 if (true_rumor_size == 0L) { /* if this is 1st outrumor() */
90 if (true_rumor_size < 0L) { /* init failed */
104 tidbit = Rand() % true_rumor_size;
132 true_rumor_size = -1; /* don't try to open it again */
/dports/games/nethack33-nox11/nethack-3.3.1/src/
H A Drumors.c34 static long true_rumor_start, true_rumor_size, true_rumor_end, variable
48 if (sscanf(line, "%6lx\n", &true_rumor_size) == 1 &&
49 true_rumor_size > 0L) {
52 true_rumor_end = true_rumor_start + true_rumor_size;
58 true_rumor_size = -1L; /* init failed */
77 if (true_rumor_size < 0L) /* we couldn't open RUMORFILE */
88 if (true_rumor_size == 0L) { /* if this is 1st outrumor() */
90 if (true_rumor_size < 0L) { /* init failed */
104 tidbit = Rand() % true_rumor_size;
132 true_rumor_size = -1; /* don't try to open it again */
/dports/games/falconseye/falconseye-1.9.3_11/src/
H A Drumors.c34 static long true_rumor_start, true_rumor_size, true_rumor_end, variable
48 if (sscanf(line, "%6lx\n", &true_rumor_size) == 1 &&
49 true_rumor_size > 0L) {
52 true_rumor_end = true_rumor_start + true_rumor_size;
58 true_rumor_size = -1L; /* init failed */
77 if (true_rumor_size < 0L) /* we couldn't open RUMORFILE */
88 if (true_rumor_size == 0L) { /* if this is 1st outrumor() */
90 if (true_rumor_size < 0L) { /* init failed */
104 tidbit = Rand() % true_rumor_size;
132 true_rumor_size = -1; /* don't try to open it again */
/dports/games/nethack34/nethack-3.4.3/src/
H A Drumors.c34 static long true_rumor_start, true_rumor_size, true_rumor_end, variable
48 if (sscanf(line, "%6lx\n", &true_rumor_size) == 1 &&
49 true_rumor_size > 0L) {
52 true_rumor_end = true_rumor_start + true_rumor_size;
58 true_rumor_size = -1L; /* init failed */
77 if (true_rumor_size < 0L) /* we couldn't open RUMORFILE */
88 if (true_rumor_size == 0L) { /* if this is 1st outrumor() */
90 if (true_rumor_size < 0L) { /* init failed */
104 tidbit = Rand() % true_rumor_size;
132 true_rumor_size = -1; /* don't try to open it again */
/dports/games/nethack34-nox11/nethack-3.4.3/src/
H A Drumors.c34 static long true_rumor_start, true_rumor_size, true_rumor_end, variable
48 if (sscanf(line, "%6lx\n", &true_rumor_size) == 1 &&
49 true_rumor_size > 0L) {
52 true_rumor_end = true_rumor_start + true_rumor_size;
58 true_rumor_size = -1L; /* init failed */
77 if (true_rumor_size < 0L) /* we couldn't open RUMORFILE */
88 if (true_rumor_size == 0L) { /* if this is 1st outrumor() */
90 if (true_rumor_size < 0L) { /* init failed */
104 tidbit = Rand() % true_rumor_size;
132 true_rumor_size = -1; /* don't try to open it again */
/dports/games/vultures-eye/vulture-2.3.67/nethack/src/
H A Drumors.c34 static long true_rumor_start, true_rumor_size, true_rumor_end, variable
48 if (sscanf(line, "%6lx\n", &true_rumor_size) == 1 &&
49 true_rumor_size > 0L) {
52 true_rumor_end = true_rumor_start + true_rumor_size;
58 true_rumor_size = -1L; /* init failed */
77 if (true_rumor_size < 0L) /* we couldn't open RUMORFILE */
88 if (true_rumor_size == 0L) { /* if this is 1st outrumor() */
90 if (true_rumor_size < 0L) { /* init failed */
104 tidbit = Rand() % true_rumor_size;
132 true_rumor_size = -1; /* don't try to open it again */
/dports/games/vultures-eye/vulture-2.3.67/slashem/src/
H A Drumors.c34 static long true_rumor_start, true_rumor_size, true_rumor_end, variable
48 if (sscanf(line, "%6lx\n", &true_rumor_size) == 1 &&
49 true_rumor_size > 0L) {
52 true_rumor_end = true_rumor_start + true_rumor_size;
58 true_rumor_size = -1L; /* init failed */
77 if (true_rumor_size < 0L) /* we couldn't open NH_RUMORFILE */
88 if (true_rumor_size == 0L) { /* if this is 1st outrumor() */
90 if (true_rumor_size < 0L) { /* init failed */
104 tidbit = Rand() % true_rumor_size;
132 true_rumor_size = -1; /* don't try to open it again */
/dports/games/vultures-eye/vulture-2.3.67/unnethack/src/
H A Drumors.c34 static long true_rumor_start, true_rumor_size, true_rumor_end, variable
48 if (sscanf(line, "%6lx\n", &true_rumor_size) == 1 &&
49 true_rumor_size > 0L) {
52 true_rumor_end = true_rumor_start + true_rumor_size;
58 true_rumor_size = -1L; /* init failed */
77 if (true_rumor_size < 0L) /* we couldn't open RUMORFILE */
88 if (true_rumor_size == 0L) { /* if this is 1st outrumor() */
90 if (true_rumor_size < 0L) { /* init failed */
104 tidbit = Rand() % true_rumor_size;
132 true_rumor_size = -1; /* don't try to open it again */
/dports/games/unnethack/unnethack-5.1.0-20131208/src/
H A Drumors.c34 static long true_rumor_start, true_rumor_size, true_rumor_end, variable
48 if (sscanf(line, "%6lx\n", &true_rumor_size) == 1 &&
49 true_rumor_size > 0L) {
52 true_rumor_end = true_rumor_start + true_rumor_size;
58 true_rumor_size = -1L; /* init failed */
77 if (true_rumor_size < 0L) /* we couldn't open RUMORFILE */
88 if (true_rumor_size == 0L) { /* if this is 1st outrumor() */
90 if (true_rumor_size < 0L) { /* init failed */
104 tidbit = Rand() % true_rumor_size;
132 true_rumor_size = -1; /* don't try to open it again */
/dports/games/xnethack/xNetHack-xnh6.1/src/
H A Drumors.c60 if (sscanf(line, rumors_header, &true_count, &g.true_rumor_size, in init_rumors()
63 && g.true_rumor_size > 0L in init_rumors()
70 g.true_rumor_size = -1L; /* init failed */ in init_rumors()
93 if (g.true_rumor_size < 0L) /* we couldn't open RUMORFILE */ in getrumor()
106 if (g.true_rumor_size < 0L) { /* init failed */ in getrumor()
120 tidbit = rn2(g.true_rumor_size); in getrumor()
151 g.true_rumor_size = -1; /* don't try to open it again */ in getrumor()
185 if (g.true_rumor_size < 0L) { /* we couldn't open RUMORFILE */ in rumor_check()
198 if (g.true_rumor_size < 0L) { in rumor_check()
212 g.true_rumor_size,(unsigned long) g.true_rumor_size); in rumor_check()
[all …]
/dports/games/xnethack/xNetHack-xnh6.1/util/
H A Dmakedefs.c1005 long true_rumor_size, false_rumor_size; in do_rumors() local
1025 true_rumor_size = false_rumor_size = 0L; in do_rumors()
1030 true_rumor_size, true_rumor_offset, false_rumor_count, in do_rumors()
1036 ".tru", &true_rumor_count, &true_rumor_size, true_rumor_offset); in do_rumors()
1057 true_rumor_size, true_rumor_offset, false_rumor_count, in do_rumors()
/dports/games/nethack33/nethack-3.3.1/util/
H A Dmakedefs.c342 long true_rumor_size; in do_rumors() local
367 true_rumor_size = ftell(ifp); in do_rumors()
372 true_rumor_size = 0; in do_rumors()
374 true_rumor_size += strlen(in_line); /* includes newline */ in do_rumors()
376 Fprintf(ofp,"%06lx\n", true_rumor_size); in do_rumors()
/dports/games/nethack33-nox11/nethack-3.3.1/util/
H A Dmakedefs.c342 long true_rumor_size; in do_rumors() local
367 true_rumor_size = ftell(ifp); in do_rumors()
372 true_rumor_size = 0; in do_rumors()
374 true_rumor_size += strlen(in_line); /* includes newline */ in do_rumors()
376 Fprintf(ofp,"%06lx\n", true_rumor_size); in do_rumors()
/dports/games/nethack34/nethack-3.4.3/util/
H A Dmakedefs.c350 long true_rumor_size; in do_rumors() local
375 true_rumor_size = ftell(ifp); in do_rumors()
380 true_rumor_size = 0; in do_rumors()
382 true_rumor_size += strlen(in_line); /* includes newline */ in do_rumors()
384 Fprintf(ofp,"%06lx\n", true_rumor_size); in do_rumors()
/dports/games/nethack34-nox11/nethack-3.4.3/util/
H A Dmakedefs.c350 long true_rumor_size; in do_rumors() local
375 true_rumor_size = ftell(ifp); in do_rumors()
380 true_rumor_size = 0; in do_rumors()
382 true_rumor_size += strlen(in_line); /* includes newline */ in do_rumors()
384 Fprintf(ofp,"%06lx\n", true_rumor_size); in do_rumors()
/dports/games/unnethack/unnethack-5.1.0-20131208/util/
H A Dmakedefs.c350 long true_rumor_size; in do_rumors() local
375 true_rumor_size = ftell(ifp); in do_rumors()
380 true_rumor_size = 0; in do_rumors()
382 true_rumor_size += strlen(in_line); /* includes newline */ in do_rumors()
384 Fprintf(ofp,"%06lx\n", true_rumor_size); in do_rumors()
/dports/games/vultures-eye/vulture-2.3.67/nethack/util/
H A Dmakedefs.c350 long true_rumor_size; in do_rumors() local
375 true_rumor_size = ftell(ifp); in do_rumors()
380 true_rumor_size = 0; in do_rumors()
382 true_rumor_size += strlen(in_line); /* includes newline */ in do_rumors()
384 Fprintf(ofp,"%06lx\n", true_rumor_size); in do_rumors()
/dports/games/falconseye/falconseye-1.9.3_11/util/
H A Dmakedefs.c342 long true_rumor_size; in do_rumors() local
367 true_rumor_size = ftell(ifp); in do_rumors()
372 true_rumor_size = 0; in do_rumors()
374 true_rumor_size += strlen(in_line); /* includes newline */ in do_rumors()
376 Fprintf(ofp,"%06lx\n", true_rumor_size); in do_rumors()
/dports/games/vultures-eye/vulture-2.3.67/unnethack/util/
H A Dmakedefs.c350 long true_rumor_size; in do_rumors() local
375 true_rumor_size = ftell(ifp); in do_rumors()
380 true_rumor_size = 0; in do_rumors()
382 true_rumor_size += strlen(in_line); /* includes newline */ in do_rumors()
384 Fprintf(ofp,"%06lx\n", true_rumor_size); in do_rumors()
/dports/games/vultures-eye/vulture-2.3.67/slashem/util/
H A Dmakedefs.c375 long true_rumor_size; in do_rumors() local
401 true_rumor_size = ftell(ifp); in do_rumors()
406 true_rumor_size = 0; in do_rumors()
408 true_rumor_size += strlen(in_line); /* includes newline */ in do_rumors()
410 Fprintf(ofp,"%06lx\n", true_rumor_size); in do_rumors()
/dports/games/nethack36/NetHack-NetHack-3.6.6_Released/util/
H A Dmakedefs.c1027 long true_rumor_size, false_rumor_size; in do_rumors() local
1047 true_rumor_size = false_rumor_size = 0L; in do_rumors()
1052 true_rumor_size, true_rumor_offset, false_rumor_count, in do_rumors()
1058 ".tru", &true_rumor_count, &true_rumor_size, true_rumor_offset); in do_rumors()
1079 true_rumor_size, true_rumor_offset, false_rumor_count, in do_rumors()
/dports/games/nethack36-nox11/NetHack-NetHack-3.6.6_Released/util/
H A Dmakedefs.c1027 long true_rumor_size, false_rumor_size; in do_rumors() local
1047 true_rumor_size = false_rumor_size = 0L; in do_rumors()
1052 true_rumor_size, true_rumor_offset, false_rumor_count, in do_rumors()
1058 ".tru", &true_rumor_count, &true_rumor_size, true_rumor_offset); in do_rumors()
1079 true_rumor_size, true_rumor_offset, false_rumor_count, in do_rumors()
/dports/games/xnethack/xNetHack-xnh6.1/include/
H A Ddecl.h1110 long true_rumor_size; /* rumor size variables are signed so that value -1 member