summaryrefslogtreecommitdiff
path: root/src/newgrf_railtype.h
diff options
context:
space:
mode:
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);