src/transparency.h
changeset 7928 63e18de69e50
parent 7849 0a1c0af2c96c
child 7932 6c3d71e8a129
equal deleted inserted replaced
7927:3a3289a049f9 7928:63e18de69e50
    33  *
    33  *
    34  * @param to the structure which transparency option is ask for
    34  * @param to the structure which transparency option is ask for
    35  */
    35  */
    36 static inline bool IsTransparencySet(TransparencyOption to)
    36 static inline bool IsTransparencySet(TransparencyOption to)
    37 {
    37 {
    38 	return (HASBIT(_transparency_opt, to) && _game_mode != GM_MENU);
    38 	return (HasBit(_transparency_opt, to) && _game_mode != GM_MENU);
    39 }
    39 }
    40 
    40 
    41 /**
    41 /**
    42  * Toggle the transparency option bit
    42  * Toggle the transparency option bit
    43  *
    43  *