using System; namespace OpenVIII { /// /// BPP indicator /// 4 BPP is default /// If 8 and 16 are set then it's 24/except in fields /// CLP should always be set for 4 and 8/except in fields, fields always have a clut even if not used. /// [Flags] public enum Bppflag : byte { /// /// 4 BPP /// This is 0 so it will show as unset. /// _4bpp = 0b0, /// /// 8 BPP /// if _8bpp and _16bpp are set then it's 24 bit /// _8bpp = 0b1, /// /// 16 BPP /// if _8bpp and _16bpp are set then it's 24 bit /// _16bpp = 0b10, /// /// 24 BPP / not used in fields /// Both flags must be set for this to be right /// _24bpp = _8bpp | _16bpp, /// /// Color Lookup table Present / not used in fields. Fields have clut even if they aren't used. /// CLP = 0b1000, } }