treballant en arreglas els includes de SDL3

This commit is contained in:
2025-07-18 13:58:58 +02:00
parent e4b16a6602
commit 2aaba7938c
77 changed files with 3211 additions and 2458 deletions

View File

@@ -1,9 +1,9 @@
#include "asset.h"
#include <SDL3/SDL_log.h> // Para SDL_LogInfo, SDL_LogCategory, SDL_LogError
#include <algorithm> // Para find_if, max
#include <fstream> // Para basic_ifstream, ifstream
#include <string> // Para allocator, string, char_traits, operator+
#include "utils.h" // Para getFileName
#include <SDL3/SDL.h> // Para SDL_LogInfo, SDL_LogCategory, SDL_LogError
#include <algorithm> // Para find_if, max
#include <fstream> // Para basic_ifstream, ifstream
#include <string> // Para allocator, string, char_traits, operator+
#include "utils.h" // Para getFileName
// Singleton
Asset *Asset::instance_ = nullptr;
@@ -14,7 +14,7 @@ void Asset::init(const std::string &executable_path) { Asset::instance_ = new As
// Libera la instancia
void Asset::destroy() { delete Asset::instance_; }
// Obtiene la instancia
// Obtiene la instancia
Asset *Asset::get() { return Asset::instance_; }
// Añade un elemento a la lista