equal
deleted
inserted
replaced
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 * |