Example #1
0
 public void Unserialize(Core.GenericReader reader)
 {
     for (int i = 0; i < 48; i++)
     {
         _indexesLo[i] = reader.ReadByte();
     }
     for (int i = 0; i < 24; i++)
     {
         _indexesHi[i] = reader.ReadByte();
     }
 }
Example #2
0
        public void Unserialize(Core.GenericReader reader)
        {
            for (int i = 0; i < 16; i++)
            {
                _palette[i] = reader.ReadByte();
            }
            for (int i = 0; i < 4; i++)
            {
                _gfxSets[i] = reader.ReadByte();
            }
            for (int i = 0; i < 4; i++)
            {
                _tilesetReuse[i] = reader.ReadByte();
            }
            for (int i = 0; i < 8; i++)
            {
                _reserved[i] = reader.ReadByte();
            }

            for (int i = 0; i < 80; i++)
            {
                _meta_bitfields[i] = reader.ReadByte();
            }
            for (int i = 0; i < 80; i++)
            {
                _meta_attributes[i] = reader.ReadByte();
            }
            for (int i = 0; i < 80; i++)
            {
                _meta_gfxUL[i] = reader.ReadByte();
            }
            for (int i = 0; i < 80; i++)
            {
                _meta_gfxUR[i] = reader.ReadByte();
            }
            for (int i = 0; i < 80; i++)
            {
                _meta_gfxLL[i] = reader.ReadByte();
            }
            for (int i = 0; i < 80; i++)
            {
                _meta_gfxLR[i] = reader.ReadByte();
            }
        }