mirror of https://github.com/OpenTTD/OpenTTD
(svn r9868) -Codechange: bring external declaration of functions togueter and adjust a comment
parent
380d18fb69
commit
2196abd71d
|
@ -133,11 +133,14 @@ struct IndustryTileSpec {
|
||||||
byte anim_production; ///< Animation frame to start when goods are produced
|
byte anim_production; ///< Animation frame to start when goods are produced
|
||||||
byte anim_next; ///< Next frame in an animation
|
byte anim_next; ///< Next frame in an animation
|
||||||
bool anim_state; ///< When true, the tile has to be drawn using the 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 IndustrySpec *GetIndustrySpec(IndustryType thistype); ///< Array of industries default data
|
||||||
const IndustryTileSpec *GetIndustryTileSpec(IndustryGfx gfx); ///< Array of industry tiles default data
|
const IndustryTileSpec *GetIndustryTileSpec(IndustryGfx gfx); ///< Array of industry tiles default data
|
||||||
|
void ResetIndustries();
|
||||||
|
void PlantRandomFarmField(const Industry *i);
|
||||||
|
|
||||||
/* smallmap_gui.cpp */
|
/* smallmap_gui.cpp */
|
||||||
void BuildIndustriesLegend();
|
void BuildIndustriesLegend();
|
||||||
|
@ -219,10 +222,6 @@ static inline void DeleteIndustry(Industry *i)
|
||||||
VARDEF const Industry** _industry_sort;
|
VARDEF const Industry** _industry_sort;
|
||||||
VARDEF bool _industry_sort_dirty;
|
VARDEF bool _industry_sort_dirty;
|
||||||
|
|
||||||
|
|
||||||
void DeleteIndustry(Industry *is);
|
|
||||||
void PlantRandomFarmField(const Industry *i);
|
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
IT_COAL_MINE = 0,
|
IT_COAL_MINE = 0,
|
||||||
IT_POWER_STATION = 1,
|
IT_POWER_STATION = 1,
|
||||||
|
|
Loading…
Reference in New Issue