#include <ai_tilelist.hpp>
Public Member Functions | |
AITileList_IndustryProducing (IndustryID industry_id, uint radius) | |
Static Public Member Functions | |
static const char * | GetClassName () |
Definition at line 83 of file ai_tilelist.hpp.
AITileList_IndustryProducing::AITileList_IndustryProducing | ( | IndustryID | industry_id, | |
uint | radius | |||
) |
industry_id | The industry to create the AITileList around. | |
radius | The radius of the station you will be using. |
Definition at line 109 of file ai_tilelist.cpp.
References _settings_game, AITileList::AddTile(), BEGIN_TILE_LOOP, CA_UNMODIFIED, END_TILE_LOOP, GetIndustryIndex(), GetProductionAroundTiles(), Industry::height, IsTileType(), AIIndustry::IsValidIndustry(), IsValidTile(), lengthof, StationSettings::modified_catchment, MP_INDUSTRY, Industry::produced_cargo, GameSettings::station, TileDiffXY(), Industry::width, and Industry::xy.