summaryrefslogtreecommitdiff
path: root/utils/mapsorter/Class1.cs
blob: 40005d5f349e278f0997f2ee44a557ec15d40a68 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
using System;
using System.Text.RegularExpressions;
using System.Collections;
using System.IO;

namespace MapSorter
{


	/// <summary>
	/// Summary description for Class1.
	/// </summary>
	class Class1
	{
		/// <summary>
		/// The main entry point for the application.
		/// </summary>
		[STAThread]
		static void Main(string[] args)
		{
			if( args.Length != 1 )
			{
				Console.WriteLine("Usage: MapSorter <filename.map>");
				return;
			}

			new MapFileLoader(args[0]).DumpReport();
		}
	}
}