src/ai/api/ai_industry.hpp
branchnoai
changeset 9650 7e5e1a7ecbff
parent 9649 bc8c06513f5b
child 9710 ba44f8c1fd52
equal deleted inserted replaced
9649:bc8c06513f5b 9650:7e5e1a7ecbff
    55 	 * @param cargo_id the index of the cargo.
    55 	 * @param cargo_id the index of the cargo.
    56 	 * @pre industry_id has to be valid (use IsValidIndustry()).
    56 	 * @pre industry_id has to be valid (use IsValidIndustry()).
    57 	 * @pre cargo_id has to be valid (use IsValidCargo()).
    57 	 * @pre cargo_id has to be valid (use IsValidCargo()).
    58 	 * @return the production of the cargo for this industry.
    58 	 * @return the production of the cargo for this industry.
    59 	 */
    59 	 */
    60 	static TileIndex GetProduction(IndustryID industry_id, CargoID cargo_id);
    60 	static int32 GetProduction(IndustryID industry_id, CargoID cargo_id);
    61 
    61 
    62 	/**
    62 	/**
    63 	 * Gets the location of the industry.
    63 	 * Gets the location of the industry.
    64 	 * @param industry_id the index of the industry.
    64 	 * @param industry_id the index of the industry.
    65 	 * @pre industry_id has to be valid (use IsValidIndustry()).
    65 	 * @pre industry_id has to be valid (use IsValidIndustry()).