-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support for Worldcraft/VHE3 command sequence files
- Loading branch information
1 parent
52d008d
commit 68d8406
Showing
10 changed files
with
428 additions
and
10 deletions.
There are no files selected for viewing
Binary file added
BIN
+2.64 KB
Sledge.Formats.Configuration.Tests/Resources/Worldcraft/CmdSeq-wc15.wc
Binary file not shown.
Binary file added
BIN
+25.7 KB
Sledge.Formats.Configuration.Tests/Resources/Worldcraft/CmdSeq-wc33.wc
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
namespace Sledge.Formats.Configuration.Worldcraft | ||
{ | ||
public enum CommandType | ||
{ | ||
RunExecutable = 0, | ||
ChangeDirectory = 256, | ||
CopyFile = 257, | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
Sledge.Formats.Configuration/Worldcraft/WorldcraftCommandSequence.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
using System.Collections.Generic; | ||
|
||
namespace Sledge.Formats.Configuration.Worldcraft | ||
{ | ||
/// <summary> | ||
/// A sequence of commands to run when compiling a map | ||
/// </summary> | ||
public class WorldcraftCommandSequence | ||
{ | ||
/// <summary> | ||
/// Command sequence name | ||
/// </summary> | ||
public string Name { get; set; } = ""; | ||
|
||
/// <summary> | ||
/// Command sequence steps | ||
/// </summary> | ||
public List<WorldcraftCommandSequenceStep> Steps { get; set; } = new List<WorldcraftCommandSequenceStep>(); | ||
} | ||
} |
Oops, something went wrong.