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

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

?? charts.c

?? 一個占星術算命游戲
?? C
?? 第 1 頁 / 共 3 頁
字號:
/*
** Astrolog (Version 4.00) File: charts.c
**
** IMPORTANT NOTICE: the graphics database and chart display routines
** used in this program are Copyright (C) 1991-1993 by Walter D. Pullen
** (cruiser1@stein.u.washington.edu). Permission is granted to freely
** use and distribute these routines provided one doesn't sell,
** restrict, or profit from them in any way. Modification is allowed
** provided these notices remain with any altered or edited versions of
** the program.
**
** The main planetary calculation routines used in this program have
** been Copyrighted and the core of this program is basically a
** conversion to C of the routines created by James Neely as listed in
** Michael Erlewine's 'Manual of Computer Programming for Astrologers',
** available from Matrix Software. The copyright gives us permission to
** use the routines for personal use but not to sell them or profit from
** them in any way.
**
** The PostScript code within the core graphics routines are programmed
** and Copyright (C) 1992-1993 by Brian D. Willoughby
** (brianw@sounds.wa.com). Conditions are identical to those above.
**
** The extended accurate ephemeris databases and formulas are from the
** calculation routines in the program "Placalc" and are programmed and
** Copyright (C) 1989,1991,1993 by Astrodienst AG and Alois Treindl
** (alois@azur.ch). The use of that source code is subject to
** regulations made by Astrodienst Zurich, and the code is not in the
** public domain. This copyright notice must not be changed or removed
** by any user of this program.
**
** Initial programming 8/28,30, 9/10,13,16,20,23, 10/3,6,7, 11/7,10,21/1991.
** X Window graphics initially programmed 10/23-29/1991.
** PostScript graphics initially programmed 11/29-30/1992.
** Last code change made 12/31/1993.
*/

#include "astrolog.h"


/*
******************************************************************************
** Single Chart Display Subprograms.
******************************************************************************
*/

/* Fill out tables based on the number of unrestricted planets in signs by  */
/* element, signs by mode, as well as other values such as the number of    */
/* objects in yang vs. yin signs, in various house hemispheres (north/south */
/* and east/west), and the number in first six signs vs. second six signs.  */
/* This is used by the -v chart listing and the sidebar in graphics charts. */

void CreateElemTable(elemode, elem, mo, tot, pos, abo, lef, lea)
int elemode[4][3], *elem, *mo, *tot, *pos, *abo, *lef, *lea;
{
  int i, j;

  *tot = *pos = *abo = *lef = *lea = 0;    /* Initialize arrays     */
  for (i = 0; i < 4; i++)                  /* and variables to zero */
    elem[i] = 0;
  for (j = 0; j < 3; j++)
    mo[j] = 0;
  for (i = 0; i < 4; i++)
    for (j = 0; j < 3; j++)
      elemode[i][j] = 0;

  /* Calculate number of objects in each element, mode, hemisphere, etc. */

  for (i = 1; i <= total; i++) if (!ignore[i]) {
    (*tot)++;
    j = ZTOS(planet[i]);
    elemode[(j-1)&3][(j-1)%3]++;
    elem[(j-1)&3]++; mo[(j-1)%3]++;
    *pos += (j & 1);
    *lea += (j < _LIB);
    j = inhouse[i];
    *abo += (j >= _LIB);
    *lef += (j < _CAN || j >= _CAP);
  }
}


/* Print the straight listing of planet and house positions and specified */
/* by the -v switch, along with the element table, etc.                   */

