diff options
author | frosch <frosch@openttd.org> | 2010-08-09 07:10:42 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2010-08-09 07:10:42 +0000 |
commit | 48c5091a7c39739e48d06ec365af4f7c713dd25a (patch) | |
tree | fae43b0772a1cf96b2684adcedc42f8f4d19e34e /src/newgrf_railtype.h | |
parent | 67c21f7e01b7f83c77e934c4fe0771324853d2ab (diff) | |
download | openttd-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.h | 3 |
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); |