Commit 27666e4f authored by mercury233's avatar mercury233

update

parent 5cdad3a3
...@@ -340,26 +340,26 @@ namespace ImgGen ...@@ -340,26 +340,26 @@ namespace ImgGen
if (data.attack >= 0) if (data.attack >= 0)
{ {
graphics.DrawString(data.attack.ToString(), numFont, Brushes.Black, 208, 446); graphics.DrawString(data.attack.ToString(), numFont, Brushes.Black, 210, 447);
} }
else else
{ {
graphics.DrawString("?", numFont, textBrush, 208, 446); graphics.DrawString("?", numFont, textBrush, 210, 447);
} }
if (data.isType(Type.TYPE_LINK)) if (data.isType(Type.TYPE_LINK))
{ {
graphics.DrawString(data.level.ToString(), linkFont, Brushes.Black, 295, 446); graphics.DrawString(data.level.ToString(), linkFont, Brushes.Black, 296, 446);
} }
else else
{ {
if (data.defence >= 0) if (data.defence >= 0)
{ {
graphics.DrawString(data.defence.ToString(), numFont, Brushes.Black, 275, 446); graphics.DrawString(data.defence.ToString(), numFont, Brushes.Black, 277, 447);
} }
else else
{ {
graphics.DrawString("?", numFont, textBrush, 275, 446); graphics.DrawString("?", numFont, textBrush, 277, 447);
} }
} }
...@@ -371,7 +371,7 @@ namespace ImgGen ...@@ -371,7 +371,7 @@ namespace ImgGen
sx1 *= 280f / tWidth; sx1 *= 280f / tWidth;
} }
graphics.ScaleTransform(sx1, 1f); graphics.ScaleTransform(sx1, 1f);
graphics.DrawString(type_string, typeFont, typeBrush, 20, 369); graphics.DrawString(type_string, typeFont, typeBrush, 19, 369);
graphics.ResetTransform(); graphics.ResetTransform();
string monster_effect = text.text; string monster_effect = text.text;
...@@ -386,7 +386,7 @@ namespace ImgGen ...@@ -386,7 +386,7 @@ namespace ImgGen
nWidth += 3; nWidth += 3;
ef = graphics.MeasureString(monster_effect, txtFont, nWidth); ef = graphics.MeasureString(monster_effect, txtFont, nWidth);
} }
graphics.TranslateTransform(24f, 385f); graphics.TranslateTransform(23f, 385f);
graphics.ScaleTransform(288f / nWidth, 288f / nWidth); graphics.ScaleTransform(288f / nWidth, 288f / nWidth);
graphics.DrawString(monster_effect, txtFont, textBrush, new RectangleF(0f, 0f, ef.Width, ef.Height)); graphics.DrawString(monster_effect, txtFont, textBrush, new RectangleF(0f, 0f, ef.Width, ef.Height));
graphics.ResetTransform(); graphics.ResetTransform();
...@@ -397,19 +397,19 @@ namespace ImgGen ...@@ -397,19 +397,19 @@ namespace ImgGen
int rscale = (data.level >> 0x10) & 0xff; int rscale = (data.level >> 0x10) & 0xff;
if (lscale > 9) if (lscale > 9)
{ {
graphics.DrawString(lscale.ToString(), scaleFontSmall, Brushes.Black, 20f, 336f); graphics.DrawString(lscale.ToString(), scaleFontSmall, Brushes.Black, 19f, 336f);
} }
else else
{ {
graphics.DrawString(lscale.ToString(), scaleFontNormal, Brushes.Black, 25f, 333f); graphics.DrawString(lscale.ToString(), scaleFontNormal, Brushes.Black, 24f, 333f);
} }
if (rscale > 9) if (rscale > 9)
{ {
graphics.DrawString(rscale.ToString(), scaleFontSmall, Brushes.Black, 286f, 336f); graphics.DrawString(rscale.ToString(), scaleFontSmall, Brushes.Black, 287f, 336f);
} }
else else
{ {
graphics.DrawString(rscale.ToString(), scaleFontNormal, Brushes.Black, 290f, 333f); graphics.DrawString(rscale.ToString(), scaleFontNormal, Brushes.Black, 291f, 333f);
} }
int nWidthP; int nWidthP;
SizeF pf; SizeF pf;
...@@ -484,13 +484,13 @@ namespace ImgGen ...@@ -484,13 +484,13 @@ namespace ImgGen
{ {
float ar = image.Width / image.Height; float ar = image.Width / image.Height;
if ((ar >= 1.3) && (ar <= 1.4)) if ((ar >= 1.3) && (ar <= 1.4))
graphics.DrawImage(image, 23, 88, 290, 217); graphics.DrawImage(image, 22, 88, 292, 217);
else else
graphics.DrawImage(image, new Rectangle(23, 88, 290, 217), new Rectangle(0, 0, image.Width, image.Width * 217 / 290), GraphicsUnit.Pixel); graphics.DrawImage(image, new Rectangle(22, 88, 292, 217), new Rectangle(0, 0, image.Width, image.Width * 217 / 292), GraphicsUnit.Pixel);
} }
else else
{ {
graphics.DrawImage(image, 40, 89, 256, 256); graphics.DrawImage(image, 40, 90, 256, 256);
} }
} }
catch (Exception e) catch (Exception e)
...@@ -501,37 +501,37 @@ namespace ImgGen ...@@ -501,37 +501,37 @@ namespace ImgGen
{ {
LinkMarker lm = (LinkMarker)data.defence; LinkMarker lm = (LinkMarker)data.defence;
if ((lm & LinkMarker.LINK_MARKER_BOTTOM_LEFT) == 0) if ((lm & LinkMarker.LINK_MARKER_BOTTOM_LEFT) == 0)
graphics.DrawImage(bLinkMarkers1[0], 26, 327, 34, 34); graphics.DrawImage(bLinkMarkers1[0], 26, 326, 34, 34);
else else
graphics.DrawImage(bLinkMarkers2[0], 26, 327, 34, 34); graphics.DrawImage(bLinkMarkers2[0], 26, 326, 34, 34);
if ((lm & LinkMarker.LINK_MARKER_BOTTOM) == 0) if ((lm & LinkMarker.LINK_MARKER_BOTTOM) == 0)
graphics.DrawImage(bLinkMarkers1[1], 139, 343, 62, 23); graphics.DrawImage(bLinkMarkers1[1], 139, 343, 62, 23);
else else
graphics.DrawImage(bLinkMarkers2[1], 139, 343, 62, 23); graphics.DrawImage(bLinkMarkers2[1], 139, 343, 62, 23);
if ((lm & LinkMarker.LINK_MARKER_BOTTOM_RIGHT) == 0) if ((lm & LinkMarker.LINK_MARKER_BOTTOM_RIGHT) == 0)
graphics.DrawImage(bLinkMarkers1[2], 277, 327, 35, 34); graphics.DrawImage(bLinkMarkers1[2], 277, 326, 35, 34);
else else
graphics.DrawImage(bLinkMarkers2[2], 277, 327, 35, 34); graphics.DrawImage(bLinkMarkers2[2], 277, 326, 35, 34);
if ((lm & LinkMarker.LINK_MARKER_LEFT) == 0) if ((lm & LinkMarker.LINK_MARKER_LEFT) == 0)
graphics.DrawImage(bLinkMarkers1[3], 20, 189, 23, 62); graphics.DrawImage(bLinkMarkers1[3], 20, 187, 23, 62);
else else
graphics.DrawImage(bLinkMarkers2[3], 20, 189, 23, 62); graphics.DrawImage(bLinkMarkers2[3], 20, 187, 23, 62);
if ((lm & LinkMarker.LINK_MARKER_RIGHT) == 0) if ((lm & LinkMarker.LINK_MARKER_RIGHT) == 0)
graphics.DrawImage(bLinkMarkers1[5], 294, 189, 23, 62); graphics.DrawImage(bLinkMarkers1[5], 294, 187, 23, 62);
else else
graphics.DrawImage(bLinkMarkers2[5], 294, 189, 23, 62); graphics.DrawImage(bLinkMarkers2[5], 294, 187, 23, 62);
if ((lm & LinkMarker.LINK_MARKER_TOP_LEFT) == 0) if ((lm & LinkMarker.LINK_MARKER_TOP_LEFT) == 0)
graphics.DrawImage(bLinkMarkers1[6], 26, 77, 35, 34); graphics.DrawImage(bLinkMarkers1[6], 26, 75, 35, 34);
else else
graphics.DrawImage(bLinkMarkers2[6], 26, 77, 35, 34); graphics.DrawImage(bLinkMarkers2[6], 26, 75, 35, 34);
if ((lm & LinkMarker.LINK_MARKER_TOP) == 0) if ((lm & LinkMarker.LINK_MARKER_TOP) == 0)
graphics.DrawImage(bLinkMarkers1[7], 138, 69, 63, 23); graphics.DrawImage(bLinkMarkers1[7], 138, 69, 63, 23);
else else
graphics.DrawImage(bLinkMarkers2[7], 138, 69, 63, 23); graphics.DrawImage(bLinkMarkers2[7], 138, 69, 63, 23);
if ((lm & LinkMarker.LINK_MARKER_TOP_RIGHT) == 0) if ((lm & LinkMarker.LINK_MARKER_TOP_RIGHT) == 0)
graphics.DrawImage(bLinkMarkers1[8], 278, 77, 34, 34); graphics.DrawImage(bLinkMarkers1[8], 278, 75, 34, 34);
else else
graphics.DrawImage(bLinkMarkers2[8], 278, 77, 34, 34); graphics.DrawImage(bLinkMarkers2[8], 278, 75, 34, 34);
} }
string nametext = text.name.Replace('\x00b7', '・'); string nametext = text.name.Replace('\x00b7', '・');
graphics.TextRenderingHint = System.Drawing.Text.TextRenderingHint.AntiAliasGridFit; graphics.TextRenderingHint = System.Drawing.Text.TextRenderingHint.AntiAliasGridFit;
......
textures/card_effect.png

