# HG changeset patch # User belugas # Date 1179498855 0 # Node ID fe36226cf5573c1f3990e936b28eea1a6c1eddb1 # Parent 08abbae3073e21ac597d4f8b9c2d62c4cab2002f (svn r9868) -Codechange: bring external declaration of functions togueter and adjust a comment diff -r 08abbae3073e -r fe36226cf557 src/industry.h --- a/src/industry.h Fri May 18 00:33:47 2007 +0000 +++ b/src/industry.h Fri May 18 14:34:15 2007 +0000 @@ -133,11 +133,14 @@ 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 @@ 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,