working on options menu, almost done

This commit is contained in:
2021-08-28 23:17:00 +02:00
parent e9fcacd7c6
commit 0341a0fe9d
7 changed files with 141 additions and 89 deletions

View File

@@ -24,7 +24,7 @@ Director::Director(std::string path)
// Inicializa el objeto de idioma
mLang = new Lang(mFileList);
// Crea el objeto y carga el fichero de configuración
// Crea el puntero a la estructura y carga el fichero de configuración
mOptions = new options_t;
if (!loadConfigFile())
{
@@ -32,11 +32,8 @@ Director::Director(std::string path)
mOptions->windowSize = 3;
mOptions->language = en_UK;
mOptions->fullScreenMode = 0;
mOptions->fullScreenModePrevious = 0;
mOptions->windowSize = 3;
mOptions->windowSizePrevious = 3;
mOptions->language = en_UK;
mOptions->languagePrevious = en_UK;
mOptions->difficulty = 0;
mOptions->player1Input = INPUT_USE_KEYBOARD;
mOptions->player2Input = INPUT_USE_GAMECONTROLLER;