src/transparency.h
changeset 9025 2f0d4cf64ebc
parent 9024 85bc26dd4935
child 9154 b20714ff4084
equal deleted inserted replaced
9024:85bc26dd4935 9025:2f0d4cf64ebc
     9 
     9 
    10 /**
    10 /**
    11  * Transparency option bits: which position in _transparency_opt stands for which transparency.
    11  * Transparency option bits: which position in _transparency_opt stands for which transparency.
    12  * If you change the order, change the order of the ShowTransparencyToolbar() stuff in transparency_gui.cpp too.
    12  * If you change the order, change the order of the ShowTransparencyToolbar() stuff in transparency_gui.cpp too.
    13  * If you add or remove an option don't forget to change the transparency 'hot keys' in main_gui.cpp.
    13  * If you add or remove an option don't forget to change the transparency 'hot keys' in main_gui.cpp.
    14  * If you add an option and have more then 8, change the typedef TransparencyOptionBits and
       
    15  * the save stuff (e.g. SLE_UINT8 to SLE_UINT16) in settings.cpp .
       
    16  */
    14  */
    17 enum TransparencyOption {
    15 enum TransparencyOption {
    18 	TO_SIGNS = 0,  ///< signs
    16 	TO_SIGNS = 0,  ///< signs
    19 	TO_TREES,      ///< trees
    17 	TO_TREES,      ///< trees
    20 	TO_HOUSES,     ///< town buildings
    18 	TO_HOUSES,     ///< town buildings