mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-19 19:09:20 +02:00
vehicle engine voltage calculation tweak, minor gfx renderer logging enhancements
This commit is contained in:
@@ -598,11 +598,11 @@ debug_panel::update_section_vehicle( std::vector<text_line> &Output ) {
|
||||
// power transfers
|
||||
mover.Couplers[ end::front ].power_high.voltage,
|
||||
mover.Couplers[ end::front ].power_high.current,
|
||||
std::string( mover.Couplers[ end::front ].power_high.is_local ? "" : "-" ).c_str(),
|
||||
std::string( vehicle.DirectionGet() ? ":<<" : ":>>" ).c_str(),
|
||||
mover.Voltage,
|
||||
std::string( vehicle.DirectionGet() ? "<<:" : ">>:" ).c_str(),
|
||||
std::string( mover.Couplers[ end::rear ].power_high.is_local ? "" : "-" ).c_str(),
|
||||
std::string( mover.Couplers[ end::front ].power_high.is_local ? ":" : ":=" ).c_str(),
|
||||
std::string( vehicle.DirectionGet() ? "<<" : ">>" ).c_str(),
|
||||
mover.EngineVoltage,
|
||||
std::string( vehicle.DirectionGet() ? "<<" : ">>" ).c_str(),
|
||||
std::string( mover.Couplers[ end::rear ].power_high.is_local ? ":" : "=:" ).c_str(),
|
||||
mover.Couplers[ end::rear ].power_high.voltage,
|
||||
mover.Couplers[ end::rear ].power_high.current );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user