diff options
author | rubidium <rubidium@openttd.org> | 2008-11-19 23:55:34 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-11-19 23:55:34 +0000 |
commit | a1853ea27c447c7320bd2669e187365f85c8f7aa (patch) | |
tree | b6bd0fe6e7878375d317df4be1eba41cde3bac48 /src/station_base.h | |
parent | e80a222d3154afdb9acc99afdf6008d6b30480c1 (diff) | |
download | openttd-a1853ea27c447c7320bd2669e187365f85c8f7aa.tar.xz |
(svn r14598) -Feature: Action0Industries property 24 (industry suuplies default name for nearby station).
Diffstat (limited to 'src/station_base.h')
-rw-r--r-- | src/station_base.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/station_base.h b/src/station_base.h index 9e22f231e..2943c10f8 100644 --- a/src/station_base.h +++ b/src/station_base.h @@ -15,6 +15,7 @@ #include "date_type.h" #include "vehicle_type.h" #include "company_type.h" +#include "industry_type.h" #include "core/geometry_type.hpp" #include "viewport_type.h" #include <list> @@ -130,8 +131,11 @@ public: TileIndex airport_tile; TileIndex dock_tile; Town *town; - StringID string_id; ///< Default name (town area) of station + + /* Place to get a name from, in order of importance: */ char *name; ///< Custom name + IndustryType indtype; ///< Industry type to get the name from + StringID string_id; ///< Default name (town area) of station ViewportSign sign; |