src/settings.h
branchNewGRF_ports
changeset 6871 5a9dc001e1ad
parent 6719 4cc327ad39d5
equal deleted inserted replaced
6870:ca3fd1fbe311 6871:5a9dc001e1ad
    35 	SGF_0ISDISABLED  = 1 << 0, ///< a value of zero means the feature is disabled
    35 	SGF_0ISDISABLED  = 1 << 0, ///< a value of zero means the feature is disabled
    36 	SGF_NOCOMMA      = 1 << 1, ///< number without any thousand seperators (no formatting)
    36 	SGF_NOCOMMA      = 1 << 1, ///< number without any thousand seperators (no formatting)
    37 	SGF_MULTISTRING  = 1 << 2, ///< the value represents a limited number of string-options (internally integer)
    37 	SGF_MULTISTRING  = 1 << 2, ///< the value represents a limited number of string-options (internally integer)
    38 	SGF_NETWORK_ONLY = 1 << 3, ///< this setting only applies to network games
    38 	SGF_NETWORK_ONLY = 1 << 3, ///< this setting only applies to network games
    39 	SGF_CURRENCY     = 1 << 4, ///< the number represents money, so when reading value multiply by exchange rate
    39 	SGF_CURRENCY     = 1 << 4, ///< the number represents money, so when reading value multiply by exchange rate
    40 	SGF_END          = 1 << 5,
    40 	SGF_NO_NETWORK   = 1 << 5, ///< this setting does not apply to network games; it may not be changed during the game
       
    41 	SGF_END          = 1 << 6,
    41 	/* 3 more possible flags */
    42 	/* 3 more possible flags */
    42 };
    43 };
    43 
    44 
    44 DECLARE_ENUM_AS_BIT_SET(SettingGuiFlagLong);
    45 DECLARE_ENUM_AS_BIT_SET(SettingGuiFlagLong);
    45 template <> struct EnumPropsT<SettingGuiFlagLong> : MakeEnumPropsT<SettingGuiFlagLong, byte, SGF_NONE, SGF_END, SGF_END> {};
    46 template <> struct EnumPropsT<SettingGuiFlagLong> : MakeEnumPropsT<SettingGuiFlagLong, byte, SGF_NONE, SGF_END, SGF_END> {};