16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-22 20:59:19 +02:00

build 180306. locations definiton support for door and traction motors

This commit is contained in:
tmj-fstate
2018-03-06 20:19:34 +01:00
parent 55ae503dbb
commit 24b25ec419
6 changed files with 133 additions and 55 deletions

View File

@@ -302,7 +302,7 @@ private:
struct powertrain_sounds {
sound_source inverter { sound_placement::engine };
sound_source motor { sound_placement::external }; // generally traction motor
std::vector<sound_source> motors; // generally traction motor(s)
double motor_volume { 0.0 }; // MC: pomocnicze zeby gladziej silnik buczal
float motor_momentum { 0.f }; // recent change in motor revolutions
sound_source motor_relay { sound_placement::engine };