Source:NetHack 3.6.0/src/rumors.c

From NetHackWiki
Jump to: navigation, search

Below is the full text to rumors.c from the source code of NetHack 3.6.0. To link to a particular line, write [[Source:NetHack 3.6.0/src/rumors.c#line123]], for example.

The NetHack General Public License applies to screenshots, source code and other content from NetHack.

This content was modified from the original NetHack source code distribution (by splitting up NetHack content between wiki pages, and possibly further editing). See the page history for a list of who changed it, and on what dates.

Top of file

  1.  /* NetHack 3.6	rumors.c	$NHDT-Date: 1446713640 2015/11/05 08:54:00 $  $NHDT-Branch: master $:$NHDT-Revision: 1.27 $ */
  2.  /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
  3.  /* NetHack may be freely redistributed.  See license for details. */
  4.  
  5.  #include "hack.h"
  6.  #include "lev.h"
  7.  #include "dlb.h"
  8.  
  9.  /*      [note: this comment is fairly old, but still accurate for 3.1]
  10.   * Rumors have been entirely rewritten to speed up the access.  This is
  11.   * essential when working from floppies.  Using fseek() the way that's done
  12.   * here means rumors following longer rumors are output more often than those
  13.   * following shorter rumors.  Also, you may see the same rumor more than once
  14.   * in a particular game (although the odds are highly against it), but
  15.   * this also happens with real fortune cookies.  -dgk
  16.   */
  17.  
  18.  /*      3.6
  19.   * The rumors file consists of a "do not edit" line, then a line containing
  20.   * three sets of three counts (first two in decimal, third in hexadecimal).
  21.   * The first set has the number of true rumors, the count in bytes for all
  22.   * true rumors, and the file offset to the first one.  The second set has
  23.   * the same group of numbers for the false rumors.  The third set has 0 for
  24.   * count, 0 for size, and the file offset for end-of-file.  The offset of
  25.   * the first true rumor plus the size of the true rumors matches the offset
  26.   * of the first false rumor.  Likewise, the offset of the first false rumor
  27.   * plus the size of the false rumors matches the offset for end-of-file.
  28.   */
  29.  
  30.  /*      3.1     [now obsolete for rumors but still accurate for oracles]
  31.   * The rumors file consists of a "do not edit" line, a hexadecimal number
  32.   * giving the number of bytes of useful/true rumors, followed by those
  33.   * true rumors (one per line), followed by the useless/false/misleading/cute
  34.   * rumors (also one per line).  Number of bytes of untrue rumors is derived
  35.   * via fseek(EOF)+ftell().
  36.   *
  37.   * The oracles file consists of a "do not edit" comment, a decimal count N
  38.   * and set of N+1 hexadecimal fseek offsets, followed by N multiple-line
  39.   * records, separated by "---" lines.  The first oracle is a special case,
  40.   * and placed there by 'makedefs'.
  41.   */
  42.  
  43.  STATIC_DCL void FDECL(init_rumors, (dlb *));
  44.  STATIC_DCL void FDECL(init_oracles, (dlb *));
  45.  
  46.  /* rumor size variables are signed so that value -1 can be used as a flag */
  47.  static long true_rumor_size = 0L, false_rumor_size;
  48.  /* rumor start offsets are unsigned because they're handled via %lx format */
  49.  static unsigned long true_rumor_start, false_rumor_start;
  50.  /* rumor end offsets are signed because they're compared with [dlb_]ftell() */
  51.  static long true_rumor_end, false_rumor_end;
  52.  /* oracles are handled differently from rumors... */
  53.  static int oracle_flg = 0; /* -1=>don't use, 0=>need init, 1=>init done */
  54.  static unsigned oracle_cnt = 0;
  55.  static unsigned long *oracle_loc = 0;
  56.  

init_rumors

  1.  STATIC_OVL void
  2.  init_rumors(fp)
  3.  dlb *fp;
  4.  {
  5.      static const char rumors_header[] = "%d,%ld,%lx;%d,%ld,%lx;0,0,%lx\n";
  6.      int true_count, false_count; /* in file but not used here */
  7.      unsigned long eof_offset;
  8.      char line[BUFSZ];
  9.  
  10.      (void) dlb_fgets(line, sizeof line, fp); /* skip "don't edit" comment */
  11.      (void) dlb_fgets(line, sizeof line, fp);
  12.      if (sscanf(line, rumors_header, &true_count, &true_rumor_size,
  13.                 &true_rumor_start, &false_count, &false_rumor_size,
  14.                 &false_rumor_start, &eof_offset) == 7
  15.          && true_rumor_size > 0L
  16.          && false_rumor_size > 0L) {
  17.          true_rumor_end = (long) true_rumor_start + true_rumor_size;
  18.          /* assert( true_rumor_end == false_rumor_start ); */
  19.          false_rumor_end = (long) false_rumor_start + false_rumor_size;
  20.          /* assert( false_rumor_end == eof_offset ); */
  21.      } else {
  22.          true_rumor_size = -1L; /* init failed */
  23.          (void) dlb_fclose(fp);
  24.      }
  25.  }
  26.  

getrumor

  1.  /* exclude_cookie is a hack used because we sometimes want to get rumors in a
  2.   * context where messages such as "You swallowed the fortune!" that refer to
  3.   * cookies should not appear.  This has no effect for true rumors since none
  4.   * of them contain such references anyway.
  5.   */
  6.  char *
  7.  getrumor(truth, rumor_buf, exclude_cookie)
  8.  int truth; /* 1=true, -1=false, 0=either */
  9.  char *rumor_buf;
  10.  boolean exclude_cookie;
  11.  {
  12.      dlb *rumors;
  13.      long tidbit, beginning;
  14.      char *endp, line[BUFSZ], xbuf[BUFSZ];
  15.  
  16.      rumor_buf[0] = '\0';
  17.      if (true_rumor_size < 0L) /* we couldn't open RUMORFILE */
  18.          return rumor_buf;
  19.  
  20.      rumors = dlb_fopen(RUMORFILE, "r");
  21.  
  22.      if (rumors) {
  23.          int count = 0;
  24.          int adjtruth;
  25.  
  26.          do {
  27.              rumor_buf[0] = '\0';
  28.              if (true_rumor_size == 0L) { /* if this is 1st outrumor() */
  29.                  init_rumors(rumors);
  30.                  if (true_rumor_size < 0L) { /* init failed */
  31.                      Sprintf(rumor_buf, "Error reading \"%.80s\".", RUMORFILE);
  32.                      return rumor_buf;
  33.                  }
  34.              }
  35.              /*
  36.               *  input:      1    0   -1
  37.               *   rn2 \ +1  2=T  1=T  0=F
  38.               *   adj./ +0  1=T  0=F -1=F
  39.               */
  40.              switch (adjtruth = truth + rn2(2)) {
  41.              case 2: /*(might let a bogus input arg sneak thru)*/
  42.              case 1:
  43.                  beginning = (long) true_rumor_start;
  44.                  tidbit = Rand() % true_rumor_size;
  45.                  break;
  46.              case 0: /* once here, 0 => false rather than "either"*/
  47.              case -1:
  48.                  beginning = (long) false_rumor_start;
  49.                  tidbit = Rand() % false_rumor_size;
  50.                  break;
  51.              default:
  52.                  impossible("strange truth value for rumor");
  53.                  return strcpy(rumor_buf, "Oops...");
  54.              }
  55.              (void) dlb_fseek(rumors, beginning + tidbit, SEEK_SET);
  56.              (void) dlb_fgets(line, sizeof line, rumors);
  57.              if (!dlb_fgets(line, sizeof line, rumors)
  58.                  || (adjtruth > 0 && dlb_ftell(rumors) > true_rumor_end)) {
  59.                  /* reached end of rumors -- go back to beginning */
  60.                  (void) dlb_fseek(rumors, beginning, SEEK_SET);
  61.                  (void) dlb_fgets(line, sizeof line, rumors);
  62.              }
  63.              if ((endp = index(line, '\n')) != 0)
  64.                  *endp = 0;
  65.              Strcat(rumor_buf, xcrypt(line, xbuf));
  66.          } while (
  67.              count++ < 50 && exclude_cookie
  68.              && (strstri(rumor_buf, "fortune") || strstri(rumor_buf, "pity")));
  69.          (void) dlb_fclose(rumors);
  70.          if (count >= 50)
  71.              impossible("Can't find non-cookie rumor?");
  72.          else if (!in_mklev) /* avoid exercizing wisdom for graffiti */
  73.              exercise(A_WIS, (adjtruth > 0));
  74.      } else {
  75.          pline("Can't open rumors file!");
  76.          true_rumor_size = -1; /* don't try to open it again */
  77.      }
  78.  /* this is safe either way, so do it always since we can't get the definition
  79.   * out of makedefs.c
  80.   */
  81.  #define PAD_RUMORS_TO
  82.  #ifdef PAD_RUMORS_TO
  83.      /* remove padding */
  84.      {
  85.          char *x = eos(rumor_buf) - 1;
  86.  
  87.          while (x > rumor_buf && *x == '_')
  88.              x--;
  89.          *++x = '\n';
  90.          *x = '\0';
  91.      }
  92.  #endif
  93.      return rumor_buf;
  94.  }
  95.  

rumor_check

  1.  /*
  2.   * test that the true/false rumor boundaries are valid.
  3.   */
  4.  void
  5.  rumor_check()
  6.  {
  7.      dlb *rumors;
  8.      winid tmpwin;
  9.      char *endp, line[BUFSZ], xbuf[BUFSZ], rumor_buf[BUFSZ];
  10.  
  11.      if (true_rumor_size < 0L) { /* we couldn't open RUMORFILE */
  12.      no_rumors:
  13.          pline("rumors not accessible.");
  14.          return;
  15.      }
  16.  
  17.      rumors = dlb_fopen(RUMORFILE, "r");
  18.  
  19.      if (rumors) {
  20.          long ftell_rumor_start = 0L;
  21.  
  22.          rumor_buf[0] = '\0';
  23.          if (true_rumor_size == 0L) { /* if this is 1st outrumor() */
  24.              init_rumors(rumors);
  25.              if (true_rumor_size < 0L)
  26.                  goto no_rumors; /* init failed */
  27.          }
  28.          tmpwin = create_nhwindow(NHW_TEXT);
  29.  
  30.          /*
  31.           * reveal the values.
  32.           */
  33.  
  34.          Sprintf(
  35.              rumor_buf,
  36.              "T start=%06ld (%06lx), end=%06ld (%06lx), size=%06ld (%06lx)",
  37.              (long) true_rumor_start, true_rumor_start, true_rumor_end,
  38.              (unsigned long) true_rumor_end, true_rumor_size,
  39.              (unsigned long) true_rumor_size);
  40.          putstr(tmpwin, 0, rumor_buf);
  41.  
  42.          Sprintf(
  43.              rumor_buf,
  44.              "F start=%06ld (%06lx), end=%06ld (%06lx), size=%06ld (%06lx)",
  45.              (long) false_rumor_start, false_rumor_start, false_rumor_end,
  46.              (unsigned long) false_rumor_end, false_rumor_size,
  47.              (unsigned long) false_rumor_size);
  48.          putstr(tmpwin, 0, rumor_buf);
  49.  
  50.          /*
  51.           * check the first rumor (start of true rumors) by
  52.           * skipping the first two lines.
  53.           *
  54.           * Then seek to the start of the false rumors (based on
  55.           * the value read in rumors, and display it.
  56.           */
  57.          rumor_buf[0] = '\0';
  58.          (void) dlb_fseek(rumors, (long) true_rumor_start, SEEK_SET);
  59.          ftell_rumor_start = dlb_ftell(rumors);
  60.          (void) dlb_fgets(line, sizeof line, rumors);
  61.          if ((endp = index(line, '\n')) != 0)
  62.              *endp = 0;
  63.          Sprintf(rumor_buf, "T %06ld %s", ftell_rumor_start,
  64.                  xcrypt(line, xbuf));
  65.          putstr(tmpwin, 0, rumor_buf);
  66.          /* find last true rumor */
  67.          while (dlb_fgets(line, sizeof line, rumors)
  68.                 && dlb_ftell(rumors) < true_rumor_end)
  69.              continue;
  70.          if ((endp = index(line, '\n')) != 0)
  71.              *endp = 0;
  72.          Sprintf(rumor_buf, "  %6s %s", "", xcrypt(line, xbuf));
  73.          putstr(tmpwin, 0, rumor_buf);
  74.  
  75.          rumor_buf[0] = '\0';
  76.          (void) dlb_fseek(rumors, (long) false_rumor_start, SEEK_SET);
  77.          ftell_rumor_start = dlb_ftell(rumors);
  78.          (void) dlb_fgets(line, sizeof line, rumors);
  79.          if ((endp = index(line, '\n')) != 0)
  80.              *endp = 0;
  81.          Sprintf(rumor_buf, "F %06ld %s", ftell_rumor_start,
  82.                  xcrypt(line, xbuf));
  83.          putstr(tmpwin, 0, rumor_buf);
  84.          /* find last false rumor */
  85.          while (dlb_fgets(line, sizeof line, rumors)
  86.                 && dlb_ftell(rumors) < false_rumor_end)
  87.              continue;
  88.          if ((endp = index(line, '\n')) != 0)
  89.              *endp = 0;
  90.          Sprintf(rumor_buf, "  %6s %s", "", xcrypt(line, xbuf));
  91.          putstr(tmpwin, 0, rumor_buf);
  92.  
  93.          (void) dlb_fclose(rumors);
  94.          display_nhwindow(tmpwin, TRUE);
  95.          destroy_nhwindow(tmpwin);
  96.      } else {
  97.          impossible("Can't open rumors file!");
  98.          true_rumor_size = -1; /* don't try to open it again */
  99.      }
  100.  }
  101.  

get_rnd_text

  1.  /* Gets a random line of text from file 'fname', and returns it. */
  2.  char *
  3.  get_rnd_text(fname, buf)
  4.  const char *fname;
  5.  char *buf;
  6.  {
  7.      dlb *fh;
  8.  
  9.      buf[0] = '\0';
  10.  
  11.      fh = dlb_fopen(fname, "r");
  12.  
  13.      if (fh) {
  14.          /* TODO: cache sizetxt, starttxt, endtxt. maybe cache file contents?
  15.           */
  16.          long sizetxt = 0, starttxt = 0, endtxt = 0, tidbit = 0;
  17.          char *endp, line[BUFSZ], xbuf[BUFSZ];
  18.          (void) dlb_fgets(line, sizeof line,
  19.                           fh); /* skip "don't edit" comment */
  20.  
  21.          (void) dlb_fseek(fh, 0L, SEEK_CUR);
  22.          starttxt = dlb_ftell(fh);
  23.          (void) dlb_fseek(fh, 0L, SEEK_END);
  24.          endtxt = dlb_ftell(fh);
  25.          sizetxt = endtxt - starttxt;
  26.          tidbit = Rand() % sizetxt;
  27.  
  28.          (void) dlb_fseek(fh, starttxt + tidbit, SEEK_SET);
  29.          (void) dlb_fgets(line, sizeof line, fh);
  30.          if (!dlb_fgets(line, sizeof line, fh)) {
  31.              (void) dlb_fseek(fh, starttxt, SEEK_SET);
  32.              (void) dlb_fgets(line, sizeof line, fh);
  33.          }
  34.          if ((endp = index(line, '\n')) != 0)
  35.              *endp = 0;
  36.          Strcat(buf, xcrypt(line, xbuf));
  37.          (void) dlb_fclose(fh);
  38.      } else
  39.          impossible("Can't open file %s!", fname);
  40.      return buf;
  41.  }
  42.  

outrumor

  1.  void
  2.  outrumor(truth, mechanism)
  3.  int truth; /* 1=true, -1=false, 0=either */
  4.  int mechanism;
  5.  {
  6.      static const char fortune_msg[] =
  7.          "This cookie has a scrap of paper inside.";
  8.      const char *line;
  9.      char buf[BUFSZ];
  10.      boolean reading = (mechanism == BY_COOKIE || mechanism == BY_PAPER);
  11.  
  12.      if (reading) {
  13.          /* deal with various things that prevent reading */
  14.          if (is_fainted() && mechanism == BY_COOKIE)
  15.              return;
  16.          else if (Blind) {
  17.              if (mechanism == BY_COOKIE)
  18.                  pline(fortune_msg);
  19.              pline("What a pity that you cannot read it!");
  20.              return;
  21.          }
  22.      }
  23.      line = getrumor(truth, buf, reading ? FALSE : TRUE);
  24.      if (!*line)
  25.          line = "NetHack rumors file closed for renovation.";
  26.      switch (mechanism) {
  27.      case BY_ORACLE:
  28.          /* Oracle delivers the rumor */
  29.          pline("True to her word, the Oracle %ssays: ",
  30.                (!rn2(4) ? "offhandedly "
  31.                         : (!rn2(3) ? "casually "
  32.                                    : (rn2(2) ? "nonchalantly " : ""))));
  33.          verbalize1(line);
  34.          /* [WIS exercized by getrumor()] */
  35.          return;
  36.      case BY_COOKIE:
  37.          pline(fortune_msg);
  38.      /* FALLTHRU */
  39.      case BY_PAPER:
  40.          pline("It reads:");
  41.          break;
  42.      }
  43.      pline1(line);
  44.  }
  45.  

init_oracles

  1.  STATIC_OVL void
  2.  init_oracles(fp)
  3.  dlb *fp;
  4.  {
  5.      register int i;
  6.      char line[BUFSZ];
  7.      int cnt = 0;
  8.  
  9.      /* this assumes we're only called once */
  10.      (void) dlb_fgets(line, sizeof line, fp); /* skip "don't edit" comment*/
  11.      (void) dlb_fgets(line, sizeof line, fp);
  12.      if (sscanf(line, "%5d\n", &cnt) == 1 && cnt > 0) {
  13.          oracle_cnt = (unsigned) cnt;
  14.          oracle_loc = (unsigned long *) alloc((unsigned) cnt * sizeof(long));
  15.          for (i = 0; i < cnt; i++) {
  16.              (void) dlb_fgets(line, sizeof line, fp);
  17.              (void) sscanf(line, "%5lx\n", &oracle_loc[i]);
  18.          }
  19.      }
  20.      return;
  21.  }
  22.  

save_oracles

  1.  void
  2.  save_oracles(fd, mode)
  3.  int fd, mode;
  4.  {
  5.      if (perform_bwrite(mode)) {
  6.          bwrite(fd, (genericptr_t) &oracle_cnt, sizeof oracle_cnt);
  7.          if (oracle_cnt)
  8.              bwrite(fd, (genericptr_t) oracle_loc, oracle_cnt * sizeof(long));
  9.      }
  10.      if (release_data(mode)) {
  11.          if (oracle_cnt) {
  12.              free((genericptr_t) oracle_loc);
  13.              oracle_loc = 0, oracle_cnt = 0, oracle_flg = 0;
  14.          }
  15.      }
  16.  }
  17.  

restore_oracles

  1.  void
  2.  restore_oracles(fd)
  3.  int fd;
  4.  {
  5.      mread(fd, (genericptr_t) &oracle_cnt, sizeof oracle_cnt);
  6.      if (oracle_cnt) {
  7.          oracle_loc = (unsigned long *) alloc(oracle_cnt * sizeof(long));
  8.          mread(fd, (genericptr_t) oracle_loc, oracle_cnt * sizeof(long));
  9.          oracle_flg = 1; /* no need to call init_oracles() */
  10.      }
  11.  }
  12.  

outoracle

  1.  void
  2.  outoracle(special, delphi)
  3.  boolean special;
  4.  boolean delphi;
  5.  {
  6.      char line[COLNO];
  7.      char *endp;
  8.      dlb *oracles;
  9.      int oracle_idx;
  10.      char xbuf[BUFSZ];
  11.  
  12.      /* early return if we couldn't open ORACLEFILE on previous attempt,
  13.         or if all the oracularities are already exhausted */
  14.      if (oracle_flg < 0 || (oracle_flg > 0 && oracle_cnt == 0))
  15.          return;
  16.  
  17.      oracles = dlb_fopen(ORACLEFILE, "r");
  18.  
  19.      if (oracles) {
  20.          winid tmpwin;
  21.          if (oracle_flg == 0) { /* if this is the first outoracle() */
  22.              init_oracles(oracles);
  23.              oracle_flg = 1;
  24.              if (oracle_cnt == 0)
  25.                  return;
  26.          }
  27.          /* oracle_loc[0] is the special oracle;
  28.             oracle_loc[1..oracle_cnt-1] are normal ones */
  29.          if (oracle_cnt <= 1 && !special)
  30.              return; /*(shouldn't happen)*/
  31.          oracle_idx = special ? 0 : rnd((int) oracle_cnt - 1);
  32.          (void) dlb_fseek(oracles, (long) oracle_loc[oracle_idx], SEEK_SET);
  33.          if (!special) /* move offset of very last one into this slot */
  34.              oracle_loc[oracle_idx] = oracle_loc[--oracle_cnt];
  35.  
  36.          tmpwin = create_nhwindow(NHW_TEXT);
  37.          if (delphi)
  38.              putstr(tmpwin, 0,
  39.                     special
  40.                       ? "The Oracle scornfully takes all your money and says:"
  41.                       : "The Oracle meditates for a moment and then intones:");
  42.          else
  43.              putstr(tmpwin, 0, "The message reads:");
  44.          putstr(tmpwin, 0, "");
  45.  
  46.          while (dlb_fgets(line, COLNO, oracles) && strcmp(line, "---\n")) {
  47.              if ((endp = index(line, '\n')) != 0)
  48.                  *endp = 0;
  49.              putstr(tmpwin, 0, xcrypt(line, xbuf));
  50.          }
  51.          display_nhwindow(tmpwin, TRUE);
  52.          destroy_nhwindow(tmpwin);
  53.          (void) dlb_fclose(oracles);
  54.      } else {
  55.          pline("Can't open oracles file!");
  56.          oracle_flg = -1; /* don't try to open it again */
  57.      }
  58.  }
  59.  

doconsult

  1.  int
  2.  doconsult(oracl)
  3.  struct monst *oracl;
  4.  {
  5.      long umoney;
  6.      int u_pay, minor_cost = 50, major_cost = 500 + 50 * u.ulevel;
  7.      int add_xpts;
  8.      char qbuf[QBUFSZ];
  9.  
  10.      multi = 0;
  11.      umoney = money_cnt(invent);
  12.  
  13.      if (!oracl) {
  14.          There("is no one here to consult.");
  15.          return 0;
  16.      } else if (!oracl->mpeaceful) {
  17.          pline("%s is in no mood for consultations.", Monnam(oracl));
  18.          return 0;
  19.      } else if (!umoney) {
  20.          You("have no money.");
  21.          return 0;
  22.      }
  23.  
  24.      Sprintf(qbuf, "\"Wilt thou settle for a minor consultation?\" (%d %s)",
  25.              minor_cost, currency((long) minor_cost));
  26.      switch (ynq(qbuf)) {
  27.      default:
  28.      case 'q':
  29.          return 0;
  30.      case 'y':
  31.          if (umoney < (long) minor_cost) {
  32.              You("don't even have enough money for that!");
  33.              return 0;
  34.          }
  35.          u_pay = minor_cost;
  36.          break;
  37.      case 'n':
  38.          if (umoney <= (long) minor_cost /* don't even ask */
  39.              || (oracle_cnt == 1 || oracle_flg < 0))
  40.              return 0;
  41.          Sprintf(qbuf, "\"Then dost thou desire a major one?\" (%d %s)",
  42.                  major_cost, currency((long) major_cost));
  43.          if (yn(qbuf) != 'y')
  44.              return 0;
  45.          u_pay = (umoney < (long) major_cost) ? (int) umoney : major_cost;
  46.          break;
  47.      }
  48.      money2mon(oracl, (long) u_pay);
  49.      context.botl = 1;
  50.      add_xpts = 0; /* first oracle of each type gives experience points */
  51.      if (u_pay == minor_cost) {
  52.          outrumor(1, BY_ORACLE);
  53.          if (!u.uevent.minor_oracle)
  54.              add_xpts = u_pay / (u.uevent.major_oracle ? 25 : 10);
  55.          /* 5 pts if very 1st, or 2 pts if major already done */
  56.          u.uevent.minor_oracle = TRUE;
  57.      } else {
  58.          boolean cheapskate = u_pay < major_cost;
  59.  
  60.          outoracle(cheapskate, TRUE);
  61.          if (!cheapskate && !u.uevent.major_oracle)
  62.              add_xpts = u_pay / (u.uevent.minor_oracle ? 25 : 10);
  63.          /* ~100 pts if very 1st, ~40 pts if minor already done */
  64.          u.uevent.major_oracle = TRUE;
  65.          exercise(A_WIS, !cheapskate);
  66.      }
  67.      if (add_xpts) {
  68.          more_experienced(add_xpts, u_pay / 50);
  69.          newexplevel();
  70.      }
  71.      return 1;
  72.  }
  73.  
  74.  /*rumors.c*/