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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? xoptions.c

?? 一個占星術(shù)算命游戲
?? C
?? 第 1 頁 / 共 3 頁
字號:
        l = FALSE;
    }
  }

  DrawColor(on);
  DrawEllipse(0, 0, chartx-1, charty-1);

  /* Now, only if we are in bonus chart mode, draw each planet at its */
  /* zenith location on the globe, assuming that location is visible. */

  if (modex != MODEG || !xbonus)
    return;
  j = Lon;
  if (j < 0.0)
    j += DEGREES;
  for (i = 1; i <= total; i++) {
    planet1[i] = DTOR(planet[i]);
    planet2[i] = DTOR(planetalt[i]);
    EclToEqu(&planet1[i], &planet2[i]);    /* Calculate zenith long. & lat. */
  }
  for (i = 1; i <= total; i++) if (Proper(i)) {
    x1 = planet1[_MC]-planet1[i];
    if (x1 < 0.0)
      x1 += 2.0*PI;
    if (x1 > PI)
      x1 -= 2.0*PI;
    x1 = Mod(DEGHALF-j-RTOD(x1));
    y1 = DEGQUAD-RTOD(planet2[i]);
    X[i] = GlobeCalc(x1, y1, &u, &v, cx, cy, rx, ry, deg) ? -1000 : u;
    Y[i] = v; M[i] = X[i]; N[i] = Y[i]+unit/2;
  }

  /* Now that we have the coordinates of each object, figure out where to    */
  /* draw the glyphs. Again, we try not to draw glyphs on top of each other. */

  for (i = 1; i <= total; i++) if (Proper(i)) {
    k = l = chartx+charty;

    /* For each planet, we draw the glyph either right over or right under */
    /* the actual zenith location point. So, find out the closest distance */
    /* of any other planet assuming we place ours at both possibilities.   */

    for (J = 1; J < i; J++) if (Proper(J)) {
      k = MIN(k, abs(M[i]-M[J])+abs(N[i]-N[J]));
      l = MIN(l, abs(M[i]-M[J])+abs(N[i]-unit-N[J]));
    }

    /* Normally, we put the glyph right below the actual point. If however   */
    /* another planet is close enough to have their glyphs overlap, and the  */
    /* above location is better of, then we'll draw the glyph above instead. */

    if (k < unit || l < unit)
      if (k < l)
        N[i] -= unit;
  }
  for (i = total; i >= 1; i--) if (X[i] >= 0 && Proper(i))      /* Draw the */
    DrawObject(i, M[i], N[i]);                                  /* glyphs.  */
  for (i = total; i >= 1; i--) if (X[i] >= 0 && Proper(i)) {
    DrawColor(objectcolor[i]);
    DrawSpot(X[i], Y[i]);
  }
}


/* Draw one "Ley line" on the world map, based coordinates given in terms of */
/* longitude and vertical fractional distance from the center of the earth.  */

void DrawLeyLine(l1, f1, l2, f2)
real l1, f1, l2, f2;
{
  l1 = Mod(l1); l2 = Mod(l2);

  /* Convert vertical fractional distance to a corresponding coordinate. */

  f1 = DEGQUAD-ASIN(f1)/(PI/2.0)*DEGQUAD;
  f2 = DEGQUAD-ASIN(f2)/(PI/2.0)*DEGQUAD;
  DrawWrap((int) (l1*(real)SCALE+ROUND)+1,
           (int) (f1*(real)SCALE+ROUND)+1,
           (int) (l2*(real)SCALE+ROUND)+1,
           (int) (f2*(real)SCALE+ROUND)+1, 1, chartx-2);
}


/* Draw the main set of planetary Ley lines on the map of the world. This */
/* consists of drawing an icosahedron and then a dodecahedron lattice.    */

