src/station_cmd.cpp
changeset 6201 bee01dc45e39
parent 6198 5e278ec7c0f9
child 6247 7d81e3a5d803
equal deleted inserted replaced
6200:10efd7fb90d4 6201:bee01dc45e39
   139  * Counts the numbers of tiles matching a specific type in the area around
   139  * Counts the numbers of tiles matching a specific type in the area around
   140  * @param tile the center tile of the 'count area'
   140  * @param tile the center tile of the 'count area'
   141  * @param type the type of tile searched for
   141  * @param type the type of tile searched for
   142  * @param industry when type == MP_INDUSTRY, the type of the industry,
   142  * @param industry when type == MP_INDUSTRY, the type of the industry,
   143  *                 in all other cases this parameter is ignored
   143  *                 in all other cases this parameter is ignored
   144  * @result the noumber of matching tiles around
   144  * @return the result the noumber of matching tiles around
   145  */
   145  */
   146 static int CountMapSquareAround(TileIndex tile, TileType type, IndustryType industry)
   146 static int CountMapSquareAround(TileIndex tile, TileType type, IndustryType industry)
   147 {
   147 {
   148 	int num = 0;
   148 	int num = 0;
   149 
   149