Make sure braces for multi-line statements are on their own lines.

This commit is contained in:
Paul Chote
2019-06-08 15:04:36 +01:00
committed by reaperrr
parent c89f8dbb89
commit ebf2ce32c0
34 changed files with 180 additions and 91 deletions

View File

@@ -130,7 +130,8 @@ namespace OpenRA.Mods.Cnc.FileFormats
return i;
}
uint[] lookupMfromP = new uint[] {
uint[] lookupMfromP =
{
0x243f6a88, 0x85a308d3, 0x13198a2e, 0x03707344,
0xa4093822, 0x299f31d0, 0x082efa98, 0xec4e6c89,
0x452821e6, 0x38d01377, 0xbe5466cf, 0x34e90c6c,
@@ -138,7 +139,8 @@ namespace OpenRA.Mods.Cnc.FileFormats
0x9216d5d9, 0x8979fb1b
};
uint[,] lookupMfromS = new uint[,] {
uint[,] lookupMfromS =
{
{
0xd1310ba6, 0x98dfb5ac, 0x2ffd72db, 0xd01adfb7,
0xb8e1afed, 0x6a267e96, 0xba7c9045, 0xf12c7f99,

View File

@@ -66,7 +66,8 @@ namespace OpenRA.Mods.Cnc.FileFormats
z += count;
l.VoxelCount += count;
s.Seek(2 * count + 1, SeekOrigin.Current);
} while (z < l.Size[2]);
}
while (z < l.Size[2]);
}
// Read the data
@@ -99,7 +100,8 @@ namespace OpenRA.Mods.Cnc.FileFormats
// Skip duplicate count
s.ReadUInt8();
} while (z < l.Size[2]);
}
while (z < l.Size[2]);
}
}