mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-04 13:45:49 +01:00
Merge branch 'master' into refactor/split-oncommands-train
Brings the branch up to date after ~6 weeks of drift (51 commits).
The only real conflict was vehicle/Train.cpp, deleted here and modified
on master by 763a76d4, which added a dynamicbrake_pos entry to
GetTrainState. That line is re-applied in its new home,
vehicle/train/TrainState.cpp; the file deletion is kept.
utilities/uart.cpp and vehicle/Driver.cpp merged cleanly: master edited
function bodies, this branch only rewrote the Train.h include paths.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -694,6 +694,7 @@ std::shared_ptr<dictionary_source> TTrain::GetTrainState(dictionary_source const
|
||||
dict->insert("mainctrl_pos_count", mvControlled->MainCtrlPosNo);
|
||||
dict->insert("main_ctrl_actual_pos", mvControlled->MainCtrlActualPos);
|
||||
dict->insert("scndctrl_pos", mvControlled->ScndCtrlPos);
|
||||
dict->insert("dynamicbrake_pos", mvControlled->DynamicBrakeCtrlPos);
|
||||
dict->insert("scnd_ctrl_actual_pos", mvControlled->ScndCtrlActualPos);
|
||||
dict->insert("brakectrl_pos", mvControlled->fBrakeCtrlPos);
|
||||
dict->insert("localbrake_pos", mvControlled->LocalBrakePosA);
|
||||
|
||||
Reference in New Issue
Block a user