From b67cfd4825089946aa29d22127acbed04c603bed Mon Sep 17 00:00:00 2001 From: rubidium Date: Tue, 3 Jul 2007 19:16:34 +0000 Subject: (svn r10418) -Codechange: implement/resurrect the industry production flags. --- src/industry.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/industry.h') 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 -- cgit v1.2.3-54-g00ecf