17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-10-20 19:37:44 +02:00
Files
maszyna/world/TrackFeatures.h
maj00r d3ac394a43 feat(track): frogs cut from the rails and 3D sleepers switched off in the build
track_features::crossings and track_features::sleepers, both off: the rails of plain tracks and of switches with the key
frogs are laid whole as before, and no sleepers or timbers are laid whatever sleepers3d in eu07.ini sets, the ballast kept
2026-10-17 23:39:23 +02:00

22 lines
760 B
C++

/*
This Source Code Form is subject to the
terms of the Mozilla Public License, v.
2.0. If a copy of the MPL was not
distributed with this file, You can
obtain one at
http://mozilla.org/MPL/2.0/.
*/
#pragma once
// features of the tracks built into the simulator but switched off in it as a whole, whatever the scenery or eu07.ini sets
namespace track_features {
// the rails cut where they cross other rails into frogs, wing rails and check rails; off, the rails of plain tracks and of
// switches with the key frogs are laid whole, as before
bool constexpr crossings { false };
// the 3D sleepers and switch timbers of sleepers3d; off, the tracks keep their ballast whatever eu07.ini sets
bool constexpr sleepers { false };
} // namespace track_features