17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-10-23 01:51:10 +02:00

refactor(track): the rail layout value types (crossings, sizes, check and guard rails, cuts, bands, fills, treads, layout) and the wheel and rail constants live in world/RailLayout.h in track_rails instead of inside TTrack

This commit is contained in:
maj00r
2026-10-14 09:21:19 +02:00
parent 2143cfc043
commit a88774d279
6 changed files with 189 additions and 165 deletions

View File

@@ -2610,10 +2610,10 @@ TTrack::track_rail_profile( int const Profile ) {
return m_profiles[ Profile ];
}
TTrack::rail_size
track_rails::rail_size
TTrack::rail_dimensions() const {
rail_size result;
track_rails::rail_size result;
if( m_profiles.empty() ) {
return result;
}