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 | 84ed95549281c8011a0a8c721b84d7601d6822f5 (patch) | |
tree | b6bd0fe6e7878375d317df4be1eba41cde3bac48 /src/station_base.h | |
parent | 2baf1aa14a0e0937d7e42afa021b7ce521d7efcf (diff) | |
download | openttd-84ed95549281c8011a0a8c721b84d7601d6822f5.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; |