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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user