src/landscape.h
changeset 8224 6260e98d1c6a
parent 7831 5dded9b03500
child 8266 48fa6a084b98
equal deleted inserted replaced
8223:6a034093dc1d 8224:6260e98d1c6a
    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;