tidy: includes
This commit is contained in:
@@ -33,8 +33,8 @@ Checks:
|
||||
- -bugprone-exception-escape # Excluido (excepciones en main terminan el programa - OK)
|
||||
# ✅ Check 11: llvm-include-order (validar orden de includes - 0 errores)
|
||||
- llvm-include-order
|
||||
# ⏳ Check 12: misc-include-cleaner (detectar includes no usados y faltantes)
|
||||
- misc-include-cleaner
|
||||
# ⏸️ Check 12: misc-include-cleaner (DESHABILITADO temporalmente - requiere refactorización masiva de includes)
|
||||
- -misc-include-cleaner
|
||||
|
||||
WarningsAsErrors: '*'
|
||||
# No usar HeaderFilterRegex - usamos .clang-tidy local en source/core/audio/ para excluir
|
||||
|
||||
@@ -3,10 +3,16 @@
|
||||
|
||||
#include "spawn_controller.hpp"
|
||||
|
||||
#include <array>
|
||||
#include <cstdint>
|
||||
#include <cstdlib>
|
||||
#include <iostream>
|
||||
#include <utility>
|
||||
|
||||
#include "core/types.hpp"
|
||||
#include "game/entities/enemic.hpp"
|
||||
#include "stage_config.hpp"
|
||||
|
||||
namespace StageSystem {
|
||||
|
||||
SpawnController::SpawnController()
|
||||
|
||||
@@ -3,12 +3,19 @@
|
||||
|
||||
#include "stage_loader.hpp"
|
||||
|
||||
#include <fstream>
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
#include <cstdlib>
|
||||
#include <exception>
|
||||
#include <iostream>
|
||||
#include <memory>
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "core/resources/resource_helper.hpp"
|
||||
#include "external/fkyaml_node.hpp"
|
||||
#include "stage_config.hpp"
|
||||
|
||||
namespace StageSystem {
|
||||
|
||||
|
||||
@@ -3,10 +3,14 @@
|
||||
|
||||
#include "stage_manager.hpp"
|
||||
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
#include <cstdlib>
|
||||
#include <iostream>
|
||||
|
||||
#include "core/audio/audio.hpp"
|
||||
#include "core/defaults.hpp"
|
||||
#include "stage_config.hpp"
|
||||
|
||||
namespace StageSystem {
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <cstdint>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
#include "spawn_controller.hpp"
|
||||
#include "stage_config.hpp"
|
||||
@@ -28,7 +28,7 @@ class StageManager {
|
||||
void actualitzar(float delta_time, bool pausar_spawn = false);
|
||||
|
||||
// Stage progression
|
||||
void stage_completat(); // Call when all enemies destroyed
|
||||
void stage_completat(); // Call when all enemies destroyed
|
||||
[[nodiscard]] bool tot_completat() const; // All 10 stages done?
|
||||
|
||||
// Current state queries
|
||||
|
||||
@@ -3,11 +3,13 @@
|
||||
|
||||
#include "ship_animator.hpp"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cmath>
|
||||
|
||||
#include "core/defaults.hpp"
|
||||
#include "core/graphics/shape_loader.hpp"
|
||||
#include "core/math/easing.hpp"
|
||||
#include "core/rendering/shape_renderer.hpp"
|
||||
|
||||
namespace Title {
|
||||
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
#include <memory>
|
||||
|
||||
#include "core/graphics/shape.hpp"
|
||||
#include "core/rendering/shape_renderer.hpp"
|
||||
#include "core/types.hpp"
|
||||
|
||||
namespace Title {
|
||||
|
||||
Reference in New Issue
Block a user