summaryrefslogtreecommitdiff
path: root/openttd.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-08-06 16:32:49 +0000
committertron <tron@openttd.org>2006-08-06 16:32:49 +0000
commit3254155930feb807f81031ebfdc9acedbe33745e (patch)
treef588dd076c3c98d0c2983a7f5c9e5f5dcbc4447b /openttd.h
parent7c9165827eb64c74efbad0198e97fe1a77fdb258 (diff)
downloadopenttd-3254155930feb807f81031ebfdc9acedbe33745e.tar.xz
(svn r5794) Pass the TileIndex plus x and y coordinates into GetSlopeZ_* instead of a TileInfo
Diffstat (limited to 'openttd.h')
-rw-r--r--openttd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/openttd.h b/openttd.h
index d0062fd3f..c72cbc0a4 100644
--- a/openttd.h
+++ b/openttd.h
@@ -298,7 +298,7 @@ typedef struct {
typedef void DrawTileProc(TileInfo *ti);
-typedef uint GetSlopeZProc(const TileInfo* ti);
+typedef uint GetSlopeZProc(TileIndex tile, uint x, uint y);
typedef int32 ClearTileProc(TileIndex tile, byte flags);
typedef void GetAcceptedCargoProc(TileIndex tile, AcceptedCargo res);
typedef void GetTileDescProc(TileIndex tile, TileDesc *td);