treballant en la classe Audio
This commit is contained in:
@@ -325,13 +325,6 @@ bool setOptions(const std::string &var, const std::string &value)
|
||||
return success;
|
||||
}
|
||||
|
||||
// Convierte valores de 0 a 100 en valores de 0 a 128
|
||||
int to_JA_volume(int vol)
|
||||
{
|
||||
vol = vol * 1.28f;
|
||||
return std::clamp(vol, 0, 128);
|
||||
}
|
||||
|
||||
// Asigna el teclado al jugador
|
||||
void setKeyboardToPlayer(int player_id)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user