void ChartLocation()
{
  int elemode[4][3], elem[4], mo[3], pos, abo, lef, lea;
  int count, i, j, k;

  CreateElemTable(elemode, elem, mo, &count, &pos, &abo, &lef, &lea);

  /* Print header showing time and date of the chart being displayed. */

  AnsiColor(WHITE);
  fprintf(S, "%s %s chart ", appname, VERSION);
  if (Mon == -1)
    fprintf(S, "(no time or space)\n");
  else if (relation == DASHrc)
    fprintf(S, "(composite)\n");
  else {
    i = (int) (FRACT(dabs(Tim))*100.0+ROUND);
    j = (int) (FRACT(dabs(Zon))*100.0+ROUND);
    fprintf(S, "for %s %s",
      CharDate(Mon, Day, Yea, TRUE), CharTime((int)Tim, i));
    fprintf(S, " (%c%.0f:%02d GMT) ",
      Zon > 0.0 ? '-' : '+', dabs(Zon), j);
    fprintf(S, "%s\n", CharLocation(Lon, Lat, 100.0));
  }

#ifdef INTERPRET
  if (interpret) {            /* Print an interpretation if -I in effect. */
    if (relation == DASHr)
      InterpretSynastry();    /* Print synastry interpretaion for -r -I.  */
    else
      InterpretLocation();    /* Do normal interpretation for just -v -I. */
    return;
  }
#endif
  AnsiColor(DEFAULT);
  fprintf(S, "Body  Locat. Ret. Decl. Rul.      House  Rul. Veloc.    ");
  fprintf(S, "%s Houses.\n\n", systemname[housesystem]);

  /* Ok, now print out each location of each object. */

  for (i = 1, j = 1; i <= BASE; i++, j++) {
    if (i > OBJECTS && (i <= C_HI || ignore[i]))
      continue;
    while (i <= OBJECTS && j <= OBJECTS && ignore[j])
      j++;
    if (i <= OBJECTS && j > OBJECTS)
      PrintTab(' ', 51);
    else {
      if (i > OBJECTS)
        j = i;
      AnsiColor(objectansi[j]);
      fprintf(S, "%-4.4s: ", objectname[j]);
      PrintZodiac(planet[j]);
      fprintf(S, " %c ", ret[j] >= 0.0 ? ' ' : 'R');
      if (j <= THINGS || j > OBJECTS)
        PrintAltitude(planetalt[i]);
      else
        fprintf(S, "_______");
      fprintf(S, " (%c)", Dignify(j, ZTOS(planet[i])));
      k = inhouse[j];
      AnsiColor(signansi(k));
      fprintf(S, " [%2d%c%c house]", k, post[k][0], post[k][1]);
      AnsiColor(DEFAULT);
      fprintf(S, " [%c] ", Dignify(j, k));
      if ((j != _MOO || placalc) && (IsObject(j) || (j == _NOD && placalc)))
        fprintf(S, RTOD(dabs(ret[j])) < 10.0 ? "%c%5.3f" : "%c%5.2f",
          ret[i] < 0.0 ? '-' : '+', RTOD(dabs(ret[j])));
      else
        fprintf(S, "______");
    }

    /* For some lines, we have to append the house cusp positions. */

    if (i <= SIGNS) {
      fprintf(S, "  -  ");
      AnsiColor(signansi(i));
      fprintf(S, "House cusp %2d: ", i);
      PrintZodiac(house[i]);
    }

    /* For some lines, we have to append the element table information. */

    if (i == SIGNS+2)
      fprintf(S, "     Car Fix Mut TOT");
    else if (i > SIGNS+2 && i < SIGNS+7) {
      k = i-(SIGNS+2)-1;
      AnsiColor(elemansi[k]);
      fprintf(S, "  %c%c%c%3d %3d %3d %3d",
        element[k][0], element[k][1], element[k][2],
        elemode[k][0], elemode[k][1], elemode[k][2], elem[k]);
      AnsiColor(DEFAULT);
    } else if (i == SIGNS+7)
      fprintf(S, "  TOT %2d %3d %3d %3d", mo[0], mo[1], mo[2], count);
    else if (i == OBJECTS)
      PrintTab(' ', 23);
    else if (i >= U_LO)
      fprintf(S, "  Uranian #%d", i-U_LO+1);
    switch (i-SIGNS-1) {
    case 1: fprintf(S, "   +:%2d", pos);       break;
    case 2: fprintf(S, "   -:%2d", count-pos); break;
    case 3: fprintf(S, "   M:%2d", abo);       break;
    case 4: fprintf(S, "   N:%2d", count-abo); break;
    case 5: fprintf(S, "   A:%2d", lef);       break;
    case 6: fprintf(S, "   D:%2d", count-lef); break;
    case 7: fprintf(S,    "<:%2d", lea);       break;
    }
    printl();
  }

  /* Do another loop to print out the stars in their specified order. */

  if (universe) for (i = S_LO; i <= S_HI; i++) if (!ignore[i]) {
    j = BASE+starname[i-BASE];
    AnsiColor(objectansi[j]);
    fprintf(S, "%.4s: ", objectname[j]);
    PrintZodiac(planet[j]);
    fprintf(S, "   ");
    PrintAltitude(planetalt[j]);
    k = inhouse[j];
    AnsiColor(signansi(k));
    fprintf(S, "     [%2d%c%c house]", k, post[k][0], post[k][1]);
    AnsiColor(DEFAULT);
    fprintf(S, "     ______  Star #%2d: %5.2f\n", i-BASE, starbright[j-BASE]);
  }
}


