mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-09 15:41:15 +00:00
(svn r7001) -Codechange: _build_industry_trypes is now only used by industry_gui.c. Move it there.
-Codechange: _industry_type_cost is not defined, remove its declaration
This commit is contained in:
parent
fce44a1ce7
commit
56c81cc978
@ -17,9 +17,12 @@
|
|||||||
#include "town.h"
|
#include "town.h"
|
||||||
#include "variables.h"
|
#include "variables.h"
|
||||||
|
|
||||||
/* Present in table/build_industry.h" */
|
const byte _build_industry_types[4][12] = {
|
||||||
extern const byte _build_industry_types[4][12];
|
{ 1, 2, 4, 6, 8, 0, 3, 5, 9, 11, 18 },
|
||||||
extern const byte _industry_type_costs[37];
|
{ 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);
|
static void UpdateIndustryProduction(Industry *i);
|
||||||
|
|
||||||
|
@ -1391,13 +1391,6 @@ static const IndustrySpec _industry_specs[] = {
|
|||||||
};
|
};
|
||||||
#undef MK
|
#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[] = {
|
static const byte _industry_create_table_0[] = {
|
||||||
4, 4,
|
4, 4,
|
||||||
|
Loading…
Reference in New Issue
Block a user