This commit is contained in:
SilicaAndPina 2020-10-01 00:30:35 +13:00
parent ed99d8328e
commit d0b206f388
8 changed files with 746 additions and 245 deletions

View file

@ -10,27 +10,6 @@ namespace Horse_Isle_Server
{
static void Main(string[] args)
{
/*
Bitmap mbmp = new Bitmap("MapData.bmp");
Bitmap bmp = new Bitmap("oMapData.bmp");
Console.WriteLine(bmp.PixelFormat);
Bitmap bbmp = new Bitmap(bmp.Width, bmp.Height, PixelFormat.Format24bppRgb);
for(int x = 0; x < bmp.Width; x++)
{
for(int y = 0; y < bmp.Height; y++)
{
Color col = mbmp.GetPixel(x, y);
Color col2 = bmp.GetPixel(x, y);
bbmp.SetPixel(x,y,Color.FromArgb(col2.B, 0, col.B));
}
}
bbmp.Save("MapData2.bmp", ImageFormat.Bmp);
Console.WriteLine("image checked");
*/
Directory.SetCurrentDirectory(Path.GetDirectoryName(Assembly.GetEntryAssembly().Location));
ConfigReader.OpenConfig();