/* Print out the aspect and midpoint grid for a chart, as specified with the */
/* -g switch. (Each grid row takes up 4 lines of text.)                      */

void ChartGrid()
{
  int x, y, r, x1, y1, temp;

#ifdef INTERPRET
  if (interpret) {    /* Print interpretation instead if -I in effect. */
    InterpretGrid();
    return;
  }
#endif

  for (y1 = 0, y = 1; y <= total; y++) if (!ignore[y])
    for (r = 1; r <= 4; r++) {
      for (x1 = 0, x = 1; x <= total; x++) if (!ignore[x]) {
        if (y1 > 0 && x1 > 0 && y+r > 2)
          printc(r > 1 ? BOXV : BOXC);
        if (r > 1) {
          temp = grid->n[x][y];

          /* Print aspect rows. */

          if (x < y) {
            if (temp);
              AnsiColor(aspectansi[temp]);
            if (r == 2)
              fprintf(S, "%s", temp ? aspectabbrev[temp] : "   ");
            else if (!temp)
              fprintf(S, "   ");
            else {
              if (r == 3) {
                if (grid->v[x][y] < 600)
                  fprintf(S, "%c%2d", exdisplay & DASHga ?
                    (grid->v[x][y] < 0 ? 'a' : 's') :
                    (grid->v[x][y] < 0 ? '-' : '+'), abs(grid->v[x][y])/60);
                else
                  fprintf(S, "%3d", abs(grid->v[x][y])/60);
              } else
                fprintf(S, "%02d'", abs(grid->v[x][y])%60);
            }

          /* Print midpoint rows. */

          } else if (x > y) {
            AnsiColor(signansi(temp));
            if (r == 2) {
              temp = grid->n[x][y];
              fprintf(S, "%c%c%c", SIGNAM(temp));
            } else if (r == 3) {
              fprintf(S, "%2d%c", grid->v[x][y]/60, DEGR2);
            } else
              fprintf(S, "%02d'", grid->v[x][y]%60);

          /* Print the diagonal of object names. */

          } else {
            AnsiColor(REVERSE);
            if (r == 2) {
              AnsiColor(objectansi[y]);
              fprintf(S, "%c%c%c", OBJNAM(y));
            } else {
              temp = ZTOS(planet[y]);
              AnsiColor(signansi(temp));
              if (r == 3)
                fprintf(S, "%2d%c", (int)planet[y] - (temp-1)*30, DEGR2);
              else
                fprintf(S, "%c%c%c", SIGNAM(temp));
            }
          }
          AnsiColor(DEFAULT);
        } else
          if (y1 > 0)
            PrintTab(BOXH, 3);
        x1++;
        if (column80 && x1 >= 20)
          x = total;
      }
      if (y+r > 2)
        printl();
      y1++;
    }
}


/* This is a subprocedure of DisplayGrands(). Here we print out one aspect */
/* configuration found by the parent procedure.                            */

