Pasaeta de include-what-you-use

Afegit fitxer CMakeLists.txt
This commit is contained in:
2025-02-21 12:02:39 +01:00
parent a08da3b983
commit 788aec0dab
50 changed files with 385 additions and 196 deletions

View File

@@ -1,9 +1,9 @@
#pragma once
#include <SDL2/SDL.h>
#include "texture.h"
#include <string>
#include <vector>
#include <SDL2/SDL_rect.h> // for SDL_Rect, SDL_Point
#include <SDL2/SDL_stdinc.h> // for Uint8, Uint32
#include <string> // for string, basic_string
#include <vector> // for vector
// Dificultad del juego
#define DIFFICULTY_EASY 0
@@ -49,9 +49,12 @@ struct line_t
// Estructura para definir un color
struct color_t
{
Uint8 r;
Uint8 g;
Uint8 b;
Uint8 r;
Uint8 g;
Uint8 b;
color_t() : r(0), g(0), b(0) {} // Constructor por defecto
color_t(Uint8 red, Uint8 green, Uint8 blue) : r(red), g(green), b(blue) {}
};
// Tipos de paleta
@@ -61,16 +64,6 @@ enum palette_e
p_zxarne
};
// Posiciones de las notificaciones
enum not_pos_e
{
pos_top,
pos_bottom,
pos_left,
pos_middle,
pos_right
};
// Estructura para saber la seccion y subseccion del programa
struct section_t
{