Cambiado el fichero de estadisticas a stats.csv

This commit is contained in:
2022-11-18 10:43:01 +01:00
parent ee885d5ca7
commit d50b193d9f
2 changed files with 2 additions and 2 deletions

View File

@@ -1112,7 +1112,7 @@ bool Director::setFileList()
// Configuración // Configuración
asset->add(prefix + "/data/input/gamecontrollerdb.txt", t_data); asset->add(prefix + "/data/input/gamecontrollerdb.txt", t_data);
asset->add(prefix + "/data/config/config.txt", t_data, false); asset->add(prefix + "/data/config/config.txt", t_data, false);
asset->add(systemFolder + "/stats.txt", t_data, false, true); asset->add(systemFolder + "/stats.csv", t_data, false, true);
// Habitaciones // Habitaciones
asset->add(prefix + "/data/room/01.room", t_room); asset->add(prefix + "/data/room/01.room", t_room);

View File

@@ -40,7 +40,7 @@ Game::Game(SDL_Renderer *renderer, Screen *screen, Resource *resource, Asset *as
text = new Text(resource->getOffset("smb2.txt"), resource->getTexture("smb2.png"), renderer); text = new Text(resource->getOffset("smb2.txt"), resource->getTexture("smb2.png"), renderer);
music = JA_LoadMusic(asset->get("game.ogg").c_str()); music = JA_LoadMusic(asset->get("game.ogg").c_str());
deathSound = JA_LoadSound(asset->get("death.wav").c_str()); deathSound = JA_LoadSound(asset->get("death.wav").c_str());
stats = new Stats(asset->get("stats.txt")); stats = new Stats(asset->get("stats.csv"));
stats->addVisit(room->getName()); stats->addVisit(room->getName());
// Inicializa el resto de variables // Inicializa el resto de variables