this is now sprite to PNG
This commit is contained in:
@@ -75,7 +75,7 @@ namespace OpenRA.Utility
|
|||||||
|
|
||||||
[Desc("SPRITEFILE PALETTE [--noshadow] [--nopadding]",
|
[Desc("SPRITEFILE PALETTE [--noshadow] [--nopadding]",
|
||||||
"Convert a shp/tmp/R8 to a series of PNGs, optionally removing shadow")]
|
"Convert a shp/tmp/R8 to a series of PNGs, optionally removing shadow")]
|
||||||
public static void ConvertShpToPng(string[] args)
|
public static void ConvertSpriteToPng(string[] args)
|
||||||
{
|
{
|
||||||
var src = args[1];
|
var src = args[1];
|
||||||
var shadowIndex = new int[] { };
|
var shadowIndex = new int[] { };
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ namespace OpenRA.Utility
|
|||||||
{
|
{
|
||||||
{ "--settings-value", Command.Settings },
|
{ "--settings-value", Command.Settings },
|
||||||
{ "--shp", Command.ConvertPngToShp },
|
{ "--shp", Command.ConvertPngToShp },
|
||||||
{ "--png", Command.ConvertShpToPng },
|
{ "--png", Command.ConvertSpriteToPng },
|
||||||
{ "--extract", Command.ExtractFiles },
|
{ "--extract", Command.ExtractFiles },
|
||||||
{ "--remap", Command.RemapShp },
|
{ "--remap", Command.RemapShp },
|
||||||
{ "--transpose", Command.TransposeShp },
|
{ "--transpose", Command.TransposeShp },
|
||||||
|
|||||||
Reference in New Issue
Block a user