src/industry.h
branchnoai
changeset 10645 8cbdb511a674
parent 10455 22c441f5adf9
equal deleted inserted replaced
10644:6c4314786d68 10645:8cbdb511a674
   352 }
   352 }
   353 
   353 
   354 #define FOR_ALL_INDUSTRIES_FROM(i, start) for (i = GetIndustry(start); i != NULL; i = (i->index + 1U < GetIndustryPoolSize()) ? GetIndustry(i->index + 1U) : NULL) if (i->IsValid())
   354 #define FOR_ALL_INDUSTRIES_FROM(i, start) for (i = GetIndustry(start); i != NULL; i = (i->index + 1U < GetIndustryPoolSize()) ? GetIndustry(i->index + 1U) : NULL) if (i->IsValid())
   355 #define FOR_ALL_INDUSTRIES(i) FOR_ALL_INDUSTRIES_FROM(i, 0)
   355 #define FOR_ALL_INDUSTRIES(i) FOR_ALL_INDUSTRIES_FROM(i, 0)
   356 
   356 
   357 extern const Industry **_industry_sort;
       
   358 extern bool _industry_sort_dirty;
       
   359 
       
   360 static const uint8 IT_INVALID = 255;
   357 static const uint8 IT_INVALID = 255;
   361 
   358 
   362 #endif /* INDUSTRY_H */
   359 #endif /* INDUSTRY_H */