//! Bitflags for drawing operations enum THDrawFlags { /** Sprite drawing flags **/ /* Where possible, designed to be the same values used by TH data files */ //! Draw with the left becoming the right and vice versa THDF_FlipHorizontal = 1 << 0, //! Draw with the top becoming the bottom and vice versa THDF_FlipVertical = 1 << 1, //! Draw with 50% transparency THDF_Alpha50 = 1 << 2, //! Draw with 75% transparency THDF_Alpha75 = 1 << 3, //! Draw using a remapped palette THDF_AltPalette = 1 << 4, /** Object attached to tile flags **/ /* (should be set prior to attaching to a tile) */ //! Attach to the early sprite list (right-to-left pass) THDF_EarlyList = 1 << 10, //! Keep this sprite at the bottom of the attached list THDF_ListBottom = 1 << 11, //! Hit-test using bounding-box precision rather than pixel-perfect THDF_BoundBoxHitTest= 1 << 12, //! Apply a cropping operation prior to drawing THDF_Crop = 1 << 13, };