@@ -554,12 +554,12 @@ int LuaMan::Create()
554
554
.def (" HasAnySounds" , &SoundContainer::HasAnySounds)
555
555
.def (" IsBeingPlayed" , &SoundContainer::IsBeingPlayed)
556
556
.def (" Play" , (bool (SoundContainer:: *)()) &SoundContainer::Play)
557
- .def (" Play" , (bool (SoundContainer:: *)(float attenuation )) &SoundContainer::Play)
558
- .def (" Play" , (bool (SoundContainer:: *)(float attenuation , int player)) &SoundContainer::Play)
557
+ .def (" Play" , (bool (SoundContainer:: *)(const Vector &position )) &SoundContainer::Play)
558
+ .def (" Play" , (bool (SoundContainer:: *)(const Vector &position , int player)) &SoundContainer::Play)
559
559
.def (" Stop" , (bool (SoundContainer:: *)()) &SoundContainer::Stop)
560
560
.def (" Stop" , (bool (SoundContainer:: *)(int player)) &SoundContainer::Stop)
561
561
.def (" AddSound" , &SoundContainer::AddSound)
562
- .def (" UpdateAttenuation " , &SoundContainer::UpdateAttenuation )
562
+ .def (" SetPosition " , &SoundContainer::SetPosition )
563
563
.property (" Loops" , &SoundContainer::GetLoopSetting, &SoundContainer::SetLoopSetting)
564
564
.property (" Priority" , &SoundContainer::GetPriority, &SoundContainer::SetPriority)
565
565
.property (" AffectedByGlobalPitch" , &SoundContainer::IsAffectedByGlobalPitch, &SoundContainer::SetAffectedByGlobalPitch),
@@ -1487,7 +1487,7 @@ int LuaMan::Create()
1487
1487
.def (" SetMusicPosition" , &AudioMan::SetMusicPosition)
1488
1488
.def (" SetMusicPitch" , &AudioMan::SetMusicPitch)
1489
1489
.property (" SoundsVolume" , &AudioMan::GetSoundsVolume, &AudioMan::SetSoundsVolume)
1490
- .def (" SetSoundAttenuation " , &AudioMan::SetSoundAttenuation )
1490
+ .def (" SetSoundPosition " , &AudioMan::SetSoundPosition )
1491
1491
.def (" SetSoundPitch" , &AudioMan::SetSoundPitch)
1492
1492
.def (" StopAll" , &AudioMan::StopMusic)
1493
1493
.def (" PlayMusic" , &AudioMan::PlayMusic)
@@ -1497,8 +1497,8 @@ int LuaMan::Create()
1497
1497
.def (" QueueSilence" , &AudioMan::QueueSilence)
1498
1498
.def (" ClearMusicQueue" , &AudioMan::ClearMusicQueue)
1499
1499
.def (" PlaySound" , (SoundContainer *(AudioMan:: *)(const char *filePath)) &AudioMan::PlaySound)
1500
- .def (" PlaySound" , (SoundContainer *(AudioMan:: *)(const char *filePath, float attenuation , int player)) &AudioMan::PlaySound)
1501
- .def (" PlaySound" , (SoundContainer * (AudioMan:: *)(const char *filePath, float attenuation , int player, int loops, int priority, double pitchOrAffectedByGlobalPitch)) &AudioMan::PlaySound)
1500
+ .def (" PlaySound" , (SoundContainer *(AudioMan:: *)(const char *filePath, const Vector &position , int player)) &AudioMan::PlaySound)
1501
+ .def (" PlaySound" , (SoundContainer *(AudioMan:: *)(const char *filePath, const Vector &position , int player, int loops, int priority, double pitchOrAffectedByGlobalPitch, float attenuationStartDistance, bool immobile )) &AudioMan::PlaySound)
1502
1502
.def (" StopSound" , (bool (AudioMan:: *)(SoundContainer *soundContainer)) &AudioMan::StopSound)
1503
1503
.def (" StopSound" , (bool (AudioMan:: *)(SoundContainer *soundContainer, int player)) &AudioMan::StopSound)
1504
1504
.def (" FadeOutSound" , &AudioMan::FadeOutSound),
0 commit comments