- application/driveruipanels.cpp (S3584, blocker): the UART section of the
debug panel leaked a new char*[] of the port names every frame it was open;
the names go through a vector now.
- rendering/vulkan14/vulkan14swapchain.cpp (S1048): the destructor called
destroy(), whose release_images() keeps the presentation semaphores in a
vector and may throw on allocation; the destructor catches it.
- rendering/vulkan14/vulkan14scene.cpp (S2259): walk_shadow_material()
dereferenced m_context, which own_shadow_program() just before treats as
possibly empty; it returns without a context.
- tests/unit/test_door_component.cpp, test_consist_braking.cpp (S2193): the
float loop counters become while loops summing the same time, so the cases
take exactly the steps they took before.
The step of the doors of a vehicle (their lock, the requests to open and to
close from the passengers, from the cab and by themselves, the permits, the
movement of the doors and their steps, the timers of the doors that close
after a while) and the state of their closure signalling move from
physics::Vehicle into physics::door_data (Update(), Closure()). The vehicle
hands the doors what they need as plain values (door_data::StepInputs: its
speed, whether the doors have their voltage, whether it is a multiple unit,
whether passengers are getting in or out) and keeps only that.
The doors can now be tested on their own, without a vehicle
(test_door_component.cpp): opening and closing from the cab, no movement
without the voltage, the lock over its speed, the doors closing by themselves
unless the passengers are getting in.
No change in behaviour: the golden traces recorded on dfb43c4f match bit for bit.