equal
deleted
inserted
replaced
24 bool IsValidTile(TileIndex tile); |
24 bool IsValidTile(TileIndex tile); |
25 |
25 |
26 uint GetPartialZ(int x, int y, Slope corners); |
26 uint GetPartialZ(int x, int y, Slope corners); |
27 uint GetSlopeZ(int x, int y); |
27 uint GetSlopeZ(int x, int y); |
28 void GetSlopeZOnEdge(Slope tileh, DiagDirection edge, int *z1, int *z2); |
28 void GetSlopeZOnEdge(Slope tileh, DiagDirection edge, int *z1, int *z2); |
|
29 int GetSlopeZInCorner(Slope tileh, Corner corner); |
29 |
30 |
30 static inline Point RemapCoords(int x, int y, int z) |
31 static inline Point RemapCoords(int x, int y, int z) |
31 { |
32 { |
32 Point pt; |
33 Point pt; |
33 pt.x = (y - x) * 2; |
34 pt.x = (y - x) * 2; |