summaryrefslogtreecommitdiff
path: root/utils/mapsorter/Class1.cs
diff options
context:
space:
mode:
authorFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
committerFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
commit3bf9df6b2785fa6d951086978a3e66f49427166a (patch)
tree2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /utils/mapsorter/Class1.cs
downloadarchived-source-engine-2018-hl2-src-master.tar.xz
archived-source-engine-2018-hl2-src-master.zip
Diffstat (limited to 'utils/mapsorter/Class1.cs')
-rw-r--r--utils/mapsorter/Class1.cs30
1 files changed, 30 insertions, 0 deletions
diff --git a/utils/mapsorter/Class1.cs b/utils/mapsorter/Class1.cs
new file mode 100644
index 0000000..40005d5
--- /dev/null
+++ b/utils/mapsorter/Class1.cs
@@ -0,0 +1,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();
+ }
+ }
+}