Remove file prompting and drop all the remaining utility communication plumbing.

This commit is contained in:
Paul Chote
2011-07-23 00:49:18 +12:00
parent 9ec229bef7
commit bf6be0424f
11 changed files with 15 additions and 122 deletions

View File

@@ -24,19 +24,6 @@ namespace OpenRA.Utility
{
static class Command
{
public static void DisplayFilepicker(string[] args)
{
if (args.Length < 2)
{
Console.WriteLine("Error: Invalid syntax");
return;
}
using (var dialog = new OpenFileDialog() { Title = args[1] })
if (dialog.ShowDialog() == DialogResult.OK)
Console.WriteLine(dialog.FileName);
}
public static void Settings(string[] args)
{
if (args.Length < 2)
@@ -122,7 +109,7 @@ namespace OpenRA.Utility
bitmap.Save(dest);
}
}
public static void ConvertFormat2ToFormat80(string[] args)
{
var src = args[1];