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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user