diff options
author | rubidium <rubidium@openttd.org> | 2006-12-30 11:41:54 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2006-12-30 11:41:54 +0000 |
commit | 34bc8008d3d5c65c18bd2762fa7279a30b44e29c (patch) | |
tree | c71a0d3b3e4a1fcc81bcd5bd776430aadb2168b7 /industry_map.h | |
parent | 405f80c0d12557152a24e579c8ca26e114d1a8b0 (diff) | |
download | openttd-34bc8008d3d5c65c18bd2762fa7279a30b44e29c.tar.xz |
(svn r7640) -Codechange: move a table from industry_cmd.c to table/industry_land
-Codechange: add a reference to the industry GFX enum and some comments to the tables
-Codechange: remove some magic numbers
Diffstat (limited to 'industry_map.h')
-rw-r--r-- | industry_map.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/industry_map.h b/industry_map.h index b284ab1f0..bef925ef6 100644 --- a/industry_map.h +++ b/industry_map.h @@ -48,6 +48,7 @@ enum { GFX_BUBBLE_CATCHER = 162, GFX_TOFFEE_QUARY = 165, GFX_SUGAR_MINE_SIEVE = 174, + NUM_INDUSTRY_GFXES = 175, }; static inline IndustryID GetIndustryIndex(TileIndex t) @@ -212,7 +213,7 @@ static const IndustryTypeSolver industry_gfx_Solver [IT_END] = { /** * Get the animation loop number * @param tile the tile to get the animation loop number of - * @pre IsTileType(tile, MP_INDUSTRY + * @pre IsTileType(tile, MP_INDUSTRY) */ static inline byte GetIndustryAnimationLoop(TileIndex tile) { @@ -224,7 +225,7 @@ static inline byte GetIndustryAnimationLoop(TileIndex tile) * Set the animation loop number * @param tile the tile to set the animation loop number of * @param count the new animation frame number - * @pre IsTileType(tile, MP_INDUSTRY + * @pre IsTileType(tile, MP_INDUSTRY) */ static inline void SetIndustryAnimationLoop(TileIndex tile, byte count) { |