(svn r20258) -Feature: more user-friendly gui to change NewGRF parameters

This commit is contained in:
yexo
2010-07-31 12:15:12 +00:00
parent 9c241135f2
commit 5a2862814a
5 changed files with 288 additions and 37 deletions

View File

@@ -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<uint32, struct GRFText *, 8> 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 */