forked from jaildesigner-jailgames/jaildoctors_dilemma
Toquetechant includes
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user