diff options
-rw-r--r-- | industry_gui.c | 9 | ||||
-rw-r--r-- | table/build_industry.h | 7 |
2 files changed, 6 insertions, 10 deletions
diff --git a/industry_gui.c b/industry_gui.c index 69aa02f01..b2db3252a 100644 --- a/industry_gui.c +++ b/industry_gui.c @@ -17,9 +17,12 @@ #include "town.h" #include "variables.h" -/* Present in table/build_industry.h" */ -extern const byte _build_industry_types[4][12]; -extern const byte _industry_type_costs[37]; +const byte _build_industry_types[4][12] = { + { 1, 2, 4, 6, 8, 0, 3, 5, 9, 11, 18 }, + { 1, 14, 4, 13, 7, 0, 3, 9, 11, 15 }, + { 25, 13, 4, 23, 22, 11, 17, 10, 24, 19, 20, 21 }, + { 27, 30, 31, 33, 26, 28, 29, 32, 34, 35, 36 }, +}; static void UpdateIndustryProduction(Industry *i); diff --git a/table/build_industry.h b/table/build_industry.h index 57fd7d569..445604057 100644 --- a/table/build_industry.h +++ b/table/build_industry.h @@ -1391,13 +1391,6 @@ static const IndustrySpec _industry_specs[] = { }; #undef MK -const byte _build_industry_types[4][12] = { - { 1, 2, 4, 6, 8, 0, 3, 5, 9, 11, 18 }, - { 1, 14, 4, 13, 7, 0, 3, 9, 11, 15 }, - { 25, 13, 4, 23, 22, 11, 17, 10, 24, 19, 20, 21 }, - { 27, 30, 31, 33, 26, 28, 29, 32, 34, 35, 36 }, -}; - static const byte _industry_create_table_0[] = { 4, 4, |