122 KB | W: | H:

textures/card_effect.png

136 KB | W: | H:

textures/card_effect.png
textures/card_effect.png
textures/card_effect.png
textures/card_effect.png
  • 2-up
  • Swipe
  • Onion skin
textures/card_fusion.png

121 KB | W: | H:

textures/card_fusion.png

131 KB | W: | H:

textures/card_fusion.png
textures/card_fusion.png
textures/card_fusion.png
textures/card_fusion.png
  • 2-up
  • Swipe
  • Onion skin
textures/card_link.png

153 KB | W: | H:

textures/card_link.png

150 KB | W: | H:

textures/card_link.png
textures/card_link.png
textures/card_link.png
textures/card_link.png
  • 2-up
  • Swipe
  • Onion skin
textures/card_normal.png

123 KB | W: | H:

textures/card_normal.png

129 KB | W: | H:

textures/card_normal.png
textures/card_normal.png
textures/card_normal.png
textures/card_normal.png
  • 2-up
  • Swipe
  • Onion skin
textures/card_peffect.png

123 KB | W: | H:

textures/card_peffect.png

131 KB | W: | H:

textures/card_peffect.png
textures/card_peffect.png
textures/card_peffect.png
textures/card_peffect.png
  • 2-up
  • Swipe
  • Onion skin
