diff --git a/src/newgrf_config.h b/src/newgrf_config.h --- a/src/newgrf_config.h +++ b/src/newgrf_config.h @@ -121,6 +121,9 @@ struct GRFParameterInfo { byte first_bit; ///< First bit to use in the GRF parameter byte num_bit; ///< Number of bits to use for this parameter SmallMap value_names; ///< Names for each value. + + uint32 GetValue(struct GRFConfig *config) const; + void SetValue(struct GRFConfig *config, uint32 value); }; /** Information about GRF, used in the game and (part of it) in savegames */