Start fixing the editor

This commit is contained in:
Paul Chote
2010-12-29 19:03:45 +13:00
parent 58797c0d37
commit 829fe6530a
5 changed files with 47 additions and 38 deletions

View File

@@ -40,7 +40,11 @@ namespace OpenRA.FileFormats
[FieldLoader.Load] public int2 BottomRight;
public Rectangle Bounds;
public MapStub() {} // Hack for the editor - not used for anything important
public MapStub() {} // Hack for the editor - not used for anything important
public MapStub(string path)
: this(FileSystem.OpenPackage(path, int.MaxValue)) {}
public MapStub(IFolder container)
{
Container = container;