arreglos d'estil pa deixar el repo com a plantilla

This commit is contained in:
2025-04-07 13:57:19 +02:00
parent 502ba7297a
commit c3e1abff13
17 changed files with 178 additions and 177 deletions

View File

@@ -1,12 +1,15 @@
#pragma once
#include <SDL3/SDL.h>
#include <array> // Para array
#include <memory> // Para default_delete, shared_ptr, __shared_pt...
#include <numeric> // Para iota
#include <string> // Para string
#include <utility> // Para move
#include "utils.h" // Para PaletteColor
#include <SDL3/SDL_rect.h> // for SDL_Rect, SDL_FRect
#include <SDL3/SDL_render.h> // for SDL_Renderer, SDL_Texture
#include <SDL3/SDL_stdinc.h> // for Uint8, Uint16, Uint32
#include <SDL3/SDL_surface.h> // for SDL_FlipMode
#include <array> // for array
#include <memory> // for default_delete, shared_ptr, __shared_p...
#include <numeric> // for iota
#include <stdexcept> // for invalid_argument
#include <string> // for string
#include <utility> // for move
// Alias
using Palette = std::array<Uint32, 256>;