16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-19 03:09:18 +02:00

Merge branch 'tmj-dev' into lua

This commit is contained in:
milek7
2017-09-15 13:48:38 +02:00
8 changed files with 179 additions and 116 deletions

View File

@@ -1052,6 +1052,7 @@ bool TWorld::Update()
Ground.CheckQuery();
Ground.Update_Hidden();
Ground.Update_Lights();
{
@@ -1452,6 +1453,10 @@ TWorld::Update_UI() {
+ ", Fr: " + to_string( tmp->MoverParameters->RunningTrack.friction, 2 )
+ ( tmp->MoverParameters->SlippingWheels ? " (!)" : "" );
if( tmp->Mechanik ) {
uitextline2 += "; Ag: " + to_string( tmp->Mechanik->fAccGravity, 2 );
}
uitextline2 +=
"; TC:"
+ to_string( tmp->MoverParameters->TotalCurrent, 0 );