De moment ja compila i executa, encara que no troba alguns fitxers

This commit is contained in:
2025-02-25 23:03:16 +01:00
parent 32c31a8cb6
commit a07a08adb7
45 changed files with 537 additions and 680 deletions

View File

@@ -1,11 +1,9 @@
#include "debug.h"
#include <algorithm> // Para max
#include "asset.h" // Para Asset
#include "text.h" // Para Text
#include "texture.h" // Para Texture
#include "utils.h"
#include "screen.h"
#include "resource.h"
#include <algorithm> // for max
#include "resource.h" // for Resource
#include "screen.h" // for Screen
#include "text.h" // for Text
#include "utils.h" // for Color
// [SINGLETON]
Debug *Debug::debug_ = nullptr;
@@ -36,7 +34,7 @@ Debug::Debug()
{
// Reserva memoria para los punteros
texture_ = Resource::get()->getTexture("debug.png");
text_ = Resource::get()->getText("debug.txt");
text_ = Resource::get()->getText("debug");
}
// Actualiza las variables