clang-tidy readability

This commit is contained in:
2025-07-20 14:56:00 +02:00
parent f5245273a1
commit ca99f7be34
57 changed files with 623 additions and 557 deletions

View File

@@ -50,8 +50,7 @@ struct VideoOptions {
std::string info; // Información sobre el modo de vídeo
// Constructor por defecto con valores iniciales
VideoOptions()
: info() {}
VideoOptions() {}
};
// --- Opciones de música ---
@@ -81,8 +80,8 @@ struct AudioOptions {
// Constructor por defecto
AudioOptions()
: music(),
sound() {}
{}
};
// --- Opciones de configuración ---
@@ -97,8 +96,7 @@ struct SettingsOptions {
// Constructor por defecto con valores iniciales
SettingsOptions()
: last_hi_score_entry({INVALID_INDEX, INVALID_INDEX}),
config_file() {}
: last_hi_score_entry({INVALID_INDEX, INVALID_INDEX}) {}
// Reinicia las últimas entradas de puntuación
void clearLastHiScoreEntries() {
@@ -121,7 +119,7 @@ struct GamepadOptions {
GamepadOptions()
: index(INVALID_INDEX),
player_id(INVALID_INDEX),
name(),
inputs{
InputAction::FIRE_LEFT,
InputAction::FIRE_CENTER,