Merge pull request #38 from ErLullo/amun-sound-fix

Amun's sound fix
This commit is contained in:
rtw1x1
2026-01-07 18:47:55 +00:00
committed by GitHub
3 changed files with 10 additions and 10 deletions

View File

@@ -158,8 +158,8 @@ class Console(object):
snd.SetMusicVolume(float(arg))
def SetSoundVolume(self, arg):
"Set Effect sound volumn (0 ~ 5)"
snd.SetSoundVolume(int(arg))
"Set Effect sound volumn (0 ~ 1.0)"
snd.SetSoundVolume(float(arg))
def SetSoundScale(self, arg):
"3D Sound scale (default : 200)"
@@ -509,7 +509,7 @@ class Console(object):
chr.testSetComboType(int(type))
def SetSkillGroupFake(self, index):
"""테스트 코드"""
"""테스트 코드"""
net.SetSkillGroupFake(int(index))
self.Print(" SetSkillGroupFake : %d" % int(index))
@@ -740,7 +740,7 @@ class ConsoleWindow(ui.Window):
def CloseWindow(self):
self.Hide()
## NOTE : 이곳에서 Command를 처리합니다 - [levites]
## NOTE : 이곳에서 Command를 처리합니다 - [levites]
def ProcessCommand(self, text):
if '/' == text[0]:

View File

@@ -90,7 +90,7 @@ class OptionDialog(ui.ScriptWindow):
self.SetCenterPosition()
self.ctrlMusicVolume.SetSliderPos(float(systemSetting.GetMusicVolume()))
self.ctrlSoundVolume.SetSliderPos(float(systemSetting.GetSoundVolume()) / 5.0)
self.ctrlSoundVolume.SetSliderPos(float(systemSetting.GetSoundVolume()))
self.titleBar.SetCloseEvent(ui.__mem_func__(self.Close))
self.ctrlMusicVolume.SetEvent(ui.__mem_func__(self.OnChangeMusicVolume))
@@ -288,8 +288,8 @@ class OptionDialog(ui.ScriptWindow):
def OnChangeSoundVolume(self):
pos = self.ctrlSoundVolume.GetSliderPos()
snd.SetSoundVolumef(pos)
systemSetting.SetSoundVolumef(pos)
snd.SetSoundVolume(pos)
systemSetting.SetSoundVolume(pos)
def __OnChangeMobilePhoneNumber(self):

View File

@@ -89,7 +89,7 @@ class OptionDialog(ui.ScriptWindow):
self.ctrlMusicVolume.SetSliderPos(float(systemSetting.GetMusicVolume()))
self.ctrlMusicVolume.SetEvent(ui.__mem_func__(self.OnChangeMusicVolume))
self.ctrlSoundVolume.SetSliderPos(float(systemSetting.GetSoundVolume()) / 5.0)
self.ctrlSoundVolume.SetSliderPos(float(systemSetting.GetSoundVolume()))
self.ctrlSoundVolume.SetEvent(ui.__mem_func__(self.OnChangeSoundVolume))
# self.ctrlShadowQuality.SetSliderPos(float(systemSetting.GetShadowLevel()) / 5.0)
@@ -211,8 +211,8 @@ class OptionDialog(ui.ScriptWindow):
def OnChangeSoundVolume(self):
pos = self.ctrlSoundVolume.GetSliderPos()
snd.SetSoundVolumef(pos)
systemSetting.SetSoundVolumef(pos)
snd.SetSoundVolume(pos)
systemSetting.SetSoundVolume(pos)
def OnChangeShadowQuality(self):
pos = self.ctrlShadowQuality.GetSliderPos()