Acabat de renamar, encara que he descobert cosetes i tindré que fer altra pasaeta

Actualitzat stb_image.h a la última versió
This commit is contained in:
2024-10-12 22:25:43 +02:00
parent cce14dba4d
commit 33ea8d90ca
16 changed files with 528 additions and 431 deletions

View File

@@ -7,13 +7,13 @@ namespace lang
std::vector<std::string> texts; // Vector con los textos
// Inicializa los textos del juego en el idioma seleccionado
bool loadFromFile(std::string filePath)
bool loadFromFile(std::string file_path)
{
texts.clear();
bool success = false;
std::ifstream rfile(filePath);
std::ifstream rfile(file_path);
if (rfile.is_open() && rfile.good())
{
success = true;