void DrawLeyLines(deg)
int deg;
{
  real off = (real)deg, phi, h, h1, h2, r, i;

  phi = (sqrt(5.0)+1.0)/2.0;                     /* Icosahedron constants. */
  h = 1.0/(phi*2.0-1.0);
  DrawColor(aspectcolor[10]);
  for (i = off; i < DEGREES+off; i += 72.0) {    /* Draw icosahedron edges. */
    DrawLeyLine(i, h, i+72.0, h);
    DrawLeyLine(i-36.0, -h, i+36.0, -h);
    DrawLeyLine(i, h, i, 1.0);
    DrawLeyLine(i+36.0, -h, i+36.0, -1.0);
    DrawLeyLine(i, h, i+36.0, -h);
    DrawLeyLine(i, h, i-36.0, -h);
  }
  r = 1.0/sqrt(3.0)/phi/cos(DTOR(54.0));         /* Dodecahedron constants. */
  h2 = sqrt(1.0-r*r); h1 = h2/(phi*2.0+1.0);
  DrawColor(aspectcolor[13]);
  for (i = off; i < DEGREES+off; i += 72.0) {    /* Draw docecahedron edges. */
    DrawLeyLine(i-36.0, h2, i+36.0, h2);
    DrawLeyLine(i, -h2, i+72.0, -h2);
    DrawLeyLine(i+36.0, h2, i+36.0, h1);
    DrawLeyLine(i, -h2, i, -h1);
    DrawLeyLine(i+36.0, h1, i+72.0, -h1);
    DrawLeyLine(i+36.0, h1, i, -h1);
  }
}


/* Draw a map of the world on the screen. This is similar to drawing the  */
/* globe, but is simplified because this is just a rectangular image, and */
/* the window coordinates are proportional to the longitude and latitude. */

void DrawWorld(deg)
int deg;
{
  char *nam, *loc, *lin, d;
  int lon, lat, x, y, xold, yold, i;
  colpal c;

  /* Loop through each coastline string, drawing it on the world map. */

  while (ReadWorldData(&nam, &loc, &lin)) {
    i = nam[0]-'0';
    c = modex == MODEL ? on : (i ? rainbowcolor[i] : maincolor[6]);

    /* Get starting longitude and latitude of current coastline piece. */

    lon = (loc[0] == '+' ? 1 : -1)*
      ((loc[1]-'0')*100 + (loc[2]-'0')*10 + (loc[3]-'0'));
    lat = (loc[4] == '+' ? 1 : -1)*((loc[5]-'0')*10 + (loc[6]-'0'));
    xold = x = (int) Mod((real)(181-lon+deg));
    yold = y = 91-lat;

    /* Go down the coastline piece, drawing each segment on world map. */

    for (i = 0; d = lin[i]; i++) {
      if (d == 'L' || d == 'H' || d == 'G')
        x--;
      else if (d == 'R' || d == 'E' || d == 'F')
        x++;
      if (d == 'U' || d == 'H' || d == 'E')
        y--;
      else if (d == 'D' || d == 'G' || d == 'F')
        y++;
      if (x > DEGR) {
        x = 1;
        xold = 0;
      }

      /* If we are doing a Mollewide map projection, then transform the */
      /* coordinates appropriately before drawing the segment.          */

      DrawColor(c);
      if ((exdisplay & DASHXW0) > 0 && modex != MODEL)
        DrawLine((180+(xold-180)*
          (int)sqrt((real)(32400-4*(yold-91)*(yold-91)))/180)*SCALE,
          yold*SCALE,
          (180+(x-180)*(int)sqrt((real)(32400-4*(y-91)*(y-91)))/180)*SCALE,
          y*SCALE);
      else
        DrawLine(xold*SCALE, yold*SCALE, x*SCALE, y*SCALE);
      if (x < 1)
        x = DEGR;
      xold = x; yold = y;
    }
  }

  /* Again, if we are doing the non-rectangular Mollewide map projection, */
  /* draw the outline of the globe/map itself.                            */

  if ((exdisplay & DASHXW0) > 0 && modex != MODEL) {
    if (!xbonus) {
      DrawColor(on);
      for (xold = 0, y = -89; y <= 90; y++, xold = x)
        for (x = (int)(sqrt((real)(32400-4*y*y))+ROUND), i = -1; i < 2; i += 2)
          DrawLine((180+i*xold)*SCALE, (90+y)*SCALE,
            (180+i*x)*SCALE, (91+y)*SCALE);
    }
  }
}


/* Given a zodiac degree, adjust it if need be to account for the expanding */
/* and compacting of parts the zodiac that happen when we display a graphic */
/* wheel chart such that all the houses appear the same size.               */

real XHousePlaceIn(deg)
real deg;
{
  int in;

  if (modex == MODEv)    /* We only adjust for the -w -X combination. */
    return deg;
  in = HousePlaceIn(deg);
  return Mod(STOZ(in)+MinDistance(house[in], deg)/
    MinDistance(house[in], house[Mod12(in+1)])*30.0);
}


