using System;
using System.Windows.Forms;
namespace Gola2
{
static class Program
{
static MainForm main;
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
if (CheckArguments())
{
main = new MainForm();
MainForm.MakeGola(null);
Application.Run();
}
}
static bool CheckArguments()
{
string[] args = Environment.GetCommandLineArgs();
if (args.Length < 2)
return true;
if (args[1].ToLower() == "editor")
{
CreatureEditor.Execute();
return false;
}
return true;
}
}
}