FSO.Files.Formats.IFF.Chunks.SPR2FrameEncoder.getCmd C# (CSharp) Method

getCmd() private static method

private static getCmd ( byte col, byte a, byte z ) : byte
col byte
a byte
z byte
return byte
        private static byte getCmd(byte col, byte a, byte z)
        {
            if (a == 0) return 0x03; //transparent fill
            else if (a < 255) return 0x02; // col,a,z
            else if (z > 0) return 0x01; // col,z
            else return 0x06; // col
        }
SPR2FrameEncoder