equal
deleted
inserted
replaced
17 |
17 |
18 /* Since the industry IDs defined by the GRF file don't necessarily correlate |
18 /* Since the industry IDs defined by the GRF file don't necessarily correlate |
19 * to those used by the game, the IDs used for overriding old industries must be |
19 * to those used by the game, the IDs used for overriding old industries must be |
20 * translated when the idustry spec is set. */ |
20 * translated when the idustry spec is set. */ |
21 IndustryOverrideManager _industry_mngr(NEW_INDUSTRYOFFSET, NUM_INDUSTRYTYPES, INVALID_INDUSTRYTYPE); |
21 IndustryOverrideManager _industry_mngr(NEW_INDUSTRYOFFSET, NUM_INDUSTRYTYPES, INVALID_INDUSTRYTYPE); |
|
22 IndustryTileOverrideManager _industile_mngr(NEW_INDUSTRYTILEOFFSET, NUM_INDUSTRYTILES, INVALID_INDUSTRYTILE); |
22 |
23 |
23 /** |
24 /** |
24 * Finds the distance for the closest tile with water/land given a tile |
25 * Finds the distance for the closest tile with water/land given a tile |
25 * @param tile the tile to find the distance too |
26 * @param tile the tile to find the distance too |
26 * @param water whether to find water or land |
27 * @param water whether to find water or land |