industry_cmd.c
changeset 3173 1b75b9a6ff71
parent 3157 40de8616c04c
child 3222 8bfed4267cba
equal deleted inserted replaced
3172:1605cb59ccd9 3173:1b75b9a6ff71
    88 
    88 
    89 #include "table/industry_land.h"
    89 #include "table/industry_land.h"
    90 #include "table/build_industry.h"
    90 #include "table/build_industry.h"
    91 
    91 
    92 typedef enum IndustryType {
    92 typedef enum IndustryType {
    93 	INDUSTRY_NOT_CLOSABLE,     //! Industry can never close
    93 	INDUSTRY_NOT_CLOSABLE,     ///< Industry can never close
    94 	INDUSTRY_PRODUCTION,       //! Industry can close and change of production
    94 	INDUSTRY_PRODUCTION,       ///< Industry can close and change of production
    95 	INDUSTRY_CLOSABLE,         //! Industry can only close (no production change)
    95 	INDUSTRY_CLOSABLE,         ///< Industry can only close (no production change)
    96 } IndustryType;
    96 } IndustryType;
    97 
    97 
    98 
    98 
    99 static const IndustryType _industry_close_mode[37] = {
    99 static const IndustryType _industry_close_mode[37] = {
   100 	/* COAL_MINE */         INDUSTRY_PRODUCTION,
   100 	/* COAL_MINE */         INDUSTRY_PRODUCTION,