activa -Wextra -Wpedantic i neteja warnings
This commit is contained in:
@@ -181,7 +181,7 @@ void LoadingScreen::updateState(float delta_time) {
|
||||
}
|
||||
|
||||
// Gestiona la carga monocromática (time-based simplificado)
|
||||
void LoadingScreen::updateMonoLoad(float delta_time) {
|
||||
void LoadingScreen::updateMonoLoad(float /*delta_time*/) {
|
||||
// Calcular progreso lineal (0.0 - 1.0)
|
||||
float progress = state_time_ / LOADING_MONO_DURATION;
|
||||
progress = std::min(progress, 1.0F);
|
||||
@@ -234,7 +234,7 @@ void LoadingScreen::updateMonoLoad(float delta_time) {
|
||||
}
|
||||
|
||||
// Gestiona la carga en color
|
||||
void LoadingScreen::updateColorLoad(float delta_time) {
|
||||
void LoadingScreen::updateColorLoad(float /*delta_time*/) {
|
||||
// Calcular progreso lineal (0.0 - 1.0)
|
||||
float progress = state_time_ / LOADING_COLOR_DURATION;
|
||||
progress = std::min(progress, 1.0F);
|
||||
|
||||
@@ -66,7 +66,7 @@ void Logo::handleInput() {
|
||||
}
|
||||
|
||||
// Gestiona el logo de JAILGAME
|
||||
void Logo::updateJAILGAMES(float delta_time) {
|
||||
void Logo::updateJAILGAMES(float /*delta_time*/) {
|
||||
// Solo actualizar durante el estado JAILGAMES_SLIDE_IN
|
||||
if (state_ != State::JAILGAMES_SLIDE_IN) {
|
||||
return;
|
||||
|
||||
@@ -164,7 +164,7 @@ void Title::handleMainMenuKeyPress(SDL_Keycode key) {
|
||||
}
|
||||
|
||||
// Comprueba las entradas
|
||||
void Title::handleInput(float delta_time) {
|
||||
void Title::handleInput(float /*delta_time*/) {
|
||||
Input::get()->update();
|
||||
|
||||
// Permitir cancelar remap con ESC/CANCEL
|
||||
|
||||
Reference in New Issue
Block a user