equal
deleted
inserted
replaced
30 |
30 |
31 uint GetPartialZ(int x, int y, Slope corners); |
31 uint GetPartialZ(int x, int y, Slope corners); |
32 uint GetSlopeZ(int x, int y); |
32 uint GetSlopeZ(int x, int y); |
33 void GetSlopeZOnEdge(Slope tileh, DiagDirection edge, int *z1, int *z2); |
33 void GetSlopeZOnEdge(Slope tileh, DiagDirection edge, int *z1, int *z2); |
34 int GetSlopeZInCorner(Slope tileh, Corner corner); |
34 int GetSlopeZInCorner(Slope tileh, Corner corner); |
|
35 Slope GetFoundationSlope(TileIndex tile, uint* z); |
35 |
36 |
36 static inline Point RemapCoords(int x, int y, int z) |
37 static inline Point RemapCoords(int x, int y, int z) |
37 { |
38 { |
38 Point pt; |
39 Point pt; |
39 pt.x = (y - x) * 2; |
40 pt.x = (y - x) * 2; |
53 void RunTileLoop(); |
54 void RunTileLoop(); |
54 |
55 |
55 void InitializeLandscape(); |
56 void InitializeLandscape(); |
56 void GenerateLandscape(byte mode); |
57 void GenerateLandscape(byte mode); |
57 |
58 |
58 void ConvertGroundTilesIntoWaterTiles(); |
|
59 |
|
60 TileIndex AdjustTileCoordRandomly(TileIndex a, byte rng); |
59 TileIndex AdjustTileCoordRandomly(TileIndex a, byte rng); |
61 |
60 |
62 #endif /* LANDSCAPE_H */ |
61 #endif /* LANDSCAPE_H */ |