亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? charts.c

?? 一個占星術算命游戲
?? C
?? 第 1 頁 / 共 3 頁
字號:
    for (j = 1; j <= total; j++) if (j != i && !ignore[j])
      for (k = 1; k <= total; k++) if (k != i && k != j && !ignore[k]) {

        /* Is there a Stellium among the current three planets? */

        if (i < j && j < k && grid->n[i][j] == _CON &&
            grid->n[i][k] == _CON && grid->n[j][k] == _CON) {
          count++;
          PrintGrand('.', i, j, k, l);

        /* Is there a Grand Trine? */

        } else if (i < j && j < k && grid->n[i][j] == _TRI &&
            grid->n[i][k] == _TRI && grid->n[j][k] == _TRI) {
          count++;
          PrintGrand('t', i, j, k, l);

        /* Is there a T-Square? */

        } else if (j < k && grid->n[j][k] == _OPP &&
            grid->n[MIN(i, j)][MAX(i, j)] == _SQU &&
            grid->n[MIN(i, k)][MAX(i, k)] == _SQU) {
          count++;
          PrintGrand('s', i, j, k, l);

        /* Is there a Yod? */

        } else if (j < k && grid->n[j][k] == _SEX &&
            grid->n[MIN(i, j)][MAX(i, j)] == _INC &&
            grid->n[MIN(i, k)][MAX(i, k)] == _INC) {
          count++;
          PrintGrand('y', i, j, k, l);
        }
        for (l = 1; l <= total; l++) if (!ignore[l]) {

          /* Is there a Grand Cross among the current four planets? */

          if (i < j && i < k && i < l && j < l && grid->n[i][j] == _SQU &&
              grid->n[MIN(j, k)][MAX(j, k)] == _SQU &&
              grid->n[MIN(k, l)][MAX(k, l)] == _SQU &&
              grid->n[i][l] == _SQU &&
              MinDistance(planet[i], planet[k]) > 150.0 &&
              MinDistance(planet[j], planet[l]) > 150.0) {
            count++;
            PrintGrand('g', i, j, k, l);

          /* Is there a Cradle? */

          } else if (i < l && grid->n[MIN(i, j)][MAX(i, j)] == _SEX &&
              grid->n[MIN(j, k)][MAX(j, k)] == _SEX &&
              grid->n[MIN(k, l)][MAX(k, l)] == _SEX &&
              MinDistance(planet[i], planet[l]) > 150.0) {
            count++;
            PrintGrand('c', i, j, k, l);
          }
        }
      }
  if (!count)
    fprintf(S, "No major configurations in aspect grid.\n");
}


/* This is subprocedure of ChartWheel(). Here we print out the location */
/* of a particular house cusp as well as what house cusp number it is.  */

void PrintHouse(i, left)
int i, left;
{
  if (!left)
    PrintZodiac(house[i]);
  AnsiColor(signansi(i));
  fprintf(S, "<%d>", i);
  if (left)
    PrintZodiac(house[i]);
  else
    AnsiColor(DEFAULT);
}


/* Another subprocedure of ChartWheel(). Here we print out one line in a */
/* particular house cell (which may be blank).                           */

void PrintWheelSlot(obj, wheelcols)
int obj, wheelcols;
{
  if (obj) {
    AnsiColor(objectansi[obj]);
    fprintf(S, " %c%c%c ", OBJNAM(obj));  /* Print planet and its position. */
    PrintZodiac(planet[obj]);
    fprintf(S, "%c ", ret[obj] < 0.0 ? 'r' : ' ');
    PrintTab(' ', WHEELCOLS-14-1);
  } else
    PrintTab(' ', wheelcols-1);       /* This particular line is blank. */
}


/* Display all the objects in a wheel format on the screen, as specified */
/* with the -w switch. The wheel is divided into the 12 houses and the   */
/* planets are placed accordingly.                                       */

