(svn r4347) CodeChange : Renamed IndustryType to IndustryLifeType. Cleanup step toward bringing accessors [G|S]etIndustrype

This commit is contained in:
belugas
2006-04-10 16:20:47 +00:00
parent 43101bd2d1
commit f555554cf8
2 changed files with 52 additions and 47 deletions

View File

@@ -65,6 +65,8 @@ VARDEF int _total_industries; // For the AI: the amount of industries active
VARDEF uint16 *_industry_sort;
VARDEF bool _industry_sort_dirty;
typedef uint8 IndustryType;
void DeleteIndustry(Industry *is);
enum {
@@ -107,4 +109,10 @@ enum {
IT_SUGAR_MINE = 36,
};
typedef enum IndustryLifeTypes {
INDUSTRYLIFE_NOT_CLOSABLE, ///< Industry can never close
INDUSTRYLIFE_PRODUCTION, ///< Industry can close and change of production
INDUSTRYLIFE_CLOSABLE, ///< Industry can only close (no production change)
} IndustryLifeType;
#endif /* INDUSTRY_H */