mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-08 02:58:37 +01:00
refactor(track): the rail code is split by concern into gauge lines, crossings and check rails, rail materials, rail profile measuring, planning the cuts and laying the geometry, instead of one TrackRails.cpp; rail_offset reuses nearest_distance and lateral; TTrack::rail_dimensions measures the profile through track_rails::measure_rail
This commit is contained in:
@@ -96,7 +96,12 @@ set(SOURCES
|
||||
"model/Texture.cpp"
|
||||
"utilities/Timer.cpp"
|
||||
"world/Track.cpp"
|
||||
"world/TrackRails.cpp"
|
||||
"world/GaugeLine.cpp"
|
||||
"world/RailCrossings.cpp"
|
||||
"world/RailMaterials.cpp"
|
||||
"world/RailProfile.cpp"
|
||||
"world/RailPlan.cpp"
|
||||
"world/RailLayer.cpp"
|
||||
"world/Road.cpp"
|
||||
"world/Sweep.cpp"
|
||||
"world/RoadPoint.cpp"
|
||||
@@ -736,4 +741,4 @@ if(WITH_TESTS)
|
||||
# Visual Studio builds rerun them with the next change of the game)
|
||||
set_property(TARGET ${PROJECT_NAME} APPEND PROPERTY LINK_DEPENDS
|
||||
$<TARGET_FILE:eu07_unit_tests> ${UNIT_TEST_DATA} "${CMAKE_CURRENT_SOURCE_DIR}/tests/unit/run_tests.cmake")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user