summaryrefslogtreecommitdiff
path: root/src/table/industry_land.h
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2007-02-21 02:22:43 +0000
committerbelugas <belugas@openttd.org>2007-02-21 02:22:43 +0000
commit011ef28e4725180c55b9a7c4f7b1418c844c2072 (patch)
treed4e3de75d0a2b45871683afdcf9f9343ad9e036f /src/table/industry_land.h
parent3d581f4f894293f45666220de78651ba6b9a7d1c (diff)
downloadopenttd-011ef28e4725180c55b9a7c4f7b1418c844c2072.tar.xz
(svn r8827) -Codechange: Cleanup of industry_cmd (Step-6). Implementation of IndustryTileSPec, the alter ego of IndustrySpec.
It offers identification of the different industry tiles in a more distinct manner, as well as regrouping scattered pieces of data across the sources. More to come
Diffstat (limited to 'src/table/industry_land.h')
-rw-r--r--src/table/industry_land.h28
1 files changed, 0 insertions, 28 deletions
diff --git a/src/table/industry_land.h b/src/table/industry_land.h
index ae311b62c..cb8174fa2 100644
--- a/src/table/industry_land.h
+++ b/src/table/industry_land.h
@@ -961,34 +961,6 @@ N, N, N, N, N, N, N,
#undef N
-/**
- * The indices into this table are the ones as described by
- * the enum with GFX_*s in industry_map.h.
- */
-static const byte _industry_section_bits[NUM_INDUSTRY_GFXES] = {
- 16, 16, 16, 16, 16, 16, 16, 16,
- 16, 16, 16, 16, 16, 16, 16, 16,
- 16, 16, 16, 16, 16, 16, 16, 16,
- 16, 16, 16, 16, 16, 16, 16, 16,
- 16, 16, 16, 16, 16, 16, 16, 16,
- 16, 16, 16, 16, 16, 16, 16, 16,
- 16, 16, 16, 16, 16, 16, 16, 16,
- 16, 16, 4, 2, 16, 16, 16, 16, // <- temperate bank
- 16, 16, 16, 16, 16, 16, 16, 16,
- 16, 16, 16, 16, 16, 16, 16, 16,
- 16, 16, 16, 16, 16, 16, 16, 16,
- 16, 4, 2, 16, 16, 16, 16, 16, // <- sub-arctic/sub-tropical bank
- 16, 16, 16, 16, 16, 16, 16, 16,
- 16, 16, 16, 16, 16, 16, 16, 16,
- 16, 16, 16, 16, 16, 16, 16, 16,
- 16, 16, 16, 16, 16, 16, 16, 16,
- 16, 16, 16, 16, 16, 16, 16, 16,
- 16, 16, 16, 16, 16, 16, 16, 16,
- 16, 16, 16, 16, 16, 16, 16, 16,
- 16, 16, 16, 16, 16, 16, 16, 16,
- 16, 16, 16, 16, 16, 16, 16, 16,
- 16, 16, 16, 16, 16, 16, 16,
-};
/**
* When true, the tile has to be drawn using the animation