* Draw fence at SE border matching the tile slope. */
| 1958 | * Draw fence at SE border matching the tile slope. |
| 1959 | */ |
| 1960 | static void DrawTrackFence_SE(const TileInfo *ti, const PalSpriteID &psid, uint num_sprites) |
| 1961 | { |
| 1962 | RailFenceOffset rfo = RFO_FLAT_X_SE; |
| 1963 | if (ti->tileh & SLOPE_SE) rfo = (ti->tileh & SLOPE_S) ? RFO_SLOPE_SW_SE : RFO_SLOPE_NE_SE; |
| 1964 | DrawTrackFence(ti, psid, num_sprites, rfo); |
| 1965 | } |
| 1966 | |
| 1967 | /** |
| 1968 | * Draw fence at NE border matching the tile slope. |
no test coverage detected