Add a Utility class and update command interface.
This commit is contained in:
@@ -24,13 +24,11 @@ namespace OpenRA.Mods.Cnc.UtilityCommands
|
||||
// NOTE: 64x64 map size is a C&C95 engine limitation
|
||||
public ImportTiberianDawnLegacyMapCommand() : base(64) { }
|
||||
|
||||
public string Name { get { return "--import-td-map"; } }
|
||||
string IUtilityCommand.Name { get { return "--import-td-map"; } }
|
||||
bool IUtilityCommand.ValidateArguments(string[] args) { return ValidateArguments(args); }
|
||||
|
||||
[Desc("FILENAME", "Convert a legacy Tiberian Dawn INI/MPR map to the OpenRA format.")]
|
||||
public override void Run(ModData modData, string[] args)
|
||||
{
|
||||
base.Run(modData, args);
|
||||
}
|
||||
void IUtilityCommand.Run(Utility utility, string[] args) { Run(utility, args); }
|
||||
|
||||
public override void ValidateMapFormat(int format)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user