private void LoadMCLQ() { mFile.Position = mInfo.ofsMcnk + mHeader.ofsLiquid; var sig = ReadSignature(); if (sig != "MCLQ") { return; } int n = mFile.Read <int>(); float min = mFile.ReadFloat(); float max = mFile.ReadFloat(); //or the other way around? max/min? y u no more accurate wowdev? mclqVertex[] vertices = new mclqVertex[9 * 9]; vertices[0].Unk1 = vertices[0].Unk2 = 0; //le stfu vs! remove me vertices[0].Height = 0f; //le stfu vs! remove me mFile.Read(vertices); byte[] flags = new byte[8 * 8]; mFile.Read(flags); byte[] junk = mFile.Read(0x54); //is this really just junk? }
private void LoadMCLQ() { mFile.Position = mInfo.ofsMcnk + mHeader.ofsLiquid; var sig = ReadSignature(); if (sig != "MCLQ") return; int n = mFile.Read<int>(); float min = mFile.ReadFloat(); float max = mFile.ReadFloat(); //or the other way around? max/min? y u no more accurate wowdev? mclqVertex[] vertices = new mclqVertex[9 * 9]; vertices[0].Unk1 = vertices[0].Unk2 = 0; //le stfu vs! remove me vertices[0].Height = 0f; //le stfu vs! remove me mFile.Read(vertices); byte[] flags = new byte[8 * 8]; mFile.Read(flags); byte[] junk = mFile.Read(0x54); //is this really just junk? }