private static TextureOffsets Read_TextureOffsets(Stream s, Flags flags)
{
var offsets = new TextureOffsets();
using (var br = new BinaryReader(s, Encoding.ASCII, true))
{
{
s.Position = 0x18;
offsets.Top = br.ReadUInt32();
offsets.TopExt = br.ReadUInt32();
}
{
s.Position = 0x28;
offsets.Bottom = br.ReadUInt32();
}
{
s.Position = 0x40;
offsets.FolderClosed = br.ReadUInt32();
offsets.FolderOpen = br.ReadUInt32();
}
{
s.Position = 0x54;
offsets.FileLarge = br.ReadUInt32();
offsets.FileSmall = br.ReadUInt32();
}
}
return offsets;
}