What changes for the player:
- the OFF position of the headlights dimmer puts out the headlights at the
end of the active cab: A from cab 1, B from cab -1. It took the numbers
of the ends for the numbers of the cabs, so cab 1 put out B, the end
behind the driver, and cab -1 nothing (eff9fe88)
- each pantograph meters the energy it draws at its own voltage; it took
the voltage of the other one, so a vehicle of one pantograph metered
none
- with the live traction, a pantograph counts as touching the wire by the
switch of its own end (the current shared between the pantographs);
every one was counted by the switch of the front one
- radiatorfan2: in the sounds of the .mmd is read as radiatorfan1: is; only
radiatorfan2 without the colon was. No vehicle of the game data uses
either form of it, so no vehicle sounds different, and the old form is
still read
Faults that couldn't show in a usual consist, fixed:
- the pantographs of more than 8 units in multiple went past the end of
the table of the cab (TTrain::bPants), the compressors next to them had
the check already
- the overload relay of the converter dereferenced the driver of the
vehicle without checking there is one
- an empty row of the table of the consist kept the spring brake pressure
of the vehicle there before
- more than 8 wipers went past the end of the state of the wipers
And a tidy-up of no effect: a motor blower sound looks at the speed of its
own blower, not of the front one (both are the speed of the .fiz).
CabEnd() and PantographEnd() (physics/vehicletypes.h) give the end of a cab
and of a pantograph of the model; test_vehicle_ends.cpp tests them and the
rest of the vocabulary of the ends.
Left as they are, for someone who knows what they should do: FfulED of the
braking of a consist of induction motors (TDynamicObject::Update) is assigned
rather than summed and is never above 0, so with ScndS above fullSpeed the
force asked of the ED brake is 0; and the calibration check of the brake
handle of the PoKeys desk (TTrain::updateBrakeControllers) is never tested,
by the precedence of ?: and &&.
1149/1149 tests; golden traces exact against staging 62f7a29b.