textures/card_pfusion.png

124 KB | W: | H:

textures/card_pfusion.png

128 KB | W: | H:

textures/card_pfusion.png
textures/card_pfusion.png
textures/card_pfusion.png
textures/card_pfusion.png
  • 2-up
  • Swipe
  • Onion skin
textures/card_pnormal.png

124 KB | W: | H:

textures/card_pnormal.png

128 KB | W: | H:

textures/card_pnormal.png
textures/card_pnormal.png
textures/card_pnormal.png
textures/card_pnormal.png
  • 2-up
  • Swipe
  • Onion skin
textures/card_psynchro.png

113 KB | W: | H:

textures/card_psynchro.png

122 KB | W: | H:

textures/card_psynchro.png
textures/card_psynchro.png
textures/card_psynchro.png
textures/card_psynchro.png
  • 2-up
  • Swipe
  • Onion skin
textures/card_pxyz.png

129 KB | W: | H:

textures/card_pxyz.png

130 KB | W: | H:

textures/card_pxyz.png
textures/card_pxyz.png
textures/card_pxyz.png
textures/card_pxyz.png
  • 2-up
  • Swipe
  • Onion skin
textures/card_ritual.png

119 KB | W: | H:

textures/card_ritual.png

130 KB | W: | H:

textures/card_ritual.png
textures/card_ritual.png
textures/card_ritual.png
textures/card_ritual.png
  • 2-up
  • Swipe
  • Onion skin
textures/card_spell.png

122 KB | W: | H:

textures/card_spell.png

137 KB | W: | H:

textures/card_spell.png
textures/card_spell.png
textures/card_spell.png
textures/card_spell.png
  • 2-up
  • Swipe
  • Onion skin
textures/card_synchro.png

104 KB | W: | H:

textures/card_synchro.png

114 KB | W: | H:

textures/card_synchro.png
textures/card_synchro.png
textures/card_synchro.png
textures/card_synchro.png
  • 2-up
  • Swipe
  • Onion skin
textures/card_token.png

122 KB | W: | H:

textures/card_token.png

127 KB | W: | H:

textures/card_token.png
textures/card_token.png
textures/card_token.png
textures/card_token.png
  • 2-up
  • Swipe
  • Onion skin
textures/card_trap.png

126 KB | W: | H:

textures/card_trap.png

133 KB | W: | H:

textures/card_trap.png
textures/card_trap.png
textures/card_trap.png
textures/card_trap.png
  • 2-up
  • Swipe
  • Onion skin
textures/card_xyz.png

129 KB | W: | H:

textures/card_xyz.png

138 KB | W: | H:

textures/card_xyz.png
textures/card_xyz.png
textures/card_xyz.png
textures/card_xyz.png
  • 2-up
  • Swipe
  • Onion skin
textures/link_marker_off_2.png

1.94 KB | W: | H:

textures/link_marker_off_2.png

1.82 KB | W: | H:

textures/link_marker_off_2.png
textures/link_marker_off_2.png
textures/link_marker_off_2.png
textures/link_marker_off_2.png
  • 2-up
  • Swipe
  • Onion skin
textures/link_marker_on_2.png

2.39 KB | W: | H:

textures/link_marker_on_2.png

2.23 KB | W: | H:

textures/link_marker_on_2.png
textures/link_marker_on_2.png
textures/link_marker_on_2.png
textures/link_marker_on_2.png
  • 2-up
  • Swipe
  • Onion skin
textures/star.png

1.25 KB | W: | H:

textures/star.png

1.26 KB | W: | H:

textures/star.png
textures/star.png
textures/star.png
textures/star.png
  • 2-up
  • Swipe
  • Onion skin
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment