src/landscape.h
changeset 7770 320d260ff1a1
parent 7728 68e794385dc9
child 8119 52b48108425a
equal deleted inserted replaced
7769:f072d6bb8b99 7770:320d260ff1a1
    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;