neteja clang-tidy: enums uint8_t, includes, naming i altres

This commit is contained in:
2026-05-16 23:48:07 +02:00
parent a903343385
commit 0647eceab7
41 changed files with 300 additions and 288 deletions
+7 -6
View File
@@ -2,10 +2,11 @@
#include <SDL3/SDL.h> // Para SDL_Event, SDL_Renderer, SDL_Texture, Uint64
#include <list> // Para list
#include <memory> // Para shared_ptr, unique_ptr
#include <string> // Para string
#include <vector> // Para vector
#include <cstdint> // Para std::uint8_t
#include <list> // Para list
#include <memory> // Para shared_ptr, unique_ptr
#include <string> // Para string
#include <vector> // Para vector
#include "core/system/demo.hpp" // for Demo
#include "game/entities/bullet.hpp" // for Bullet
@@ -31,7 +32,7 @@ class Texture;
struct Path;
namespace Difficulty {
enum class Code;
enum class Code : std::uint8_t;
} // namespace Difficulty
// --- Clase Game: núcleo principal del gameplay ---
@@ -71,7 +72,7 @@ class Game {
using Players = std::vector<std::shared_ptr<Player>>;
// --- Enums ---
enum class State {
enum class State : std::uint8_t {
FADE_IN, // Transición de entrada
ENTERING_PLAYER, // Jugador entrando
SHOWING_GET_READY_MESSAGE, // Mostrando mensaje de preparado