mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-18 22:39:18 +02:00
build 171224. support for radio-transmitted sound events, configurable wheel flat sound
This commit is contained in:
@@ -2073,6 +2073,15 @@ void TWorld::CreateE3D(std::string const &Path, bool Dynamic)
|
||||
};
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// passes specified sound to all vehicles within range as a radio message broadcasted on specified channel
|
||||
void
|
||||
TWorld::radio_message( sound_source *Message, int const Channel ) {
|
||||
|
||||
if( Train != nullptr ) {
|
||||
Train->radio_message( Message, Channel );
|
||||
}
|
||||
}
|
||||
|
||||
void TWorld::CabChange(TDynamicObject *old, TDynamicObject *now)
|
||||
{ // ewentualna zmiana kabiny użytkownikowi
|
||||
if (Train)
|
||||
|
||||
Reference in New Issue
Block a user