mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-12-01 22:07:55 +01:00
1cab605911
The base split vehicle/DynObj.cpp into vehicle/dynamic/*: the holds of the editor on the parts and the pantographs move with it. The table and the functions of the holds go to the end of vehicle/dynamic/visual.cpp, the held lamps and hooks are applied in ABuLittleUpdate there, and a held pantograph is moved at the start of updatePantographMotion (vehicle/dynamic/update.cpp), which skips the pressure-driven motion as the old loop did with continue. DynObj.h keeps both sides: the LightList of the VehicleEnd rename and the holds. The two reads of MoverParameters this branch added go through TDynamicObject, as the base's AGENTS.md asks outside physics/ and vehicle/: GetLength() for the fly-to distance, and a new query OccupiedCab() for the side of the cab entered.