void ChartWheel()
{
  byte wheel[SIGNS][WHEELROWS];
  int wheelcols, count = 0, i, j, k, l;

  /* If the seconds (-b0) flag is set, we'll print all planet and house    */
  /* locations to the nearest zodiac second instead of just to the minute. */

  seconds = -seconds;
  wheelcols = WHEELCOLS + (seconds < 0)*4;

  for (i = 0; i < SIGNS; i++)
    for (j = 0; j < wheelrows; j++)    /* Clear out array from the */
      wheel[i][j] = 0;                 /* last time we used it.    */

  /* This section of code places each object in the wheel house array. */

  for (i = 1; i <= total && count < wheelrows*12; i++) {
    if (ignore[i] || !(i < _MC || i == OBJECTS || i > C_HI))
      continue;

    /* Try to put object in its proper house. If no room, */
    /* then overflow over to the succeeding house.        */

    for (j = inhouse[i]-1; j < SIGNS; j = j < SIGNS ? (j+1)%SIGNS : j) {

      /* Now try to find the proper place in the house to put the object. */
      /* This is in sorted order, although a check is made for 0 Aries.   */

      if (wheel[j][wheelrows-1] > 0)
        continue;
      l = house[j+1] > house[Mod12(j+2)];
      for (k = 0; wheel[j][k] > 0 &&
           (planet[i] >= planet[wheel[j][k]] ||
            (l && planet[i] < DEGHALF && planet[wheel[j][k]] > DEGHALF)) &&
           !(l && planet[i] > DEGHALF && planet[wheel[j][k]] < DEGHALF); k++)
        ;

      /* Actually insert object in proper place. */

      if (wheel[j][k] <= 0)
        wheel[j][k] = i;
      else {
        for (l = wheelrows-1; l > k; l--)
          wheel[j][l] = wheel[j][l-1];
        wheel[j][k] = i;
      }
      count++;
      j = SIGNS;
    }
  }

  /* Now, if this is really the -w switch and not -w0, then reverse the */
  /* order of objects in western houses for more intuitive reading.     */

  if (!(exdisplay & DASHw0))
    for (i = 3; i < 9; i++)
      for (j = 0; j < wheelrows/2; j++) {
        k = wheelrows-1-j;
        l = wheel[i][j]; wheel[i][j] = wheel[i][k]; wheel[i][k] = l;
      }

  /* Here we actually print the wheel and the objects in it. */

  printc(BOXNW); PrintTab(BOXH, WHEELCOLS-8); PrintHouse(11, TRUE);
  PrintTab(BOXH, WHEELCOLS-11); PrintHouse(10, TRUE);
  PrintTab(BOXH, WHEELCOLS-10); PrintHouse(9, TRUE);
  PrintTab(BOXH, wheelcols-4); fprintf(S, "%c\n", BOXNE);
  for (i = 0; i < wheelrows; i++) {
    for (j = 10; j >= 7; j--) {
      printc(BOXV); PrintWheelSlot(wheel[j][i], wheelcols);
    }
    fprintf(S, "%c\n", BOXV);
  }
  PrintHouse(12, TRUE); PrintTab(BOXH, WHEELCOLS-11);
  printc(BOXC); PrintTab(BOXH, wheelcols-1); printc(BOXJN);
  PrintTab(BOXH, wheelcols-1); printc(BOXC); PrintTab(BOXH, WHEELCOLS-10);
  PrintHouse(8, FALSE); printl();
  for (i = 0; i < wheelrows; i++) {
    printc(BOXV); PrintWheelSlot(wheel[11][i], wheelcols); printc(BOXV);

    /* For some rows, we have to insert the chart header information. */

    if (i) {
      PrintTab(' ', wheelcols-11-(i == 2 && !eurotime));
      if (i == 1)
        fprintf(S, "%s (%s) chart", appname, VERSION);
      else if (i == 2) {
        j = DayOfWeek(Mon, Day, Yea);
        k = (int) (FRACT(dabs(Tim))*100.0+ROUND);
        fprintf(S, "%c%c%c %s %s", DAYNAM(j), CharDate(Mon, Day, Yea, 2),
          CharTime((int)floor(Tim), k));
      } else if (i == 3) {
        fprintf(S, "%c%02d:", Zon > 0.0 ? '-' : '+', (int)dabs(Zon));
        j = (int) (FRACT(dabs(Zon))*100.0+ROUND);
        fprintf(S, "%02d %s", j, CharLocation(Lon, Lat, 100.0));
      } else
        PrintTab(' ', 21);
      PrintTab(' ', wheelcols-11-(i == 2 && !eurotime));

    } else
      PrintTab(' ', wheelcols*2-1);
    printc(BOXV); PrintWheelSlot(wheel[6][i], wheelcols);
    fprintf(S, "%c\n", BOXV);
  }
  PrintHouse(1, TRUE); PrintTab(BOXH, WHEELCOLS-10);
  printc(BOXJW); PrintTab(' ', wheelcols-11);
  fprintf(S, "%s", systemname[housesystem]);
  PrintTab(' ', 14-StringLen(systemname[housesystem]));
  fprintf(S, "Houses."); PrintTab(' ', wheelcols-11); printc(BOXJE);
  PrintTab(BOXH, WHEELCOLS-10); PrintHouse(7, FALSE); printl();
  for (i = 0; i < wheelrows; i++) {
    printc(BOXV); PrintWheelSlot(wheel[0][i], wheelcols); printc(BOXV);
    if (i == 0) {
      PrintTab(' ', wheelcols-12);
      fprintf(S, "Julian Day = %9.2f", JulianDayFromTime(T));
      PrintTab(' ', wheelcols-12);
    } else
      PrintTab(' ', wheelcols*2-1);
    printc(BOXV); PrintWheelSlot(wheel[5][i], wheelcols);
    fprintf(S, "%c\n", BOXV);
  }
  PrintHouse(2, TRUE); PrintTab(BOXH, WHEELCOLS-10);
  printc(BOXC); PrintTab(BOXH, wheelcols-1); printc(BOXJS);
  PrintTab(BOXH, wheelcols-1); printc(BOXC);
  PrintTab(BOXH, WHEELCOLS-10); PrintHouse(6, FALSE); printl();
  for (i = 0; i < wheelrows; i++) {
    for (j = 1; j <= 4; j++) {
      printc(BOXV); PrintWheelSlot(wheel[j][i], wheelcols);
    }
    fprintf(S, "%c\n", BOXV);
  }
  printc(BOXSW); PrintTab(BOXH, wheelcols-4); PrintHouse(3, FALSE);
  PrintTab(BOXH, WHEELCOLS-10); PrintHouse(4, FALSE);
  PrintTab(BOXH, WHEELCOLS-10); PrintHouse(5, FALSE);
  PrintTab(BOXH, WHEELCOLS-7); fprintf(S, "%c\n", BOXSE);
  seconds = -seconds;
}


