(svn r11263) -Codechange: Reduce code duplication between DrawBridgePillars and HasFoundation{NW|NE}. Patch by frosch.

This commit is contained in:
rubidium
2007-10-14 20:16:44 +00:00
parent 64a6d3daad
commit 69605afdf2
3 changed files with 90 additions and 43 deletions

View File

@@ -25,6 +25,7 @@ bool IsValidTile(TileIndex tile);
uint GetPartialZ(int x, int y, Slope corners);
uint GetSlopeZ(int x, int y);
void GetSlopeZOnEdge(Slope tileh, DiagDirection edge, int *z1, int *z2);
static inline Point RemapCoords(int x, int y, int z)
{