diff options
author | yexo <yexo@openttd.org> | 2010-07-31 12:15:12 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2010-07-31 12:15:12 +0000 |
commit | 5a2862814ac310e5e4629e0242def8ebf3a6da1c (patch) | |
tree | 9b2d2740d3d0c808253fa9e2f084a4023b2e6bcc /src/newgrf_config.h | |
parent | 9c241135f2d035c9e02b72c433517eb77d58c502 (diff) | |
download | openttd-5a2862814ac310e5e4629e0242def8ebf3a6da1c.tar.xz |
(svn r20258) -Feature: more user-friendly gui to change NewGRF parameters
Diffstat (limited to 'src/newgrf_config.h')
-rw-r--r-- | src/newgrf_config.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/newgrf_config.h b/src/newgrf_config.h index ea1b4d7ff..fe5e8c9c4 100644 --- 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<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 */ |