Commit fb715ca1 authored by mercury233's avatar mercury233

format

parent 65827d91
......@@ -195,7 +195,7 @@ namespace ImgGen
return (str + "】");
}
public static void InitialDatas(string dbPath= "../cards.cdb", string xyz="超量")
public static void InitialDatas(string dbPath = "../cards.cdb", string xyz = "超量")
{
xyzString = xyz;
conn = new SQLiteConnection("Data Source=" + dbPath);
......@@ -239,11 +239,11 @@ namespace ImgGen
bType[7] = new Bitmap("./textures/type_field.png");
bType[8] = new Bitmap("./textures/type_quickplay.png");
bType[9] = new Bitmap("./textures/type_ritual.png");
for (int i=1; i<=9; i++)
for (int i = 1; i <= 9; i++)
{
if (i == 5) continue;
bLinkMarkers1[i-1] = new Bitmap("./textures/link_marker_off_"+i+".png");
bLinkMarkers2[i-1] = new Bitmap("./textures/link_marker_on_"+i+".png");
bLinkMarkers1[i - 1] = new Bitmap("./textures/link_marker_off_" + i + ".png");
bLinkMarkers2[i - 1] = new Bitmap("./textures/link_marker_on_" + i + ".png");
}
}
......@@ -704,7 +704,7 @@ namespace ImgGen
{
graphics.DrawImage(image, 15, 50, 147, 109);
}
else if(!data.isType(Type.TYPE_XYZ))
else if (!data.isType(Type.TYPE_XYZ))
{
graphics.DrawImage(image, 25, 54, 128, 128);
}
......@@ -791,7 +791,7 @@ namespace ImgGen
{
if ((chArray[i] > ' ') && (chArray[i] < '\x007f'))
{
chArray[i] = (char) (chArray[i] + 0xfee0);
chArray[i] = (char)(chArray[i] + 0xfee0);
}
if (chArray[i] == '\x00b7')
{
......
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