Пример #1
0
        private bool ParseZPALSection(BinaryReader inputReader, int sectionSize)
        {
            int count = (sectionSize / sizeof(Int32));

            Colours = new Color[count];
            for (int i = 0; i < Colours.Length; ++i)
            {
                Int32 value = inputReader.ReadInt32();
                Colours[i] = ColorExtension.FromABGR(value);
            }

            return(Colours.Length > 0);
        }