Exemplo n.º 1
0
 private void ReadEntities()
 {
     // Load Entity String
     // It's just one big mutha' string with a length defined in the header.
     // This is the only lump that may not end on an even four-byte block
     BSP.BaseStream.Seek(header.Directory[0].Offset, SeekOrigin.Begin);
     entityLump = new EntityLump(new string(BSP.ReadChars(header.Directory[0].Length)));
 }
Exemplo n.º 2
0
 private void ReadEntities()
 {
     // Load Entity String
     // It's just one big mutha' string with a length defined in the header.
     // This is the only lump that may not end on an even four-byte block
     BSP.BaseStream.Seek(header.Directory [0].Offset, SeekOrigin.Begin);
     entityLump = new EntityLump(new String(BSP.ReadChars(header.Directory [0].Length)));
 }