Go to the documentation of this file.
12 #ifndef COMPANY_BASE_H
13 #define COMPANY_BASE_H
135 return c != NULL && c->
is_ai;
147 return c != NULL && !c->
is_ai;
165 #define FOR_ALL_COMPANIES_FROM(var, start) FOR_ALL_ITEMS_FROM(Company, company_index, var, start)
166 #define FOR_ALL_COMPANIES(var) FOR_ALL_COMPANIES_FROM(var, 0)