File diff r19581:a50f0b075c64 → r19582:dc0eafc8298f
src/script/api/script_industrytype.cpp
Show inline comments
 
@@ -32,6 +32,13 @@
 
	return ::GetIndustrySpec(industry_type)->IsRawIndustry();
 
}
 

	
 
/* static */ bool ScriptIndustryType::IsProcessingIndustry(IndustryType industry_type)
 
{
 
	if (!IsValidIndustryType(industry_type)) return false;
 

	
 
	return ::GetIndustrySpec(industry_type)->IsProcessingIndustry();
 
}
 

	
 
/* static */ bool ScriptIndustryType::ProductionCanIncrease(IndustryType industry_type)
 
{
 
	if (!IsValidIndustryType(industry_type)) return false;