mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-23 20:32:34 +00:00
@ work in progress, may not compile
This commit is contained in:
parent
6cb509d90c
commit
370bdca6fd
2 changed files with 9 additions and 0 deletions
|
@ -575,6 +575,11 @@ namespace CodeImp.DoomBuilder.Map
|
|||
MemoryStream stream = new MemoryStream(512000);
|
||||
SerializerStream serializer = new SerializerStream(stream);
|
||||
|
||||
// Index the sidedefs
|
||||
int sidedefindex = 0;
|
||||
foreach(Sidedef sd in sidedefs)
|
||||
sd.SerializedIndex = sidedefindex++;
|
||||
|
||||
// Write private data
|
||||
serializer.wInt(lastsectorindex);
|
||||
serializer.wInt(indexholes.Count);
|
||||
|
|
|
@ -59,6 +59,9 @@ namespace CodeImp.DoomBuilder.Map
|
|||
private long longtexnamemid;
|
||||
private long longtexnamelow;
|
||||
|
||||
// Clone
|
||||
private int serializedindex;
|
||||
|
||||
#endregion
|
||||
|
||||
#region ================== Properties
|
||||
|
@ -77,6 +80,7 @@ namespace CodeImp.DoomBuilder.Map
|
|||
public long LongHighTexture { get { return longtexnamehigh; } }
|
||||
public long LongMiddleTexture { get { return longtexnamemid; } }
|
||||
public long LongLowTexture { get { return longtexnamelow; } }
|
||||
internal int SerializedIndex { get { return serializedindex; } set { serializedindex = value; } }
|
||||
|
||||
#endregion
|
||||
|
||||
|
|
Loading…
Reference in a new issue