VERSIÓ 1.3.7

- [NEW] music.enable() i sound.enable()
This commit is contained in:
2025-10-30 16:27:40 +01:00
parent 4172c6af3d
commit 62ac5ae92d
7 changed files with 82 additions and 1 deletions

View File

@@ -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);