summaryrefslogtreecommitdiff
path: root/functions.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-04-23 13:48:16 +0000
committertron <tron@openttd.org>2006-04-23 13:48:16 +0000
commitdd180a1e1883336a1edc3b4d6eac440f06e3685b (patch)
tree3f0769bd955cefba7ab80063e64546c1874e0a62 /functions.h
parentfa213c686ee1d348d1eb167f2423261d8040205e (diff)
downloadopenttd-dd180a1e1883336a1edc3b4d6eac440f06e3685b.tar.xz
(svn r4541) Add a type for slopes and replace many magic numbers by the appropriate enums
Diffstat (limited to 'functions.h')
-rw-r--r--functions.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.h b/functions.h
index 2603fa0c7..3d47bca61 100644
--- a/functions.h
+++ b/functions.h
@@ -9,7 +9,7 @@ void FindLandscapeHeight(TileInfo *ti, uint x, uint y);
void DoClearSquare(TileIndex tile);
void RunTileLoop(void);
-uint GetPartialZ(int x, int y, int corners);
+uint GetPartialZ(int x, int y, Slope corners);
uint GetSlopeZ(int x, int y);
uint32 GetTileTrackStatus(TileIndex tile, TransportType mode);
void GetAcceptedCargo(TileIndex tile, AcceptedCargo ac);