void PrintGrand(nam, i1, i2, i3, i4)
char nam;
int i1, i2, i3, i4;
{
  switch (nam) {
  case '.': AnsiColor(aspectansi[_CON]); fprintf(S, "Stellium   "); break;
  case 't': AnsiColor(aspectansi[_TRI]); fprintf(S, "Grand Trine"); break;
  case 's': AnsiColor(aspectansi[_OPP]); fprintf(S, "T-Square   "); break;
  case 'y': AnsiColor(aspectansi[_INC]); fprintf(S, "Yod        "); break;
  case 'g': AnsiColor(aspectansi[_SQU]); fprintf(S, "Grand Cross"); break;
  case 'c': AnsiColor(aspectansi[_SEX]); fprintf(S, "Cradle     "); break;
  default: ;
  }
  AnsiColor(DEFAULT);
  fprintf(S, " %s ", nam == '.' || nam == 't' || nam == 'g' ? "with" : "from");
  AnsiColor(objectansi[i1]);
  fprintf(S, "%c%c%c: ", OBJNAM(i1));
  PrintZodiac(planet[i1]);
  fprintf(S, " %s ", nam == '.' || nam == 't' ? "and" : "to ");
  AnsiColor(objectansi[i2]);
  fprintf(S, "%c%c%c: ", OBJNAM(i2));
  PrintZodiac(planet[i2]);
  fprintf(S, " %s ", nam == 'g' || nam == 'c' ? "to " : "and");
  AnsiColor(objectansi[i3]);
  fprintf(S, "%c%c%c: ", OBJNAM(i3));
  PrintZodiac(planet[i3]);
  if (nam == 'g' || nam == 'c') {
    fprintf(S, " to ");
    AnsiColor(objectansi[i4]);
    fprintf(S, "%c%c%c: ", OBJNAM(i4));
    PrintZodiac(planet[i4]);
  }
  printl();
}


/* Scan the aspect grid of a chart and print out any major configurations, */
/* as specified with the -g0 switch.                                       */

