18
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-12-01 18:47:06 +01:00
Files
maszyna/physics/components
Hirek 12c5bb35e7 refactor(vehicle): the helpers of the split files out of the global namespace
The split of Driver.cpp, DynObj.cpp and Train.cpp took five helpers out
of their anonymous namespaces. outside() is used in offtrack.cpp alone
and goes back into its anonymous namespace. The four shared by the parts
of a class go into a namespace of its module: vehicle_ai
(brake_response_horizon, uphill_stopping_distance), vehicle_dynamic
(seconds_since) and vehicle_cab (is_hold_coil_lever).

The rename of mover to physics also hit comments where the word meant
something else: "prime mover" and "move the master controller" are back.
2026-11-29 08:36:30 +01:00
..