diff options
author | belugas <belugas@openttd.org> | 2007-05-18 14:34:15 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2007-05-18 14:34:15 +0000 |
commit | 2196abd71d687564597a0d4f6f9defc8679ba87b (patch) | |
tree | bdb7c56b573fdfc82e0def3e1bbdcce0d9fba238 /src | |
parent | 380d18fb69b0318f9c442526572ebf589b8e5d54 (diff) | |
download | openttd-2196abd71d687564597a0d4f6f9defc8679ba87b.tar.xz |
(svn r9868) -Codechange: bring external declaration of functions togueter and adjust a comment
Diffstat (limited to 'src')
-rw-r--r-- | src/industry.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/industry.h b/src/industry.h index 873bc23d9..677d622e7 100644 --- a/src/industry.h +++ b/src/industry.h @@ -133,11 +133,14 @@ struct IndustryTileSpec { byte anim_production; ///< Animation frame to start when goods are produced byte anim_next; ///< Next frame in an animation bool anim_state; ///< When true, the tile has to be drawn using the animation - ///< state instead of the construction state + ///< state instead of the construction state }; +/* industry_cmd.cpp*/ const IndustrySpec *GetIndustrySpec(IndustryType thistype); ///< Array of industries default data const IndustryTileSpec *GetIndustryTileSpec(IndustryGfx gfx); ///< Array of industry tiles default data +void ResetIndustries(); +void PlantRandomFarmField(const Industry *i); /* smallmap_gui.cpp */ void BuildIndustriesLegend(); @@ -219,10 +222,6 @@ static inline void DeleteIndustry(Industry *i) VARDEF const Industry** _industry_sort; VARDEF bool _industry_sort_dirty; - -void DeleteIndustry(Industry *is); -void PlantRandomFarmField(const Industry *i); - enum { IT_COAL_MINE = 0, IT_POWER_STATION = 1, |