industry_cmd.c
changeset 3173 f56ca618721b
parent 3157 3f35e2d9c8e3
child 3222 6de22e06a1e9
equal deleted inserted replaced
3172:ade284ef48ed 3173:f56ca618721b
    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,