mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-19 19:09:20 +02:00
build 170429. partial emulation of pwr system, fixed tracking of pantograph states, other minor bug fixes
This commit is contained in:
10
World.cpp
10
World.cpp
@@ -1844,11 +1844,11 @@ TWorld::Update_UI() {
|
||||
#endif
|
||||
// equipment flags
|
||||
uitextline3 = "";
|
||||
uitextline3 += ( tmp->MoverParameters->Battery ? "B" : "b" );
|
||||
uitextline3 += ( tmp->MoverParameters->Mains ? "M" : "m" );
|
||||
uitextline3 += ( tmp->MoverParameters->PantRearUp ? ( tmp->MoverParameters->PantPressSwitchActive ? "O" : "o" ) : "." );;
|
||||
uitextline3 += ( tmp->MoverParameters->PantFrontUp ? ( tmp->MoverParameters->PantPressSwitchActive ? "P" : "p" ) : "." );;
|
||||
uitextline3 += ( tmp->MoverParameters->PantPressSwitchActive ? "!" : "." );
|
||||
uitextline3 += ( tmp->MoverParameters->Battery ? "B" : "." );
|
||||
uitextline3 += ( tmp->MoverParameters->Mains ? "M" : "." );
|
||||
uitextline3 += ( tmp->MoverParameters->PantRearUp ? ( tmp->MoverParameters->PantRearVolt > 0.0 ? "O" : "o" ) : "." );;
|
||||
uitextline3 += ( tmp->MoverParameters->PantFrontUp ? ( tmp->MoverParameters->PantFrontVolt > 0.0 ? "P" : "p" ) : "." );;
|
||||
uitextline3 += ( tmp->MoverParameters->PantPressLockActive ? "!" : ( tmp->MoverParameters->PantPressSwitchActive ? "*" : "." ) );
|
||||
uitextline3 += ( tmp->MoverParameters->ConverterAllow ? ( tmp->MoverParameters->ConverterFlag ? "X" : "x" ) : "." );
|
||||
uitextline3 += ( tmp->MoverParameters->ConvOvldFlag ? "!" : "." );
|
||||
uitextline3 += ( tmp->MoverParameters->CompressorAllow ? ( tmp->MoverParameters->CompressorFlag ? "C" : "c" ) : "." );
|
||||
|
||||
Reference in New Issue
Block a user