mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-22 20:55:52 +12:00
Update
This commit is contained in:
parent
ed99d8328e
commit
d0b206f388
8 changed files with 746 additions and 245 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue