Ejemplo n.º 1
0
 public ThpsWadEntry(uint c, int off, int s)
 {
     checksum = c;
     size     = s;
     offset   = off;
     name     = ThpsWad.GetName(checksum);
 }
Ejemplo n.º 2
0
        public ThpsWadEntry(BinaryReader br)
        {
            checksum = br.ReadUInt32();

            if (checksum != 0)
            {
                offset = br.ReadInt32();
                size   = br.ReadInt32();
                name   = ThpsWad.GetName(checksum);
            }
        }