public ThpsWadEntry(uint c, int off, int s) { checksum = c; size = s; offset = off; name = ThpsWad.GetName(checksum); }
public ThpsWadEntry(BinaryReader br) { checksum = br.ReadUInt32(); if (checksum != 0) { offset = br.ReadInt32(); size = br.ReadInt32(); name = ThpsWad.GetName(checksum); } }