/*
******************************************************************************
** Multiple Chart Graphics Subprograms.
******************************************************************************
*/

/* Draw another wheel chart; however, this time we have two rings of planets */
/* because we are doing a relationship chart between two sets of data. This  */
/* chart is obtained when the -r0 is combined with the -X switch.            */

void XChartWheelRelation()
{
  real xsign[SIGNS+1], xhouse1[SIGNS+1], xplanet1[TOTAL+1], xplanet2[TOTAL+1],
    symbol[TOTAL+1];
  int cx, cy, i, j;
  real asc, unitx, unity, px, py, temp;

  /* Set up variables and temporarily automatically decrease the horizontal */
  /* chart size to leave room for the sidebar if that mode is in effect.    */

  if (xtext && !(exdisplay & DASHv0))
    chartx -= SIDET;
  cx = chartx/2 - 1; cy = charty/2 - 1;
  unitx = (real)cx; unity = (real)cy;
  asc = xeast ? planet1[abs(xeast)]+90*(xeast < 0) : house1[1];
  InitCircle();

  /* Fill out arrays with the degree of each object, cusp, and sign glyph. */

  if (modex == MODEv) {
    for (i = 1; i <= SIGNS; i++)
      xhouse1[i] = PZ(house1[i]);
  } else {
    asc -= house1[1];
    for (i = 1; i <= SIGNS; i++)
      xhouse1[i] = PZ(STOZ(i));
  }
  for (i = 1; i <= SIGNS; i++)
    xsign[i] = PZ(XHousePlaceIn(STOZ(i)));
  for (i = 1; i <= total; i++)
    xplanet1[i] = PZ(XHousePlaceIn(planet1[i]));
  for (i = 1; i <= total; i++)
    xplanet2[i] = PZ(XHousePlaceIn(planet2[i]));

  /* Draw the horizon and meridian lines across whole chart, and draw the */
  /* zodiac and house rings, exactly like before. We are drawing only the */
  /* houses of one of the two charts in the relationship, however.        */

  DrawColor(hilite);
  DrawDash(cx+POINT(unitx, 0.99, PX(xhouse1[1])),
           cy+POINT(unity, 0.99, PY(xhouse1[1])),
           cx+POINT(unitx, 0.99, PX(xhouse1[7])),
           cy+POINT(unity, 0.99, PY(xhouse1[7])), !xcolor);
  DrawDash(cx+POINT(unitx, 0.99, PX(xhouse1[10])),
           cy+POINT(unity, 0.99, PY(xhouse1[10])),
           cx+POINT(unitx, 0.99, PX(xhouse1[4])),
           cy+POINT(unity, 0.99, PY(xhouse1[4])), !xcolor);
  for (i = 0; i < DEGR; i += 5-(xcolor || psfile || metafile)*4) {
    temp = PZ(XHousePlaceIn((real)i));
    px = PX(temp); py = PY(temp);
    DrawColor(i%5 ? gray : on);
    DrawDash(cx+POINT(unitx, 0.78, px), cy+POINT(unity, 0.78, py),
      cx+POINT(unitx, 0.82, px), cy+POINT(unity, 0.82, py),
      ((psfile || metafile) && i%5)*2);
  }

  DrawColor(on);
  DrawCircle(cx, cy, (int)(unitx*0.95+ROUND), (int)(unity*0.95+ROUND));
  DrawCircle(cx, cy, (int)(unitx*0.82+ROUND), (int)(unity*0.82+ROUND));
  DrawCircle(cx, cy, (int)(unitx*0.78+ROUND), (int)(unity*0.78+ROUND));
  DrawCircle(cx, cy, (int)(unitx*0.70+ROUND), (int)(unity*0.70+ROUND));

  for (i = 1; i <= SIGNS; i++) {
    temp = xsign[i];
    DrawColor(on);
    DrawLine(cx+POINT(unitx, 0.95, PX(temp)),
      cy+POINT(unity, 0.95, PY(temp)),
      cx+POINT(unitx, 0.82, PX(temp)),
      cy+POINT(unity, 0.82, PY(temp)));
    DrawLine(cx+POINT(unitx, 0.78, PX(xhouse1[i])),
      cy+POINT(unity, 0.78, PY(xhouse1[i])),
      cx+POINT(unitx, 0.70, PX(xhouse1[i])),
      cy+POINT(unity, 0.70, PY(xhouse1[i])));
    if (xcolor && i%3 != 1) {
      DrawColor(gray);
      DrawDash(cx, cy, cx+POINT(unitx, 0.70, PX(xhouse1[i])),
        cy+POINT(unity, 0.70, PY(xhouse1[i])), 1);
    }
    temp = Midpoint(temp, xsign[Mod12(i+1)]);
    DrawColor(signcolor(i));
    DrawSign(i, cx+POINT(unitx, 0.885, PX(temp)),
      cy+POINT(unity, 0.885, PY(temp)));
    temp = Midpoint(xhouse1[i], xhouse1[Mod12(i+1)]);
    DrawHouse(i, cx+POINT(unitx, 0.74, PX(temp)),
      cy+POINT(unity, 0.74, PY(temp)));
  }

  /* Draw the outer ring of planets (based on the planets in the chart     */
  /* which the houses do not reflect - the houses belong to the inner ring */
  /* below). Draw each glyph, a line from it to its actual position point  */
  /* in the outer ring, and then draw another line from this point to a    */
  /* another dot at the same position in the inner ring as well.           */

  for (i = 1; i <= total; i++)
    symbol[i] = xplanet2[i];
  FillSymbolRing(symbol);
  for (i = 1; i <= total; i++) if (Proper(i)) {
    if (xlabel) {
      temp = symbol[i];
      DrawColor(ret2[i] < 0.0 ? gray : on);
      DrawDash(cx+POINT(unitx, 0.58, PX(xplanet2[i])),
        cy+POINT(unity, 0.58, PY(xplanet2[i])),
        cx+POINT(unitx, 0.61, PX(temp)),
        cy+POINT(unity, 0.61, PY(temp)),
        (ret2[i] < 0.0 ? 1 : 0) - xcolor);

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧洲一区二区av| 日韩一区二区电影| 国产精品久久久久一区| 国产精品夜夜爽| 精品av久久707| 狠狠色狠狠色综合系列| 精品国内二区三区| 激情综合网激情| 精品免费一区二区三区| 久久草av在线| 欧美精品一区二区三区四区| 久久国产人妖系列| 精品免费一区二区三区| 国产尤物一区二区在线| 久久嫩草精品久久久精品| 国产一二三精品| 久久久国产综合精品女国产盗摄| 最新国产精品久久精品| 99久久国产免费看| 亚洲三级电影全部在线观看高清| 成人va在线观看| 国产精品久久久久三级| 色综合一区二区三区| 亚洲欧美另类久久久精品2019| 91日韩精品一区| 亚洲永久免费视频| 欧美日韩aaaaaa| 蜜臂av日日欢夜夜爽一区| 欧美成人a视频| 国产精品一区二区免费不卡| 国产精品全国免费观看高清| 99re在线视频这里只有精品| 一区二区在线观看免费| 在线成人免费视频| 久久精品国产亚洲5555| 26uuu国产在线精品一区二区| 国产乱人伦精品一区二区在线观看| 国产亚洲成aⅴ人片在线观看| 顶级嫩模精品视频在线看| 18成人在线观看| 欧美绝品在线观看成人午夜影视| 麻豆91免费观看| 国产精品蜜臀av| 在线看国产一区二区| 日韩高清在线一区| 久久精品人人做| 91麻豆蜜桃一区二区三区| 亚洲v日本v欧美v久久精品| 精品日本一线二线三线不卡| 成人高清视频在线| 亚洲一级片在线观看| 日韩欧美的一区二区| 成人综合婷婷国产精品久久| 亚洲免费色视频| 日韩午夜在线观看| 成人综合在线网站| 亚洲电影在线播放| 久久新电视剧免费观看| 91片黄在线观看| 蜜芽一区二区三区| 国产午夜亚洲精品羞羞网站| 欧美视频在线观看一区| 精品亚洲国内自在自线福利| 国产精品丝袜在线| 欧美久久久久免费| 国产成人av网站| 午夜精品久久久久久久蜜桃app| 久久婷婷一区二区三区| 欧美最新大片在线看 | 亚洲精品中文字幕乱码三区| 91精品国产综合久久福利软件 | 欧美成人aa大片| 色欧美乱欧美15图片| 韩国理伦片一区二区三区在线播放| 成人欧美一区二区三区黑人麻豆 | 亚洲国产精品久久久男人的天堂 | 日韩精品一区二区三区视频在线观看| 99这里只有精品| 久久精品72免费观看| 一区二区久久久| 久久久不卡影院| 欧美精品在线一区二区三区| 成人性色生活片| 琪琪一区二区三区| 一区二区三区中文字幕在线观看| 26uuu久久天堂性欧美| 欧美日韩综合一区| 97久久精品人人澡人人爽| 激情国产一区二区| 五月婷婷综合在线| 亚洲日本护士毛茸茸| 久久综合久久综合九色| 欧美日韩国产大片| 91麻豆国产福利精品| 国产成人日日夜夜| 蜜桃免费网站一区二区三区| 一区二区三区欧美久久| 国产精品你懂的在线| 精品国产欧美一区二区| 欧美一级生活片| 欧美日韩精品系列| 91久久人澡人人添人人爽欧美| 国产成人一区在线| 欧美一区二区三区视频免费播放| 视频一区二区三区入口| 欧美成人vps| 国产精品日韩成人| 成人18视频在线播放| 韩国女主播一区二区三区| 自拍av一区二区三区| 久久久久久久久久看片| 精品国产一区二区三区忘忧草| 欧美日韩免费一区二区三区| 色综合久久天天| 99久久99精品久久久久久 | 日韩电影免费在线观看网站| 亚洲综合清纯丝袜自拍| 尤物av一区二区| 亚洲精品菠萝久久久久久久| 国产精品福利电影一区二区三区四区| 国产日韩欧美精品在线| 久久亚洲精华国产精华液| 精品国产伦一区二区三区免费| 欧美一区二视频| 777久久久精品| 日韩一级大片在线| 欧美第一区第二区| 精品免费视频.| 久久久亚洲精华液精华液精华液 | 久久久久久亚洲综合影院红桃| 精品久久久久久久人人人人传媒| 日韩一区二区三区精品视频| 日韩区在线观看| 欧美成人vps| 久久精品日韩一区二区三区| 欧美国产禁国产网站cc| 中文字幕av免费专区久久| 国产精品欧美久久久久一区二区| 国产精品久线观看视频| 亚洲欧洲国产日韩| 亚洲人成精品久久久久| 亚洲一区二区在线观看视频| 亚洲高清免费在线| 日韩二区三区四区| 免费精品视频在线| 国产麻豆日韩欧美久久| 高清shemale亚洲人妖| 99精品在线免费| 欧洲一区二区三区在线| 制服丝袜激情欧洲亚洲| 日韩免费在线观看| 国产农村妇女精品| 亚洲欧洲日韩综合一区二区| 一区二区三区不卡在线观看| 亚洲va天堂va国产va久| 捆绑调教美女网站视频一区| 国产精品一级黄| 91网页版在线| 欧美日韩精品一区二区三区四区| 日韩片之四级片| 国产女主播视频一区二区| 亚洲女子a中天字幕| 视频在线在亚洲| 激情丁香综合五月| av一区二区三区黑人| 欧美午夜精品久久久| 欧美电影免费观看高清完整版在线观看| 久久先锋资源网| 亚洲男人的天堂在线观看| 婷婷丁香激情综合| 国产精品一二三四| 日本道色综合久久| 日韩欧美精品三级| 亚洲天堂福利av| 日韩av电影免费观看高清完整版在线观看| 狠狠色狠狠色合久久伊人| 91视频在线观看免费| 91精品综合久久久久久| 久久久.com| 亚洲一区在线观看免费| 美女精品一区二区| 北岛玲一区二区三区四区 | 一本久久a久久精品亚洲| 91麻豆精品国产自产在线| 国产欧美综合在线| 亚洲成人资源在线| 成人永久aaa| 91精品国产欧美日韩| 欧美国产一区二区在线观看 | 日韩影院精彩在线| 国产盗摄精品一区二区三区在线| 在线中文字幕不卡| 久久理论电影网| 亚洲国产精品久久久久婷婷884| 国产精品中文字幕日韩精品 | 精品少妇一区二区三区视频免付费| 中文字幕成人av| 麻豆中文一区二区| 91九色02白丝porn| 中文字幕成人av|