16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-22 12:49:18 +02:00

FS#124 Added sound entry for engine shutdown event.

This commit is contained in:
Igor Mróz
2018-06-18 23:30:19 +02:00
committed by tmj-fstate
parent 8f1292118b
commit 3b00005857
2 changed files with 9 additions and 2 deletions

View File

@@ -338,6 +338,7 @@ private:
sound_source rsWentylator { sound_placement::engine }; // McZapkie-030302
sound_source engine { sound_placement::engine }; // generally diesel engine
sound_source engine_ignition { sound_placement::engine }; // moved from cab
sound_source engine_shutdown { sound_placement::engine };
bool engine_state_last { false }; // helper, cached previous state of the engine
double engine_volume { 0.0 }; // MC: pomocnicze zeby gladziej silnik buczal
sound_source engine_revving { sound_placement::engine }; // youBy