Creates a list of industries that can produce a given cargo. More...
#include <script_industrylist.hpp>
Public Member Functions | |
ScriptIndustryList_CargoProducing (CargoID cargo_id) |
Creates a list of industries that can produce a given cargo.
Definition at line 46 of file script_industrylist.hpp.
ScriptIndustryList_CargoProducing::ScriptIndustryList_CargoProducing | ( | CargoID | cargo_id | ) |
cargo_id | The cargo this industry should produce. |
Definition at line 35 of file script_industrylist.cpp.
References ScriptList::AddItem(), Pool< Titem, Tindex, Tgrowth_step, Tmax_size, Tpool_type, Tcache, Tzero >::PoolItem< Tpool >::index, lengthof, and Industry::produced_cargo.