Beispiel #1
0
        // This creates a checksum from the sidedef properties
        // Used for faster sidedefs compression
        public uint GetChecksum()
        {
            CRC crc = new CRC();

            crc.Add(sector.FixedIndex);
            crc.Add(offsetx);
            crc.Add(offsety);
            crc.Add(longtexnamehigh);
            crc.Add(longtexnamelow);
            crc.Add(longtexnamemid);
            return((uint)(crc.Value & 0x00000000FFFFFFFF));
        }