This commit is contained in:
2024-10-10 20:59:39 +02:00
parent d6c3c89872
commit 117b80bdfc
18 changed files with 197 additions and 197 deletions

View File

@@ -80,7 +80,7 @@ Director::Director(int argc, char *argv[])
loadParams(paramFilePath);
// Carga el fichero de puntuaciones
auto manager = std::make_unique<ManageHiScoreTable>(&options.game.hiScoreTable);
auto manager = std::make_unique<ManageHiScoreTable>(&options.game.hi_score_table);
manager->loadFromFile(Asset::get()->get("score.bin"));
// Inicializa SDL
@@ -302,7 +302,7 @@ bool Director::initSDL()
{
// Crea un renderizador para la ventana. El vsync se activa en funcion de las opciones
Uint32 flags = 0;
if (options.video.vSync)
if (options.video.v_sync)
{
flags = flags | SDL_RENDERER_PRESENTVSYNC;
}