diff options
author | rubidium <rubidium@openttd.org> | 2007-10-14 20:16:44 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-10-14 20:16:44 +0000 |
commit | 69605afdf2aa65296d8a52a138cb6533ceb53d1f (patch) | |
tree | 498093557c9197e27e72017e7160702d70dc7283 /src/landscape.h | |
parent | 64a6d3daad312145da48d6f053266215077780d7 (diff) | |
download | openttd-69605afdf2aa65296d8a52a138cb6533ceb53d1f.tar.xz |
(svn r11263) -Codechange: Reduce code duplication between DrawBridgePillars and HasFoundation{NW|NE}. Patch by frosch.
Diffstat (limited to 'src/landscape.h')
-rw-r--r-- | src/landscape.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/landscape.h b/src/landscape.h index 5c9c813cb..a4b558384 100644 --- a/src/landscape.h +++ b/src/landscape.h @@ -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) { |