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
+15 -13
View File
@@ -1,18 +1,20 @@
// IWYU pragma: no_include <bits/std_abs.h>
#include "surface.h"
#include <SDL3/SDL.h>
#include <cmath> // Para abs
#include <algorithm> // Para min, max, copy_n, fill
#include <cstdint> // Para uint32_t
#include <cstring> // Para memcpy, size_t
#include <fstream> // Para basic_ifstream, basic_ostream, basic_ist...
#include <iostream> // Para cerr
#include <memory> // Para shared_ptr, __shared_ptr_access, default...
#include <sstream> // Para basic_istringstream
#include <stdexcept> // Para runtime_error
#include <vector> // Para vector
#include "gif.h" // Para Gif
#include "screen.h" // Para Screen
#include <SDL3/SDL_error.h> // for SDL_GetError
#include <SDL3/SDL_timer.h> // for SDL_GetTicks
#include <stdlib.h> // for abs
#include <algorithm> // for min, max, copy_n, fill
#include <cstdint> // for uint32_t
#include <cstring> // for memcpy, size_t
#include <fstream> // for basic_ifstream, basic_ostream, basic_ist...
#include <iostream> // for cerr
#include <memory> // for shared_ptr, __shared_ptr_access, default...
#include <sstream> // for basic_istringstream
#include <stdexcept> // for runtime_error
#include <vector> // for vector
#include "gif.h" // for Gif
#include "screen.h" // for Screen
#include "utils.h" // for printWithDots
// Carga una paleta desde un archivo .gif
Palette loadPalette(const std::string &file_path)