(svn r21166) -Codechange: Move MaybeNewIndustry() to IndustryBuildData::TryBuildNewIndustry().

This commit is contained in:
alberth
2010-11-13 15:02:31 +00:00
parent d46a2ef122
commit 1bf94674df
2 changed files with 12 additions and 2 deletions

View File

@@ -143,4 +143,13 @@ void ReleaseDisastersTargetingIndustry(IndustryID);
#define FOR_ALL_INDUSTRIES_FROM(var, start) FOR_ALL_ITEMS_FROM(Industry, industry_index, var, start)
#define FOR_ALL_INDUSTRIES(var) FOR_ALL_INDUSTRIES_FROM(var, 0)
/**
* Data for managing the number and type of industries in the game.
*/
struct IndustryBuildData {
void TryBuildNewIndustry();
};
extern IndustryBuildData _industry_builder;
#endif /* INDUSTRY_H */