(svn r15190) -Feature: Allow terraforming of the tiles at the edges of the map.

This commit is contained in:
Yexo
2009-01-21 02:31:55 +00:00
parent 470437df70
commit e3c69b7c4e
31 changed files with 417 additions and 171 deletions

View File

@@ -690,9 +690,9 @@ void InitializeLandscape()
uint sizex = MapSizeX();
uint y;
for (y = 0; y < maxy; y++) {
for (y = _settings_game.construction.freeform_edges ? 1 : 0; y < maxy; y++) {
uint x;
for (x = 0; x < maxx; x++) {
for (x = _settings_game.construction.freeform_edges ? 1 : 0; x < maxx; x++) {
MakeClear(sizex * y + x, CLEAR_GRASS, 3);
SetTileHeight(sizex * y + x, 0);
SetTropicZone(sizex * y + x, TROPICZONE_NORMAL);