Creates a list of tiles which the industry checks to see if a station is there to receive cargo produced by this industry. More...
#include <script_tilelist.hpp>
Public Member Functions | |
ScriptTileList_IndustryProducing (IndustryID industry_id, int radius) |
Creates a list of tiles which the industry checks to see if a station is there to receive cargo produced by this industry.
ai game
Definition at line 81 of file script_tilelist.hpp.
ScriptTileList_IndustryProducing::ScriptTileList_IndustryProducing | ( | 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 88 of file script_tilelist.cpp.
References _settings_game, ScriptTileList::AddTile(), CT_INVALID, Pool< Titem, Tindex, Tgrowth_step, Tmax_size, Tpool_type, Tcache, Tzero >::PoolItem<&_industry_pool >::Get(), GetIndustryIndex(), TileArea::h, IsTileType(), ScriptIndustry::IsValidIndustry(), IsValidTile(), lengthof, Industry::location, StationSettings::modified_catchment, MP_INDUSTRY, Industry::produced_cargo, GameSettings::station, TileArea::tile, TILE_AREA_LOOP, TileDiffXY(), and TileArea::w.