Previous 15994 Revisions Next

r6395 Sunday 15th November, 2009 at 20:43:32 UTC by Harmony
[N64] More warnings begone! [Harmony]
[src/mame/video]n64.c

src/mame/video/n64.c
r6394r6395
600600               }
601601               else
602602               {
603                  newc.r = (((pix >> 11) & 0x1f) << 3);
604                  newc.g = (((pix >> 6) & 0x1f) << 3);
605                  newc.b = (((pix >> 1) & 0x1f) << 3);
603                  newc.r = (((pix >> 11) & 0x1f) << 3) | (((pix >> 11) & 0x1f) >> 2);
604                  newc.g = (((pix >> 6) & 0x1f) << 3) | (((pix >> 6) & 0x1f) >> 2);
605                  newc.b = (((pix >> 1) & 0x1f) << 3) | (((pix >> 1) & 0x1f) >> 2);
606606                  ViBuffer[i][j] = newc;
607607               }
608608               pixels++;
r6394r6395
654654                     prev_cvg = ((frame_buffer[(pixels - 1)^WORD_ADDR_XOR] & 1) << 2) | (hidden_buffer[(pixels - 1)^BYTE_ADDR_XOR] & 3);
655655                     next_cvg = ((frame_buffer[(pixels + 1)^WORD_ADDR_XOR] & 1) << 2) | (hidden_buffer[(pixels + 1)^BYTE_ADDR_XOR] & 3);
656656                  }
657                  r = (((pix >> 11) & 0x1f) << 3);
658                  g = (((pix >> 6) & 0x1f) << 3);
659                  b = (((pix >> 1) & 0x1f) << 3);
657                  r = (((pix >> 11) & 0x1f) << 3) | (((pix >> 11) & 0x1f) >> 2);
658                  g = (((pix >> 6) & 0x1f) << 3) | (((pix >> 6) & 0x1f) >> 2);
659                  b = (((pix >> 1) & 0x1f) << 3) | (((pix >> 1) & 0x1f) >> 2);
660660
661661                  if (!vibuffering && curpixel_cvg < 7 && i > 1 && j > 1 && i < (hres - 2) && j < (vres - 2) && fsaa)
662662                  {
r6394r6395
10581058      curpixel_overlap = 0;
10591059   }
10601060
1061   memory_color.r = ((mem >> 11) & 0x1f) << 3;
1062   memory_color.g = ((mem >>  6) & 0x1f) << 3;
1063   memory_color.b = ((mem >>  1) & 0x1f) << 3;
1061   memory_color.r = (((mem >> 11) & 0x1f) << 3) | (((mem >> 11) & 0x1f) >> 2);
1062   memory_color.g = (((mem >>  6) & 0x1f) << 3) | (((mem >>  6) & 0x1f) >> 2);
1063   memory_color.b = (((mem >>  1) & 0x1f) << 3) | (((mem >>  1) & 0x1f) >> 2);
10641064
10651065   if (other_modes.image_read_en)
10661066   {
r6394r6395
11251125      curpixel_overlap = 0;
11261126   }
11271127
1128   memory_color.r = ((mem >> 11) & 0x1f) << 3;
1129   memory_color.g = ((mem >>  6) & 0x1f) << 3;
1130   memory_color.b = ((mem >>  1) & 0x1f) << 3;
1128   memory_color.r = (((mem >> 11) & 0x1f) << 3) | (((mem >> 11) & 0x1f) >> 2);
1129   memory_color.g = (((mem >>  6) & 0x1f) << 3) | (((mem >> 11) & 0x1f) >> 2);
1130   memory_color.b = (((mem >>  1) & 0x1f) << 3) | (((mem >> 11) & 0x1f) >> 2);
11311131
11321132   if (other_modes.image_read_en)
11331133   {
r6394r6395
13421342               {
13431343                  if (other_modes.tlut_type == 0)
13441344                  {
1345                     color->r = ((c >> 11) & 0x1f) << 3;
1346                     color->g = ((c >>  6) & 0x1f) << 3;
1347                     color->b = ((c >>  1) & 0x1f) << 3;
1345                     color->r = (((c >> 11) & 0x1f) << 3) | (((c >> 11) & 0x1f) >> 2);
1346                     color->g = (((c >>  6) & 0x1f) << 3) | (((c >>  6) & 0x1f) >> 2);
1347                     color->b = (((c >>  1) & 0x1f) << 3) | (((c >>  1) & 0x1f) >> 2);
13481348                     color->a = (c & 1) ? 0xff : 0;
13491349                  }
13501350                  else
r6394r6395
13701370               {
13711371                  if (other_modes.tlut_type == 0)
13721372                  {
1373                     color->r = ((c >> 11) & 0x1f) << 3;
1374                     color->g = ((c >>  6) & 0x1f) << 3;
1375                     color->b = ((c >>  1) & 0x1f) << 3;
1373                     color->r = (((c >> 11) & 0x1f) << 3) | (((c >> 11) & 0x1f) >> 2);
1374                     color->g = (((c >>  6) & 0x1f) << 3) | (((c >>  6) & 0x1f) >> 2);
1375                     color->b = (((c >>  1) & 0x1f) << 3) | (((c >>  1) & 0x1f) >> 2);
13761376                     color->a = (c & 1) ? 0xff : 0;
13771377                  }
13781378                  else
r6394r6395
13951395
13961396               if (!other_modes.en_tlut)
13971397               {
1398                  color->r = ((c >> 11) & 0x1f) << 3;
1399                  color->g = ((c >>  6) & 0x1f) << 3;
1400                  color->b = ((c >>  1) & 0x1f) << 3;
1398                  color->r = (((c >> 11) & 0x1f) << 3) | (((c >> 11) & 0x1f) >> 2);
1399                  color->g = (((c >>  6) & 0x1f) << 3) | (((c >>  6) & 0x1f) >> 2);
1400                  color->b = (((c >>  1) & 0x1f) << 3) | (((c >>  1) & 0x1f) >> 2);
14011401                  color->a = (c & 1) ? 0xff : 0;
14021402               }
14031403               else
r6394r6395
14051405                  c = tlut[(c >> 8) << 2];
14061406                  if (other_modes.tlut_type == 0) //Golden Eye 007, sea, "frigate" level
14071407                  {
1408                     color->r = ((c >> 11) & 0x1f) << 3;
1409                     color->g = ((c >>  6) & 0x1f) << 3;
1410                     color->b = ((c >>  1) & 0x1f) << 3;
1408                     color->r = (((c >> 11) & 0x1f) << 3) | (((c >> 11) & 0x1f) >> 2);
1409                     color->g = (((c >>  6) & 0x1f) << 3) | (((c >>  6) & 0x1f) >> 2);
1410                     color->b = (((c >>  1) & 0x1f) << 3) | (((c >>  1) & 0x1f) >> 2);
14111411                     color->a = (c & 1) ? 0xff : 0;
14121412                  }
14131413                  else // Beetle Adventure Racing, Mount Mayhem
r6394r6395
14371437                  c = tlut[(c >> 24) << 2];
14381438                  if (!other_modes.tlut_type)
14391439                  {
1440                     color->r = ((c >> 11) & 0x1f) << 3;
1441                     color->g = ((c >>  6) & 0x1f) << 3;
1442                     color->b = ((c >>  1) & 0x1f) << 3;
1440                     color->r = (((c >> 11) & 0x1f) << 3) | (((c >> 11) & 0x1f) >> 2);
1441                     color->g = (((c >>  6) & 0x1f) << 3) | (((c >>  6) & 0x1f) >> 2);
1442                     color->b = (((c >>  1) & 0x1f) << 3) | (((c >>  1) & 0x1f) >> 2);
14431443                     color->a = (c & 1) ? 0xff : 0;
14441444                  }
14451445                  else
r6394r6395
15191519               {
15201520                  if (other_modes.tlut_type == 0)
15211521                  {
1522                     color->r = ((c >> 11) & 0x1f) << 3;
1523                     color->g = ((c >>  6) & 0x1f) << 3;
1524                     color->b = ((c >>  1) & 0x1f) << 3;
1522                     color->r = (((c >> 11) & 0x1f) << 3) | (((c >> 11) & 0x1f) >> 2);
1523                     color->g = (((c >>  6) & 0x1f) << 3) | (((c >>  6) & 0x1f) >> 2);
1524                     color->b = (((c >>  1) & 0x1f) << 3) | (((c >>  1) & 0x1f) >> 2);
15251525                     color->a = (c & 1) ? 0xff : 0;
15261526                  }
15271527                  else
r6394r6395
15471547               {
15481548                  if (other_modes.tlut_type == 0)
15491549                  {
1550                     color->r = ((c >> 11) & 0x1f) << 3;
1551                     color->g = ((c >>  6) & 0x1f) << 3;
1552                     color->b = ((c >>  1) & 0x1f) << 3;
1550                     color->r = (((c >> 11) & 0x1f) << 3) | (((c >> 11) & 0x1f) >> 2);
1551                     color->g = (((c >>  6) & 0x1f) << 3) | (((c >>  6) & 0x1f) >> 2);
1552                     color->b = (((c >>  1) & 0x1f) << 3) | (((c >>  1) & 0x1f) >> 2);
15531553                     color->a = (c & 1) ? 0xff : 0;
15541554                  }
15551555                  else
r6394r6395
15731573
15741574               if (!other_modes.en_tlut)
15751575               {
1576                  color->r = ((c >> 11) & 0x1f) << 3;
1577                  color->g = ((c >>  6) & 0x1f) << 3;
1578                  color->b = ((c >>  1) & 0x1f) << 3;
1576                  color->r = (((c >> 11) & 0x1f) << 3) | (((c >> 11) & 0x1f) >> 2);
1577                  color->g = (((c >>  6) & 0x1f) << 3) | (((c >>  6) & 0x1f) >> 2);
1578                  color->b = (((c >>  1) & 0x1f) << 3) | (((c >>  1) & 0x1f) >> 2);
15791579                  color->a = (c & 1) ? 0xff : 0;
15801580               }
15811581               else
15821582               {
15831583                  c = tlut[(c >> 8) << 2];
1584                  if (other_modes.tlut_type == 0) //Golden Eye 007, sea, "frigate" level
1584                  if (!other_modes.tlut_type) // GoldenEye 007, sea, "frigate" level
15851585                  {
1586                     color->r = ((c >> 11) & 0x1f) << 3;
1587                     color->g = ((c >>  6) & 0x1f) << 3;
1588                     color->b = ((c >>  1) & 0x1f) << 3;
1586                     color->r = (((c >> 11) & 0x1f) << 3) | (((c >> 11) & 0x1f) >> 2);
1587                     color->g = (((c >>  6) & 0x1f) << 3) | (((c >>  6) & 0x1f) >> 2);
1588                     color->b = (((c >>  1) & 0x1f) << 3) | (((c >>  1) & 0x1f) >> 2);
15891589                     color->a = (c & 1) ? 0xff : 0;
15901590                  }
15911591                  else // Beetle Adventure Racing, Mount Mayhem
r6394r6395
16261626                  UINT16 c = tlut[((tpal << 4) | p) << 2];
16271627                  if (!other_modes.tlut_type)
16281628                  {
1629                          color->r = ((c >> 11) & 0x1f) << 3;
1630                          color->g = ((c >>  6) & 0x1f) << 3;
1631                          color->b = ((c >>  1) & 0x1f) << 3;
1629                          color->r = (((c >> 11) & 0x1f) << 3) | (((c >> 11) & 0x1f) << 3);
1630                          color->g = (((c >>  6) & 0x1f) << 3) | (((c >>  6) & 0x1f) << 3);
1631                          color->b = (((c >>  1) & 0x1f) << 3) | (((c >>  1) & 0x1f) << 3);
16321632                          color->a = (c & 1) ? 0xff : 0;
16331633                  }
16341634                  else
r6394r6395
16591659                  UINT16 c = tlut[p << 2];
16601660                  if (!other_modes.tlut_type)
16611661                  {
1662                          color->r = ((c >> 11) & 0x1f) << 3;
1663                          color->g = ((c >>  6) & 0x1f) << 3;
1664                          color->b = ((c >>  1) & 0x1f) << 3;
1662                     color->r = (((c >> 11) & 0x1f) << 3) | (((c >> 11) & 0x1f) >> 2);
1663                     color->g = (((c >>  6) & 0x1f) << 3) | (((c >>  6) & 0x1f) >> 2);
1664                     color->b = (((c >>  1) & 0x1f) << 3) | (((c >>  1) & 0x1f) >> 2);
16651665                          color->a = (c & 1) ? 0xff : 0;
16661666                  }
16671667                  else
r6394r6395
16911691                  c = tlut[(c >> 8) << 2];
16921692                  if (!other_modes.tlut_type)
16931693                  {
1694                          color->r = ((c >> 11) & 0x1f) << 3;
1695                          color->g = ((c >>  6) & 0x1f) << 3;
1696                          color->b = ((c >>  1) & 0x1f) << 3;
1694                     color->r = (((c >> 11) & 0x1f) << 3) | (((c >> 11) & 0x1f) >> 2);
1695                     color->g = (((c >>  6) & 0x1f) << 3) | (((c >>  6) & 0x1f) >> 2);
1696                     color->b = (((c >>  1) & 0x1f) << 3) | (((c >>  1) & 0x1f) >> 2);
16971697                          color->a = (c & 1) ? 0xff : 0;
16981698                  }
16991699                  else
r6394r6395
17361736                  UINT16 k = tlut[((tpal << 4) | c) << 2];
17371737                  if (!other_modes.tlut_type)
17381738                  {
1739                     color->r = ((k >> 11) & 0x1f) << 3;
1740                     color->g = ((k >>  6) & 0x1f) << 3;
1741                     color->b = ((k >>  1) & 0x1f) << 3;
1739                     color->r = (((k >> 11) & 0x1f) << 3) | (((k >> 11) & 0x1f) >> 2);
1740                     color->g = (((k >>  6) & 0x1f) << 3) | (((k >>  6) & 0x1f) >> 2);
1741                     color->b = (((k >>  1) & 0x1f) << 3) | (((k >>  1) & 0x1f) >> 2);
17421742                     color->a = (k & 1) ? 0xff : 0;
17431743                  }
17441744                  else
r6394r6395
17671767                  UINT16 k = tlut[ c << 2];
17681768                  if (!other_modes.tlut_type)
17691769                  {
1770                     color->r = ((k >> 11) & 0x1f) << 3;
1771                     color->g = ((k >>  6) & 0x1f) << 3;
1772                     color->b = ((k >>  1) & 0x1f) << 3;
1770                     color->r = (((c >> 11) & 0x1f) << 3) | (((c >> 11) & 0x1f) >> 2);
1771                     color->g = (((c >>  6) & 0x1f) << 3) | (((c >>  6) & 0x1f) >> 2);
1772                     color->b = (((c >>  1) & 0x1f) << 3) | (((c >>  1) & 0x1f) >> 2);
17731773                     color->a = (k & 1) ? 0xff : 0;
17741774                  }
17751775                  else
r6394r6395
18141814      INT32 maxs2, maxt2;
18151815      int upper = 0;
18161816
1817      t0.r = t0.g = t0.b = t0.a = 0;
1818      t1.r = t1.g = t1.b = t1.a = 0;
1819      t2.r = t2.g = t2.b = t2.a = 0;
1820      t3.r = t3.g = t3.b = t3.a = 0;
1821
18171822      sss1 = SSS;
18181823      sst1 = SST;
18191824
r6394r6395
18561861      }
18571862      if (other_modes.mid_texel || !upper)
18581863      {
1859         rt0 = t0.r; gt0 = t0.g; bt0=t0.b; at0 = t0.a;
1864         rt0 = t0.r; gt0 = t0.g; bt0 = t0.b; at0 = t0.a;
18601865      }
18611866      rt1 = t1.r; rt2 = t2.r; gt1 = t1.g; gt2 = t2.g; bt1 = t1.b; bt2 = t2.b; at1 = t1.a; at2 = t2.a;
18621867      if (other_modes.mid_texel || upper)
r6394r6395
21362141   UINT32 centercvg = (*hbuff & 3) + ((pix & 1) << 2) + 1;
21372142   UINT32 numoffull = 1;
21382143   UINT32 cvg;
2139   UINT32 r = ((pix >> 11) & 0x1f) << 3;
2140   UINT32 g = ((pix >> 6) & 0x1f) << 3;
2141   UINT32 b = ((pix >> 1) & 0x1f) << 3;
2144   UINT32 r = (((pix >> 11) & 0x1f) << 3) | (((pix >> 11) & 0x1f) >> 2);
2145   UINT32 g = (((pix >> 6) & 0x1f) << 3) | (((pix >> 6) & 0x1f) >> 2);
2146   UINT32 b = (((pix >> 1) & 0x1f) << 3) | (((pix >> 1) & 0x1f) >> 2);
21422147   UINT32 backr[7], backg[7], backb[7];
21432148   UINT32 invr[7], invg[7], invb[7];
21442149   INT32 coeff;
r6394r6395
21722177      {
21732178         if (cvg == 3 && (pix & 1))
21742179         {
2175            backr[numoffull] = (((pix >> 11) & 0x1f) << 3);
2176            backg[numoffull] = (((pix >> 6) & 0x1f) << 3);
2177            backb[numoffull] = (((pix >> 1) & 0x1f) << 3);
2180            backr[numoffull] = (((pix >> 11) & 0x1f) << 3) | (((pix >> 11) & 0x1f) >> 2);
2181            backg[numoffull] = (((pix >> 6) & 0x1f) << 3) | (((pix >> 6) & 0x1f) >> 2);
2182            backb[numoffull] = (((pix >> 1) & 0x1f) << 3) | (((pix >> 1) & 0x1f) >> 2);
21782183            invr[numoffull] = 255 - backr[numoffull];
21792184            invg[numoffull] = 255 - backg[numoffull];
21802185            invb[numoffull] = 255 - backb[numoffull];
r6394r6395
21982203      {
21992204         if (cvg == 3 && (pix & 1))
22002205         {
2201            backr[numoffull] = (((pix >> 11) & 0x1f) << 3);
2202            backg[numoffull] = (((pix >> 6) & 0x1f) << 3);
2203            backb[numoffull] = (((pix >> 1) & 0x1f) << 3);
2206            backr[numoffull] = (((pix >> 11) & 0x1f) << 3) | (((pix >> 11) & 0x1f) >> 2);
2207            backg[numoffull] = (((pix >> 6) & 0x1f) << 3) | (((pix >> 6) & 0x1f) >> 2);
2208            backb[numoffull] = (((pix >> 1) & 0x1f) << 3) | (((pix >> 1) & 0x1f) >> 2);
22042209            invr[numoffull] = 255 - backr[numoffull];
22052210            invg[numoffull] = 255 - backg[numoffull];
22062211            invb[numoffull] = 255 - backb[numoffull];
r6394r6395
22242229      {
22252230         if (cvg == 3 && (pix & 1))
22262231         {
2227            backr[numoffull] = (((pix >> 11) & 0x1f) << 3);
2228            backg[numoffull] = (((pix >> 6) & 0x1f) << 3);
2229            backb[numoffull] = (((pix >> 1) & 0x1f) << 3);
2232            backr[numoffull] = (((pix >> 11) & 0x1f) << 3) | (((pix >> 11) & 0x1f) >> 2);
2233            backg[numoffull] = (((pix >> 6) & 0x1f) << 3) | (((pix >> 6) & 0x1f) >> 2);
2234            backb[numoffull] = (((pix >> 1) & 0x1f) << 3) | (((pix >> 1) & 0x1f) >> 2);
22302235            invr[numoffull] = 255 - backr[numoffull];
22312236            invg[numoffull] = 255 - backg[numoffull];
22322237            invb[numoffull] = 255 - backb[numoffull];
r6394r6395
23562361   //leftpix = *(fbuff - 1); //for BE targets
23572362   //rightpix = *(fbuff + 1);
23582363
2359   leftr = (((leftpix >> 11) & 0x1f) << 3);
2360   leftg = (((leftpix >> 6) & 0x1f) << 3);
2361   leftb = (((leftpix >> 1) & 0x1f) << 3);
2362   rightr = (((rightpix >> 11) & 0x1f) << 3);
2363   rightg = (((rightpix >> 6) & 0x1f) << 3);
2364   rightb = (((rightpix >> 1) & 0x1f) << 3);
2364   leftr = (((leftpix >> 11) & 0x1f) << 3) | (((leftpix >> 11) & 0x1f) >> 2);
2365   leftg = (((leftpix >> 6) & 0x1f) << 3) | (((leftpix >> 6) & 0x1f) >> 2);
2366   leftb = (((leftpix >> 1) & 0x1f) << 3) | (((leftpix >> 1) & 0x1f) >> 2);
2367   rightr = (((rightpix >> 11) & 0x1f) << 3) | (((rightpix >> 11) & 0x1f) >> 2);
2368   rightg = (((rightpix >> 6) & 0x1f) << 3) | (((rightpix >> 6) & 0x1f) >> 2);
2369   rightb = (((rightpix >> 1) & 0x1f) << 3) |(((rightpix >> 1) & 0x1f) >> 2);
23652370   if ((leftr >= *r && rightr >= leftr) || (leftr >= rightr && *r >= leftr))
23662371   {
23672372      *r = leftr; //left = median value
r6394r6395
24552460   for (i = 0; i < 3; i++)
24562461   {
24572462      pix = fbuff[leftuppix ^ 1];
2458      tempr = (((pix >> 11) & 0x1f) << 3);
2459      tempg = (((pix >> 6) & 0x1f) << 3);
2460      tempb = (((pix >> 1) & 0x1f) << 3);
2463      tempr = (((pix >> 11) & 0x1f) << 3) | (((pix >> 11) & 0x1f) >> 2);
2464      tempg = (((pix >> 6) & 0x1f) << 3) | (((pix >> 6) & 0x1f) >> 2);
2465      tempb = (((pix >> 1) & 0x1f) << 3) | (((pix >> 1) & 0x1f) >> 2);
24612466      tempr &= ~7;
24622467      tempg &= ~7;
24632468      tempb &= ~7;
r6394r6395
24912496   for (i = 0; i < 3; i++)
24922497   {
24932498      pix = fbuff[leftdownpix ^ 1];
2494      tempr = (((pix >> 11) & 0x1f) << 3);
2495      tempg = (((pix >> 6) & 0x1f) << 3);
2496      tempb = (((pix >> 1) & 0x1f) << 3);
2499      tempr = (((pix >> 11) & 0x1f) << 3) | (((pix >> 11) & 0x1f) >> 2);
2500      tempg = (((pix >> 6) & 0x1f) << 3) | (((pix >> 6) & 0x1f) >> 2);
2501      tempb = (((pix >> 1) & 0x1f) << 3) | (((pix >> 1) & 0x1f) >> 2);
24972502      tempr &= ~7;
24982503      tempg &= ~7;
24992504      tempb &= ~7;
r6394r6395
25282533      if (!(i & 1))
25292534      {
25302535         pix = fbuff[toleftpix ^ 1];
2531         tempr = (((pix >> 11) & 0x1f) << 3);
2532         tempg = (((pix >> 6) & 0x1f) << 3);
2533         tempb = (((pix >> 1) & 0x1f) << 3);
2536         tempr = (((pix >> 11) & 0x1f) << 3) | (((pix >> 11) & 0x1f) >> 2);
2537         tempg = (((pix >> 6) & 0x1f) << 3) | (((pix >> 6) & 0x1f) >> 2);
2538         tempb = (((pix >> 1) & 0x1f) << 3) | (((pix >> 1) & 0x1f) >> 2);
25342539         tempr &= ~7;
25352540         tempg &= ~7;
25362541         tempb &= ~7;
r6394r6395
28152820
28162821void col_decode16(UINT16* addr, COLOR* col)
28172822{
2818   col->r = ((*addr >> 11) & 0x1f) << 3;
2819   col->g = ((*addr >> 6) & 0x1f) << 3;
2820   col->b = ((*addr >> 1) & 0x1f) << 3;
2823   col->r = (((*addr >> 11) & 0x1f) << 3) | (((*addr >> 11) & 0x1f) >> 2);
2824   col->g = (((*addr >> 6) & 0x1f) << 3) | (((*addr >> 6) & 0x1f) >> 2);
2825   col->b = (((*addr >> 1) & 0x1f) << 3) | (((*addr >> 6) & 0x1f) >> 2);
28212826   col->a = (*addr & 1) ? 0xff : 0;
28222827}
28232828
r6394r6395
40054010
40064011               if(z_compare_result)
40074012               {
4008                  int rendered=0;//ìî¸
4013                  int rendered = 0;
40094014                  int dith = 0;
40104015                  if (!other_modes.rgb_dither_sel)
40114016                  {
r6394r6395
40704075   int dsdylod, dtdylod;
40714076   UINT32 w3, w4, w5, w6, w7, w8;
40724077
4073   int k=0;
4078   int k = 0;
40744079
4075   INT32 limcvg;
4076   INT32 startcvg;
4080   INT32 limcvg = 0;
4081   INT32 startcvg = 0;
40774082
4078   int sign_dxldy;
4079   int sign_dxmdy;
4080   int samesign;
4083   int sign_dxldy = 0;
4084   int sign_dxmdy = 0;
4085   int samesign = 0;
40814086
4082   int dsdiff, dtdiff, dwdiff, drdiff, dgdiff, dbdiff, dadiff, dzdiff;
4083   int sign_dxhdy;
4087   int dsdiff = 0, dtdiff = 0, dwdiff = 0, drdiff = 0, dgdiff = 0, dbdiff = 0, dadiff = 0, dzdiff = 0;
4088   int sign_dxhdy = 0;
40844089
4085   int dsdeh, dtdeh, dwdeh, drdeh, dgdeh, dbdeh, dadeh, dzdeh, dsdyh, dtdyh, dwdyh, drdyh, dgdyh, dbdyh, dadyh, dzdyh;
4086   int do_offset;
4090   int dsdeh = 0, dtdeh = 0, dwdeh = 0, drdeh = 0, dgdeh = 0, dbdeh = 0, dadeh = 0, dzdeh = 0, dsdyh = 0, dtdyh = 0, dwdyh = 0, drdyh = 0, dgdyh = 0, dbdyh = 0, dadyh = 0, dzdyh = 0;
4091   int do_offset = 0;
40874092
4088   int xfrac;
4089   int dseoff, dteoff, dweoff, dreoff, dgeoff, dbeoff, daeoff, dzeoff;
4093   int xfrac = 0;
4094   int dseoff = 0, dteoff = 0, dweoff = 0, dreoff = 0, dgeoff = 0, dbeoff = 0, daeoff = 0, dzeoff = 0;
40904095
4091   int dsdxh, dtdxh, dwdxh, drdxh, dgdxh, dbdxh, dadxh, dzdxh;
4096   int dsdxh = 0, dtdxh = 0, dwdxh = 0, drdxh = 0, dgdxh = 0, dbdxh = 0, dadxh = 0, dzdxh = 0;
40924097
40934098   int m_inc;
40944099   UINT32 min=0, max=3;

Previous 15994 Revisions Next


© 1998-2018 The MESS Team