add tmp->png conversion to utility

This commit is contained in:
Chris Forbes
2011-10-10 18:26:25 +13:00
parent a34b2d8c53
commit 2c415a8fd6
3 changed files with 31 additions and 1 deletions

View File

@@ -25,6 +25,7 @@ namespace OpenRA.Utility
{ "--png", Command.ConvertShpToPng },
{ "--fromd2", Command.ConvertFormat2ToFormat80 },
{ "--extract", Command.ExtractFiles },
{ "--tmp-png", Command.ConvertTmpToPng },
};
if (args.Length == 0) { PrintUsage(); return; }
@@ -55,6 +56,7 @@ namespace OpenRA.Utility
Console.WriteLine(" --shp PNGFILE FRAMEWIDTH Convert a PNG containing one or more frames to a SHP");
Console.WriteLine(" --png SHPFILE PALETTE [--transparent] Convert a SHP to a PNG containing all of its frames, optionally setting up transparency");
Console.WriteLine(" --extract MOD[,MOD]* FILES Extract files from mod packages");
Console.WriteLine(" --tmp-png MOD[,MOD]* THEATER FILES Extract terrain tiles to PNG");
}
static string GetNamedArg(string[] args, string arg)