Creates a list of tiles that will accept cargo for the given industry. More...
#include <script_tilelist.hpp>
Public Member Functions | |
ScriptTileList_IndustryAccepting (IndustryID industry_id, int radius) |
Creates a list of tiles that will accept cargo for the given industry.
Definition at line 64 of file script_tilelist.hpp.
ScriptTileList_IndustryAccepting::ScriptTileList_IndustryAccepting | ( | IndustryID | industry_id, | |
int | radius | |||
) |
industry_id | The industry to create the ScriptTileList around. | |
radius | The radius of the station you will be using. |
Definition at line 50 of file script_tilelist.cpp.
References _settings_game, Industry::accepts_cargo, ScriptTileList::AddTile(), CT_INVALID, Pool< Titem, Tindex, Tgrowth_step, Tmax_size, Tpool_type, Tcache, Tzero >::PoolItem<&_industry_pool >::Get(), GetAcceptanceAroundTiles(), GetIndustryIndex(), TileArea::h, IsTileType(), ScriptIndustry::IsValidIndustry(), IsValidTile(), lengthof, Industry::location, StationSettings::modified_catchment, MP_INDUSTRY, GameSettings::station, TileArea::tile, TILE_AREA_LOOP, TileDiffXY(), and TileArea::w.