VERSIÓ 1.3.7
- [NEW] music.enable() i sound.enable()
This commit is contained in:
@@ -308,6 +308,10 @@ void JA_EnableMusic(const bool value)
|
||||
JA_musicEnabled = value;
|
||||
}
|
||||
|
||||
const bool JA_IsMusicEnabled()
|
||||
{
|
||||
return JA_musicEnabled;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -488,6 +492,11 @@ void JA_EnableSound(const bool value)
|
||||
JA_soundEnabled = value;
|
||||
}
|
||||
|
||||
const bool JA_IsSoundEnabled()
|
||||
{
|
||||
return JA_soundEnabled;
|
||||
}
|
||||
|
||||
float JA_SetVolume(float volume)
|
||||
{
|
||||
JA_SetSoundVolume(JA_SetMusicVolume(volume) / 2.0f);
|
||||
|
||||
Reference in New Issue
Block a user