Treballant en la nova tabla de records: ja pinta amb sprites

This commit is contained in:
2025-01-25 21:17:45 +01:00
parent f12a456017
commit 52a0c2b91f
5 changed files with 74 additions and 26 deletions

View File

@@ -55,6 +55,9 @@ public:
// Escribe el texto en una textura
std::shared_ptr<Texture> writeToTexture(const std::string &text, int zoom = 1, int kerning = 1);
// Escribe el texto con extras en una textura
std::shared_ptr<Texture> writeDXToTexture(Uint8 flags, const std::string &text, int kerning = 1, Color textColor = Color(), Uint8 shadow_distance = 1, Color shadow_color = Color(), int lenght = -1);
// Escribe el texto con colores
void writeColored(int x, int y, const std::string &text, Color color, int kerning = 1, int lenght = -1);