/* Display all aspects between objects in the chart, one per line, in       */
/* sorted order based on the total "power" of the aspect, as specified with */
/* the -m0 switch. The same influences used for -I charts are used here.    */

void ChartAspect()
{
  int pcut = 30000, icut, jcut, phi, ihi, jhi, ahi, p, i, j, k, count = 0;
  real ip, jp;

  loop {
    phi = -1;

    /* Search for the next most powerful aspect in the aspect grid. */

    for (i = 2; i <= total; i++) if (!ignore[i])
      for (j = 1; j < i; j++) if (!ignore[j])
        if (k = grid->n[j][i]) {
          ip = i <= OBJECTS ? objectinf[i] : 2.5;
          jp = j <= OBJECTS ? objectinf[j] : 2.5;
          p = (int) (aspectinf[k]*(ip+jp)/2.0*
            (1.0-dabs((real)(grid->v[j][i]))/60.0/aspectorb[k])*1000.0);
          if ((p < pcut || (p == pcut && (i > icut ||
            (i == icut && j > jcut)))) && p > phi) {
            ihi = i; jhi = j; phi = p; ahi = k;
          }
        }
    if (phi < 0)    /* Exit when no less powerful aspect found. */
      break;
    pcut = phi; icut = ihi; jcut = jhi;
    count++;                               /* Display the current aspect.   */
#ifdef INTERPRET
    if (interpret) {                       /* Interpret it if -I in effect. */
      InterpretAspect(jhi, ihi);
      continue;
    }
#endif
    fprintf(S, "%3d: ", count);
    PrintAspect(jhi, ZTOS(planet[jhi]), (int)Sgn(ret[jhi]), ahi,
      ihi, ZTOS(planet[ihi]), (int)Sgn(ret[ihi]), 'a');
    k = grid->v[jhi][ihi];
    AnsiColor(k < 0 ? WHITE : LTGRAY);
    fprintf(S, " - orb: %c%d%c%02d'",
      exdisplay & DASHga ? (k < 0 ? 'a' : 's') : (k < 0 ? '-' : '+'),
      abs(k)/60, DEGR1, abs(k)%60);
    AnsiColor(DKGREEN);
    fprintf(S, " - power:%6.2f\n", (real) phi/1000.0);
    AnsiColor(DEFAULT);
  }
}


/* Display locations of all midpoints between objects in the chart, */
/* one per line, in sorted zodiac order from zero Aries onward, as  */
/* specified with the -m switch.                                    */

