equal
deleted
inserted
replaced
1 /* $Id$ */ |
1 /* $Id$ */ |
2 |
2 |
3 #include "stdafx.h" |
3 #include "stdafx.h" |
4 #include "openttd.h" |
4 #include "openttd.h" |
|
5 #include "bridge_map.h" |
5 #include "heightmap.h" |
6 #include "heightmap.h" |
6 #include "clear_map.h" |
7 #include "clear_map.h" |
7 #include "functions.h" |
8 #include "functions.h" |
8 #include "map.h" |
9 #include "map.h" |
9 #include "player.h" |
10 #include "player.h" |
412 |
413 |
413 for (y = 0; y < maxy; y++) { |
414 for (y = 0; y < maxy; y++) { |
414 for (x = 0; x < maxx; x++) { |
415 for (x = 0; x < maxx; x++) { |
415 MakeClear(sizex * y + x, CLEAR_GRASS, 3); |
416 MakeClear(sizex * y + x, CLEAR_GRASS, 3); |
416 SetTileHeight(sizex * y + x, 0); |
417 SetTileHeight(sizex * y + x, 0); |
|
418 _m[sizex * y + x].extra = 0; |
|
419 ClearBridgeMiddle(sizex * y + x); |
417 } |
420 } |
418 MakeVoid(sizex * y + x); |
421 MakeVoid(sizex * y + x); |
419 } |
422 } |
420 for (x = 0; x < sizex; x++) MakeVoid(sizex * y + x); |
423 for (x = 0; x < sizex; x++) MakeVoid(sizex * y + x); |
421 } |
424 } |