* Draw fence at SW border matching the tile slope. */
| 1978 | * Draw fence at SW border matching the tile slope. |
| 1979 | */ |
| 1980 | static void DrawTrackFence_SW(const TileInfo *ti, const PalSpriteID &psid, uint num_sprites) |
| 1981 | { |
| 1982 | RailFenceOffset rfo = RFO_FLAT_Y_SW; |
| 1983 | if (ti->tileh & SLOPE_SW) rfo = (ti->tileh & SLOPE_S) ? RFO_SLOPE_SE_SW : RFO_SLOPE_NW_SW; |
| 1984 | DrawTrackFence(ti, psid, num_sprites, rfo); |
| 1985 | } |
| 1986 | |
| 1987 | /** |
| 1988 | * Draw track fences. |
no test coverage detected