void DisplayGrands()
{
  int count = 0, i, j, k, l;

  for (i = 1; i <= total; i++) if (!ignore[i])

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久精品国产澳门| 欧美女孩性生活视频| 色婷婷av一区二区三区gif| 69堂精品视频| 亚洲欧洲精品成人久久奇米网| 午夜精品久久久久久| 国产精品一区二区在线播放 | 欧美日韩在线直播| 精品久久久久久最新网址| 亚洲婷婷国产精品电影人久久| 久久丁香综合五月国产三级网站| 色欧美乱欧美15图片| 中文字幕av一区二区三区高| 日韩电影在线看| 欧美日韩在线免费视频| 中文字幕中文字幕在线一区| 久久 天天综合| 欧美一区午夜精品| 亚洲成av人片在线观看无码| 99视频国产精品| 亚洲国产精品黑人久久久| 精品无码三级在线观看视频| 69av一区二区三区| 午夜国产不卡在线观看视频| 色综合欧美在线| 亚洲黄色小说网站| 日本伦理一区二区| 一区二区三区四区在线播放| 成人av电影在线| 国产精品美女久久久久aⅴ国产馆| 精一区二区三区| 亚洲精品一线二线三线| 久久99久久99| 久久久亚洲精品石原莉奈| 国内外精品视频| 久久蜜桃av一区精品变态类天堂 | 国产在线观看免费一区| 日韩美女一区二区三区四区| 青青国产91久久久久久| 日韩欧美一区电影| 精品系列免费在线观看| 日韩欧美一区二区视频| 国内精品在线播放| 国产精品天美传媒| 99re视频这里只有精品| 亚洲精品菠萝久久久久久久| 色国产综合视频| 亚洲电影欧美电影有声小说| 欧美日本一区二区| 麻豆精品视频在线观看免费| 亚洲精品在线观| 成人av网站免费| 亚洲综合免费观看高清在线观看| 欧美日韩精品欧美日韩精品一综合| 亚洲成人精品一区| 精品sm捆绑视频| 99这里只有久久精品视频| 亚洲综合丝袜美腿| 日韩精品一区二区三区中文精品| 国产很黄免费观看久久| 亚洲精品综合在线| 制服.丝袜.亚洲.中文.综合| 狠狠久久亚洲欧美| 亚洲男同性恋视频| 日韩欧美国产综合一区| 成人黄动漫网站免费app| 性做久久久久久免费观看 | 中文字幕日韩一区| 欧美日韩精品欧美日韩精品一| 久久精品国产一区二区| 18欧美乱大交hd1984| 日韩一区二区不卡| 色综合久久久久综合| 日本欧美一区二区在线观看| 欧美激情一区在线| 91麻豆精品国产91| 99综合影院在线| 久久99久久精品| 亚洲不卡一区二区三区| 欧美激情资源网| 91精品国产综合久久婷婷香蕉| 国产成人三级在线观看| 亚洲成av人综合在线观看| 中文字幕免费在线观看视频一区| 欧美日韩一区在线| 波波电影院一区二区三区| 麻豆成人av在线| 亚洲第一综合色| 亚洲色图欧洲色图婷婷| 久久久久久**毛片大全| 91精品视频网| 色老汉一区二区三区| 国产91精品一区二区| 久久91精品国产91久久小草 | 91福利在线观看| 国产成人午夜精品5599| 日韩中文字幕区一区有砖一区 | 精品美女一区二区三区| 91福利社在线观看| 成人国产亚洲欧美成人综合网 | 2024国产精品| 日韩午夜精品视频| 4438亚洲最大| 欧美高清视频不卡网| 欧美丝袜丝nylons| 一本一道波多野结衣一区二区| 国产成人午夜精品影院观看视频 | 日韩欧美国产午夜精品| 日本丰满少妇一区二区三区| 成人综合在线网站| 成人午夜激情片| 成人一区在线观看| 粉嫩av一区二区三区在线播放| 老司机一区二区| 久久99精品国产麻豆婷婷洗澡| 麻豆精品在线视频| 国内精品第一页| 高清视频一区二区| 高清不卡在线观看| 处破女av一区二区| 一本色道久久加勒比精品 | 久久精品免视看| 日韩欧美区一区二| 久久综合色综合88| 国产午夜亚洲精品午夜鲁丝片| 久久综合色播五月| 国产精品三级电影| 亚洲三级免费电影| 一区二区国产视频| 午夜私人影院久久久久| 日本在线播放一区二区三区| 日本欧美加勒比视频| 老汉av免费一区二区三区 | 久久色在线观看| 中文在线免费一区三区高中清不卡| 国产日韩欧美激情| 中文字幕亚洲综合久久菠萝蜜| 亚洲视频你懂的| 午夜伦理一区二区| 国产一区中文字幕| 成人精品视频网站| 欧美视频第二页| 欧美一区二区观看视频| 中文字幕乱码日本亚洲一区二区 | 亚洲一区电影777| 日韩av不卡在线观看| 国产v日产∨综合v精品视频| www.欧美亚洲| 欧美丰满一区二区免费视频| 精品卡一卡二卡三卡四在线| 久久久精品欧美丰满| 亚洲欧美日韩国产另类专区 | 亚洲婷婷综合久久一本伊一区| 亚洲精品美国一| 久久国产精品99久久人人澡| 国产·精品毛片| 在线播放91灌醉迷j高跟美女 | 91麻豆精品国产91久久久久久 | 一二三四区精品视频| 奇米在线7777在线精品| 东方aⅴ免费观看久久av| 一本久久精品一区二区| 精品国产乱码久久久久久免费| 1024精品合集| 国产一区二区在线免费观看| 色噜噜狠狠成人中文综合| 久久色.com| 视频一区视频二区在线观看| 不卡一区二区三区四区| 精品裸体舞一区二区三区| 亚洲午夜在线视频| 成人性色生活片| 日韩女优av电影| 亚洲国产精品一区二区久久 | 亚洲三级小视频| 国产成人高清视频| 欧美一区二区三区爱爱| 亚洲精品成人天堂一二三| 国产精品一品视频| 欧美变态凌虐bdsm| 午夜久久久久久久久| 91九色最新地址| 成人免费小视频| 成人一区二区视频| 国产午夜亚洲精品羞羞网站| 美女免费视频一区二区| 欧美日韩一区二区三区四区| 成人免费视频在线观看| 丁香六月久久综合狠狠色| 久久久久亚洲蜜桃| 久久国产精品第一页| 日韩精品一区二区三区视频在线观看| 一区二区三区免费观看| www.欧美日韩| 亚洲视频综合在线| 不卡av免费在线观看| 国产精品国产三级国产aⅴ无密码 国产精品国产三级国产aⅴ原创 | 欧美一级午夜免费电影| 亚洲小说春色综合另类电影| 色婷婷av一区二区三区gif|