Toquetechant includes

This commit is contained in:
2025-02-20 13:56:07 +01:00
parent e1d6aff724
commit 4dd6c94730
66 changed files with 4462 additions and 3097 deletions

View File

@@ -1,8 +1,8 @@
#pragma once
#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 <SDL2/SDL_rect.h> // Para SDL_Rect, SDL_Point
#include <SDL2/SDL_stdinc.h> // Para Uint8, Uint32
#include <string> // Para string, basic_string
// Estructura para definir un circulo
struct circle_t
@@ -42,6 +42,13 @@ struct color_t
Uint8 r;
Uint8 g;
Uint8 b;
// Constructor por defecto
color_t() : r(0), g(0), b(0) {}
// Constructor
color_t(Uint8 red, Uint8 green, Uint8 blue)
: r(red), g(green), b(blue) {}
};
// Tipos de paleta