summaryrefslogtreecommitdiff
path: root/src/industry_map.h
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2007-05-30 02:08:18 +0000
committerbelugas <belugas@openttd.org>2007-05-30 02:08:18 +0000
commit425ea508543d3473f1759530154b08cf1e51bfc4 (patch)
treea711c93d07a7369596405f41e1ddda86c87af7bd /src/industry_map.h
parentf8491407d01175048629a88f7dbd000108a3ed1a (diff)
downloadopenttd-425ea508543d3473f1759530154b08cf1e51bfc4.tar.xz
(svn r9984) -Codechange: Remove an obsolete structure and a now meaningless enum, in favor of the "real thing"
Diffstat (limited to 'src/industry_map.h')
-rw-r--r--src/industry_map.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/industry_map.h b/src/industry_map.h
index dd3cf1b11..86a62bdbf 100644
--- a/src/industry_map.h
+++ b/src/industry_map.h
@@ -48,7 +48,6 @@ enum {
GFX_BUBBLE_CATCHER = 162,
GFX_TOFFEE_QUARY = 165,
GFX_SUGAR_MINE_SIEVE = 174,
- NUM_INDUSTRY_GFXES = 175,
};
/**
@@ -201,12 +200,6 @@ static inline void ResetIndustryConstructionStage(TileIndex tile)
_m[tile].m1 = 0;
}
-/** Structure used to make a mapping from industry gfx to industry type */
-struct IndustryTypeSolver {
- IndustryGfx MinGfx; ///< The first gfx index for the industry type
- IndustryGfx MaxGfx; ///< The last gfx index for the industry type
-};
-
/**
* Get the animation loop number
* @param tile the tile to get the animation loop number of