* Check if the transparency option bit is set * and if we aren't in the game menu (there's never transparency) * * @param to the structure which transparency option is ask for */
| 48 | * @param to the structure which transparency option is ask for |
| 49 | */ |
| 50 | inline bool IsTransparencySet(TransparencyOption to) |
| 51 | { |
| 52 | return (HasBit(_transparency_opt, to) && _game_mode != GM_MENU); |
| 53 | } |
| 54 | |
| 55 | /** |
| 56 | * Check if the invisibility option bit is set |
no test coverage detected