36 lines
862 B
C#
36 lines
862 B
C#
#region Copyright & License Information
|
|
/*
|
|
* Copyright 2007-2011 The OpenRA Developers (see AUTHORS)
|
|
* This file is part of OpenRA, which is free software. It is made
|
|
* available to you under the terms of the GNU General Public License
|
|
* as published by the Free Software Foundation. For more information,
|
|
* see COPYING.
|
|
*/
|
|
#endregion
|
|
|
|
using System;
|
|
using System.Linq;
|
|
using System.Windows.Forms;
|
|
|
|
namespace OpenRA.TilesetBuilder
|
|
{
|
|
static class Program
|
|
{
|
|
[STAThread]
|
|
static void Main(string[] args)
|
|
{
|
|
Application.EnableVisualStyles();
|
|
Application.SetCompatibleTextRenderingDefault(false);
|
|
//Console.WriteLine("{0} {1}",args[0], args[1]);
|
|
if (args.Length < 1)
|
|
{
|
|
Application.Run(new frmBuilder("", "0"));
|
|
}
|
|
else
|
|
{
|
|
Application.Run(new frmBuilder(args[0], args[1]));
|
|
}
|
|
}
|
|
}
|
|
}
|