summaryrefslogtreecommitdiff
path: root/src/table
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2007-04-09 01:43:29 +0000
committerbelugas <belugas@openttd.org>2007-04-09 01:43:29 +0000
commit2f6f7b1984de0d676baa052f81021aea631fc73f (patch)
treecc2aa58d4f2fde8cfafcd0aa1d72377f8c85655c /src/table
parent6ec39ea4413f22904d082ff724d3a0780469f7b5 (diff)
downloadopenttd-2f6f7b1984de0d676baa052f81021aea631fc73f.tar.xz
(svn r9579) -Codechange: Cleanup of industry_cmd (Step-11). Use industry's spec appear_creation during random map creation.
Diffstat (limited to 'src/table')
-rw-r--r--src/table/build_industry.h69
1 files changed, 0 insertions, 69 deletions
diff --git a/src/table/build_industry.h b/src/table/build_industry.h
index 3bf30584b..ce78dfa4b 100644
--- a/src/table/build_industry.h
+++ b/src/table/build_industry.h
@@ -1418,75 +1418,6 @@ static const IndustrySpec _industry_specs[] = {
};
#undef MK
-
-static const byte _industry_create_table_0[] = {
- 4, 4,
- 5, 3,
- 5, 2,
- 8, 0,
- 5, 1,
- 4, 11,
- 5, 18,
- 9, 9,
- 5, 8,
- 5, 6,
- 0
-};
-
-static const byte _industry_create_table_1[] = {
- 4, 4,
- 5, 3,
- 5, 14,
- 8, 0,
- 5, 1,
- 5, 11,
- 5, 13,
- 9, 9,
- 4, 15,
- 5, 7,
- 6, 16,
- 0
-};
-
-static const byte _industry_create_table_2[] = {
- 4, 4,
- 5, 11,
- 5, 16,
- 4, 13,
- 4, 17,
- 4, 10,
- 4, 19,
- 4, 20,
- 4, 21,
- 8, 22,
- 4, 13,
- 4, 23,
- 2, 24,
- 0
-};
-
-static const byte _industry_create_table_3[] = {
- 5, 26,
- 5, 27,
- 4, 28,
- 5, 29,
- 4, 30,
- 5, 31,
- 5, 32,
- 4, 33,
- 5, 34,
- 5, 35,
- 4, 36,
- 0
-};
-
-static const byte * const _industry_create_table[4] = {
- _industry_create_table_0,
- _industry_create_table_1,
- _industry_create_table_2,
- _industry_create_table_3,
-};
-
/** Writes the properties of a industry tile into the IndustryTileSpec struct.
* @param c1 first type of cargo accepted for this tile
* @param c2 second cargo