summaryrefslogtreecommitdiff
path: root/src/newgrf_railtype.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2010-08-09 07:10:42 +0000
committerfrosch <frosch@openttd.org>2010-08-09 07:10:42 +0000
commit48c5091a7c39739e48d06ec365af4f7c713dd25a (patch)
treefae43b0772a1cf96b2684adcedc42f8f4d19e34e /src/newgrf_railtype.h
parent67c21f7e01b7f83c77e934c4fe0771324853d2ab (diff)
downloadopenttd-48c5091a7c39739e48d06ec365af4f7c713dd25a.tar.xz
(svn r20420) -Codechange: Add TileContext enum instead of using a bool.
Diffstat (limited to 'src/newgrf_railtype.h')
-rw-r--r--src/newgrf_railtype.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/newgrf_railtype.h b/src/newgrf_railtype.h
index 24004f915..770bc1b71 100644
--- a/src/newgrf_railtype.h
+++ b/src/newgrf_railtype.h
@@ -13,8 +13,9 @@
#define NEWGRF_RAILTYPE_H
#include "rail.h"
+#include "newgrf_commons.h"
-SpriteID GetCustomRailSprite(const RailtypeInfo *rti, TileIndex tile, RailTypeSpriteGroup rtsg, bool upper_halftile = false);
+SpriteID GetCustomRailSprite(const RailtypeInfo *rti, TileIndex tile, RailTypeSpriteGroup rtsg, TileContext context = TC_NORMAL);
uint8 GetReverseRailTypeTranslation(RailType railtype, const GRFFile *grffile);