Add: [NewGRF] vehicle variable 63 to test the tracktype of the current tile against a given tracktype.

This commit is contained in:
frosch
2021-01-10 14:37:40 +01:00
committed by frosch
parent 5b08960560
commit 868d84bbfc
6 changed files with 87 additions and 1 deletions

View File

@@ -48,6 +48,7 @@ struct RoadTypeResolverObject : public ResolverObject {
SpriteID GetCustomRoadSprite(const RoadTypeInfo *rti, TileIndex tile, RoadTypeSpriteGroup rtsg, TileContext context = TCX_NORMAL, uint *num_results = nullptr);
RoadType GetRoadTypeTranslation(RoadTramType rtt, uint8 tracktype, const GRFFile *grffile);
uint8 GetReverseRoadTypeTranslation(RoadType roadtype, const GRFFile *grffile);
#endif /* NEWGRF_ROADTYPE_H */