src/industry.h
changeset 6092 53c6b9b18d0b
parent 5587 167d9a91ef02
child 6201 bee01dc45e39
equal deleted inserted replaced
6091:c8827d9ae04a 6092:53c6b9b18d0b
    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.