(svn r21270) -Doc: Doxyment updates and additions. Removal of doxyment in code.

This commit is contained in:
alberth
2010-11-20 14:15:02 +00:00
parent 5d72befbcd
commit 3b0ee65571
9 changed files with 60 additions and 29 deletions

View File

@@ -506,6 +506,12 @@ CommandCost CheckIfCallBackAllowsCreation(TileIndex tile, IndustryType type, uin
NOT_REACHED();
}
/**
* Check with callback #CBM_IND_AVAILABLE whether the industry can be built.
* @param type Industry type to check.
* @param creation_type Reason to construct a new industry.
* @return If the industry has no callback or allows building, \c true is returned. Otherwise, \c false is returned.
*/
bool CheckIfCallBackAllowsAvailability(IndustryType type, IndustryAvailabilityCallType creation_type)
{
const IndustrySpec *indspec = GetIndustrySpec(type);