src/industry.h
branchcpp_gui
changeset 6268 4b5241e5dd10
parent 5838 9c3129cb019b
child 6285 187e3ef04cc9
equal deleted inserted replaced
6267:7c8ec33959b1 6268:4b5241e5dd10
    76 	StringID closure_text;
    76 	StringID closure_text;
    77 	StringID production_up_text;
    77 	StringID production_up_text;
    78 	StringID production_down_text;
    78 	StringID production_down_text;
    79 } IndustrySpec;
    79 } IndustrySpec;
    80 
    80 
       
    81 typedef struct IndustryTileSpec {
       
    82 	CargoID accepts_cargo[3];
       
    83 	Slope slopes_refused;
       
    84 } IndustryTileSpec;
       
    85 
    81 const IndustrySpec *GetIndustrySpec(IndustryType thistype);
    86 const IndustrySpec *GetIndustrySpec(IndustryType thistype);
       
    87 const IndustryTileSpec *GetIndustryTileSpec(IndustryGfx gfx);
    82 
    88 
    83 DECLARE_OLD_POOL(Industry, Industry, 3, 8000)
    89 DECLARE_OLD_POOL(Industry, Industry, 3, 8000)
    84 
    90 
    85 /**
    91 /**
    86  * Check if an Industry really exists.
    92  * Check if an Industry really exists.