mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 22:28:56 +00:00
Doc: Rainforest is one word
This commit is contained in:
parent
cc475b6acb
commit
3ae715722c
@ -64,7 +64,7 @@
|
||||
<tr bgcolor="#CCCCCC"><td colspan="2">Only meaningful in tropic climate. It contains the definition of the available zones</td></tr>
|
||||
<tr><td style="width: 5em;"><tt>00</tt></td><td>normal</td></tr>
|
||||
<tr><td><tt>01</tt></td><td>desert</td></tr>
|
||||
<tr><td><tt>02</tt></td><td>rain forest</td></tr>
|
||||
<tr><td><tt>02</tt></td><td>rainforest</td></tr>
|
||||
</table>
|
||||
In any other climate these 2 bits are theoretically free of use, however using them does not seem useful.
|
||||
</li>
|
||||
|
@ -1375,7 +1375,7 @@ static CommandCost CheckNewIndustry_Water(TileIndex tile)
|
||||
}
|
||||
|
||||
/**
|
||||
* Check the conditions of #CHECK_LUMBERMILL (Industry should be in the rain forest).
|
||||
* Check the conditions of #CHECK_LUMBERMILL (Industry should be in the rainforest).
|
||||
* @param tile %Tile to perform the checking.
|
||||
* @return Succeeded or failed command.
|
||||
*/
|
||||
|
@ -38,7 +38,7 @@ enum CheckProc : uint8_t {
|
||||
CHECK_FARM, ///< %Industry should be below snow-line in arctic.
|
||||
CHECK_PLANTATION, ///< %Industry should NOT be in the desert.
|
||||
CHECK_WATER, ///< %Industry should be in the desert.
|
||||
CHECK_LUMBERMILL, ///< %Industry should be in the rain forest.
|
||||
CHECK_LUMBERMILL, ///< %Industry should be in the rainforest.
|
||||
CHECK_BUBBLEGEN, ///< %Industry should be in low land.
|
||||
CHECK_OIL_RIG, ///< Industries at sea should be positioned near edge of the map.
|
||||
CHECK_END, ///< End marker of the industry check procedures.
|
||||
|
@ -5,7 +5,7 @@
|
||||
* See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/** @file genland.h Table used to generate deserts and/or rain forests. */
|
||||
/** @file genland.h Table used to generate deserts and/or rainforests. */
|
||||
|
||||
#define M(x, y) {x, y}
|
||||
|
||||
|
@ -442,9 +442,9 @@ CommandCost CmdPlantTree(DoCommandFlag flags, TileIndex tile, TileIndex start_ti
|
||||
if (_settings_game.game_creation.landscape == LandscapeType::Tropic && treetype != TREE_INVALID && (
|
||||
/* No cacti outside the desert */
|
||||
(treetype == TREE_CACTUS && GetTropicZone(current_tile) != TROPICZONE_DESERT) ||
|
||||
/* No rain forest trees outside the rain forest, except in the editor mode where it makes those tiles rain forest tile */
|
||||
/* No rainforest trees outside the rainforest, except in the editor mode where it makes those tiles rainforest tile */
|
||||
(IsInsideMM(treetype, TREE_RAINFOREST, TREE_CACTUS) && GetTropicZone(current_tile) != TROPICZONE_RAINFOREST && _game_mode != GM_EDITOR) ||
|
||||
/* And no subtropical trees in the desert/rain forest */
|
||||
/* And no subtropical trees in the desert/rainforest */
|
||||
(IsInsideMM(treetype, TREE_SUB_TROPICAL, TREE_TOYLAND) && GetTropicZone(current_tile) != TROPICZONE_NORMAL))) {
|
||||
msg = STR_ERROR_TREE_WRONG_TERRAIN_FOR_TREE_TYPE;
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user