merge fix/neteja-warnings: repara build debug i neteja warnings

This commit is contained in:
2026-05-31 00:33:57 +02:00
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -243,7 +243,7 @@ endif()
set_source_files_properties( set_source_files_properties(
source/external/stb_image_write_impl.cpp source/external/stb_image_write_impl.cpp
source/external/stb_vorbis_impl.cpp source/external/stb_vorbis_impl.cpp
PROPERTIES COMPILE_OPTIONS "-Wno-missing-field-initializers;-Wno-deprecated-declarations" PROPERTIES COMPILE_OPTIONS "-Wno-missing-field-initializers;-Wno-deprecated-declarations;-Wno-tautological-compare"
) )
# Shaders deben compilarse antes que el ejecutable (Linux/Windows con glslc) # Shaders deben compilarse antes que el ejecutable (Linux/Windows con glslc)
+1 -1
View File
@@ -82,7 +82,7 @@ static void renderDebugCollisionTilemap(const std::vector<int>& collision_tile_m
#endif #endif
// Pinta el mapa estático // Pinta el mapa estático
void TilemapRenderer::fillMapTexture(const std::vector<int>& /*collision_tile_map*/) { void TilemapRenderer::fillMapTexture([[maybe_unused]] const std::vector<int>& collision_tile_map) {
auto previous_renderer = Screen::get()->getRendererSurface(); auto previous_renderer = Screen::get()->getRendererSurface();
Screen::get()->setRendererSurface(map_surface_); Screen::get()->setRendererSurface(map_surface_);
map_surface_->clear(bg_color_); map_surface_->clear(bg_color_);
+1 -1
View File
@@ -57,7 +57,7 @@ class Game {
}; };
// --- Métodos --- // --- Métodos ---
static void handleEvents(); // Comprueba los eventos de la cola void handleEvents(); // Comprueba los eventos de la cola
void transitionToState(State new_state); // Cambia al estado especificado y resetea los timers void transitionToState(State new_state); // Cambia al estado especificado y resetea los timers
void updatePlaying(float delta_time); // Actualiza el juego en estado PLAYING void updatePlaying(float delta_time); // Actualiza el juego en estado PLAYING
void updateBlackScreen(float delta_time); // Actualiza el juego en estado BLACK_SCREEN void updateBlackScreen(float delta_time); // Actualiza el juego en estado BLACK_SCREEN