#include <ai_tilelist.hpp>

Public Member Functions | |
| AITileList_IndustryAccepting (IndustryID industry_id, int radius) | |
Static Public Member Functions | |
| static const char * | GetClassName () |
Definition at line 74 of file ai_tilelist.hpp.
| AITileList_IndustryAccepting::AITileList_IndustryAccepting | ( | IndustryID | industry_id, | |
| int | radius | |||
| ) |
| industry_id | The industry to create the AITileList around. | |
| radius | The radius of the station you will be using. |
radius > 0.
Definition at line 72 of file ai_tilelist.cpp.
References _settings_game, Industry::accepts_cargo, AITileList::AddTile(), CA_UNMODIFIED, CT_INVALID, Pool< Titem, Tindex, Tgrowth_step, Tmax_size, Tcache, Tzero >::PoolItem< Tpool >::Get(), GetAcceptanceAroundTiles(), GetIndustryIndex(), Industry::height, IsTileType(), AIIndustry::IsValidIndustry(), IsValidTile(), lengthof, StationSettings::modified_catchment, MP_INDUSTRY, GameSettings::station, TILE_LOOP, TileDiffXY(), Industry::width, and Industry::xy.
1.5.6