| 929 | } |
| 930 | |
| 931 | static void TrackDesignAddSelectedTile(const CoordsXY& coords) |
| 932 | { |
| 933 | const auto& selectedTiles = MapSelection::getSelectedTiles(); |
| 934 | const auto tileIterator = std::find(selectedTiles.begin(), selectedTiles.end(), coords); |
| 935 | if (tileIterator == selectedTiles.end()) |
| 936 | { |
| 937 | MapSelection::addSelectedTile(coords); |
| 938 | } |
| 939 | } |
| 940 | |
| 941 | static void TrackDesignUpdatePreviewBounds(TrackDesignState& tds, const CoordsXYZ& coords) |
| 942 | { |
no test coverage detected