void ChartMidpoint()
{
  int mcut = -1, icut, jcut, mlo, ilo, jlo, m, i, j, count = 0;

  loop {
    mlo = 21600;

    /* Search for the next closest midpoint farther down in the zodiac. */ 

    for (i = 1; i < total; i++) if (!ignore[i])
      for (j = i+1; j <= total; j++) if (!ignore[j]) {
        m = (grid->n[j][i]-1)*30*60 + grid->v[j][i];
        if ((m > mcut || (m == mcut && (i > icut ||
          (i == icut && j > jcut)))) && m < mlo) {
          ilo = i; jlo = j; mlo = m;
        }
      }
    if (mlo >= 21600)    /* Exit when no midpoint farther in zodiac found. */
      break;
    mcut = mlo; icut = ilo; jcut = jlo;
    count++;                               /* Display the current midpoint. */
#ifdef INTERPRET
    if (interpret) {                       /* Interpret it if -I in effect. */
      InterpretMidpoint(ilo, jlo);
      continue;
    }
#endif
    fprintf(S, "%4d: ", count);
    PrintZodiac((real) mlo/60.0);
    printc(' ');
    PrintAspect(ilo, ZTOS(planet[ilo]), (int)Sgn(ret[ilo]), 0,
      jlo, ZTOS(planet[jlo]), (int)Sgn(ret[jlo]), 'm');
    AnsiColor(DEFAULT);
    fprintf(S, "-%4d degree span.\n",
      (int) MinDistance(planet[ilo], planet[jlo]));
  }
}


/* Display locations of the objects on the screen with respect to the local */
/* horizon, as specified with the -Z switch.                                */

