summaryrefslogtreecommitdiff
path: root/src/industry.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-07-03 19:16:34 +0000
committerrubidium <rubidium@openttd.org>2007-07-03 19:16:34 +0000
commitb67cfd4825089946aa29d22127acbed04c603bed (patch)
treec7e5ccacc576c4348ad93364cdb3ed66e95f593e /src/industry.h
parentaca984647941b58e305c7b2afc3df94f42d39dba (diff)
downloadopenttd-b67cfd4825089946aa29d22127acbed04c603bed.tar.xz
(svn r10418) -Codechange: implement/resurrect the industry production flags.
Diffstat (limited to 'src/industry.h')
-rw-r--r--src/industry.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/industry.h b/src/industry.h
index 57b4fdc9e..6486888d7 100644
--- a/src/industry.h
+++ b/src/industry.h
@@ -28,9 +28,10 @@ enum {
};
enum IndustryLifeType {
- 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)
+ INDUSTRYLIFE_BLACK_HOLE = 0, ///< Like power plants and banks
+ INDUSTRYLIFE_EXTRACTIVE = 1 << 0, ///< Like mines
+ INDUSTRYLIFE_ORGANIC = 1 << 1, ///< Like forests
+ INDUSTRYLIFE_PROCESSING = 1 << 2, ///< Like factories
};
/* Procedures that can be run to check whether an industry may