Updated CPos struct to use a bit field for all properties.

This commit is contained in:
teinarss
2018-10-01 17:57:28 +02:00
committed by Paul Chote
parent 9f82ef999f
commit cfaf5a6467
7 changed files with 61 additions and 14 deletions

View File

@@ -58,9 +58,7 @@ namespace OpenRA.Network
public static void Write(this BinaryWriter w, CPos cell)
{
w.Write(cell.X);
w.Write(cell.Y);
w.Write(cell.Layer);
w.Write(cell.Bits);
}
public static void Write(this BinaryWriter w, WPos pos)