void ChartHorizon()
{
  real lon, lat, sx, sy, vx, vy,
    lonz[TOTAL+1], latz[TOTAL+1], azi[TOTAL+1], alt[TOTAL+1];
  int i, j, k, tot;

  lon = DTOR(Mod(Lon)); lat = DTOR(Lat);
  tot = universe ? total : BASE;

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
最新高清无码专区| 日韩制服丝袜先锋影音| 一区二区三区中文字幕电影| 奇米四色…亚洲| 色综合久久久久久久久久久| 日韩一区二区麻豆国产| 亚洲美女一区二区三区| 精品一区二区三区在线视频| 色88888久久久久久影院野外| 精品国产91亚洲一区二区三区婷婷| 日韩一区中文字幕| 国产伦精品一区二区三区免费迷| 在线观看亚洲精品| 中文字幕不卡三区| 激情av综合网| 欧美精品丝袜久久久中文字幕| 国产精品久久久久久久第一福利| 久久国产精品免费| 777奇米成人网| 亚洲丰满少妇videoshd| www.欧美色图| 久久亚洲综合av| 日本成人超碰在线观看| 欧美午夜精品一区| 日韩美女啊v在线免费观看| 国产精品一区二区黑丝| 欧美大度的电影原声| 亚洲www啪成人一区二区麻豆 | 欧美色精品天天在线观看视频| 国产亚洲一区二区在线观看| 精品制服美女丁香| 日韩精品一区在线| 蜜桃传媒麻豆第一区在线观看| 欧美色精品天天在线观看视频| 亚洲品质自拍视频| 99精品久久免费看蜜臀剧情介绍| 中文字幕av一区二区三区免费看| 国产.精品.日韩.另类.中文.在线.播放| 精品欧美一区二区久久| 韩国毛片一区二区三区| 精品国产凹凸成av人网站| 国产一区二区影院| 中文成人综合网| 日韩欧美资源站| 日韩国产在线观看| 欧美成人在线直播| 国产99精品视频| 中文字幕一区二区三区在线不卡 | 国产成人啪午夜精品网站男同| 亚洲精品在线三区| 国产成人福利片| 国产精品理论在线观看| 91免费看片在线观看| 亚洲一区二区三区国产| 日韩欧美不卡一区| 国产成人亚洲综合色影视| 亚洲伦理在线免费看| 欧美三级在线视频| 韩国女主播成人在线观看| 国产精品天天看| 在线观看亚洲专区| 九色综合狠狠综合久久| 久久久久免费观看| 日本不卡在线视频| 欧美一区午夜视频在线观看 | 久草精品在线观看| 国产精品第一页第二页第三页| www.日本不卡| 免费高清在线一区| 久久久三级国产网站| 一本到三区不卡视频| 亚洲福中文字幕伊人影院| 国产亚洲成aⅴ人片在线观看| 国产aⅴ综合色| 图片区小说区区亚洲影院| 日韩欧美www| 色婷婷综合久久久中文字幕| 亚洲一区二区在线视频| 亚洲精品一区二区精华| 9人人澡人人爽人人精品| 久久aⅴ国产欧美74aaa| 亚洲一二三级电影| 国产午夜精品在线观看| 欧美精品久久天天躁| 一区二区三区日韩欧美| www国产成人免费观看视频 深夜成人网| 久草这里只有精品视频| 久久蜜桃av一区精品变态类天堂| 日韩一区二区三| 精品国产91久久久久久久妲己| 国产精品色呦呦| 国产欧美日韩久久| 日韩高清不卡一区二区三区| 天天亚洲美女在线视频| 日本女优在线视频一区二区| 波多野结衣一区二区三区 | 日韩高清在线观看| 激情欧美日韩一区二区| 麻豆精品视频在线观看| 日韩一区二区电影在线| 亚洲午夜三级在线| 99国产精品一区| 3atv在线一区二区三区| 亚洲国产你懂的| 一本一本久久a久久精品综合麻豆| 欧美xxxxxxxxx| 国产精品天美传媒| 久久www免费人成看片高清| 欧美精三区欧美精三区| 一级日本不卡的影视| 不卡免费追剧大全电视剧网站| 欧美一区二区三区精品| 青椒成人免费视频| 日韩西西人体444www| 一区二区三区免费网站| 色88888久久久久久影院按摩| 日韩精品1区2区3区| 欧美电影一区二区三区| 蜜臀a∨国产成人精品| 在线精品国精品国产尤物884a| 午夜精品久久久久| 日本三级韩国三级欧美三级| 国内成人精品2018免费看| 欧洲激情一区二区| 色综合色综合色综合色综合色综合| 蜜桃久久久久久| 亚洲五月六月丁香激情| 国产精品电影一区二区三区| 97国产精品videossex| 色噜噜狠狠一区二区三区果冻| 久久99久久久久| 久久99这里只有精品| 青青草国产精品亚洲专区无| 久久精品国产第一区二区三区| 偷拍一区二区三区| 精品一区二区在线观看| 日本三级亚洲精品| 国产成人精品午夜视频免费| 久久精品国产99国产| 丰满放荡岳乱妇91ww| 国产精品18久久久久久久久| 99riav一区二区三区| 99久久99久久精品免费看蜜桃| 欧洲生活片亚洲生活在线观看| 色婷婷精品大在线视频| 欧美日韩国产另类不卡| 2017欧美狠狠色| 亚洲三级视频在线观看| 亚洲日本电影在线| 蜜桃一区二区三区在线观看| 日韩精品亚洲一区二区三区免费| 最新国产精品久久精品| 一区二区三区资源| 午夜精品一区二区三区电影天堂 | 国产成人精品一区二| 99精品1区2区| 91精品欧美综合在线观看最新| 日韩一级片网站| 亚洲欧洲av另类| 午夜天堂影视香蕉久久| 国产成人啪免费观看软件| 99国产麻豆精品| 久久综合九色综合97婷婷| 国产精品国产三级国产普通话蜜臀 | 亚洲乱码国产乱码精品精小说| 亚洲特黄一级片| 日韩高清一级片| 99久久久精品| 91精品国产色综合久久不卡电影| 国产亚洲女人久久久久毛片| 亚洲天堂免费在线观看视频| 久久国内精品视频| 91亚洲精品久久久蜜桃网站| 精品国产1区二区| 一区二区三区精品久久久| 国产成a人亚洲精品| 777xxx欧美| 亚洲午夜日本在线观看| 国产精品资源站在线| 日韩三级视频在线看| 中文字幕欧美一| 国产一区二区三区视频在线播放 | 韩国在线一区二区| 一本大道久久a久久精品综合| 欧美国产综合色视频| 亚洲成人三级小说| 欧美天堂一区二区三区| www久久精品| 久久99国内精品| 高清在线成人网| 国产欧美一区二区在线| 国产婷婷色一区二区三区在线| 蜜臀精品久久久久久蜜臀| 欧美午夜精品久久久久久超碰| 欧美精彩视频一区二区三区| 亚洲一区二区三区美女| 国产精品亚洲综合一区在线观看| 日韩一级在线观看| 日韩中文字幕亚洲一区二区va在线 | 91在线丨porny丨国产|