equal
deleted
inserted
replaced
23 |
23 |
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 |
29 |
29 static inline Point RemapCoords(int x, int y, int z) |
30 static inline Point RemapCoords(int x, int y, int z) |
30 { |
31 { |
31 Point pt; |
32 Point pt; |
32 pt.x = (y - x) * 2; |
33 pt.x = (y - x) * 2; |