lang class

This commit is contained in:
2021-08-28 12:23:04 +02:00
parent cc8ef6e927
commit a54d71c990
16 changed files with 596 additions and 430 deletions

View File

@@ -43,7 +43,7 @@ private:
Sprite *mTile; // Sprite para dibujar el fondo de pantalla del título
Sprite *mGradient; // Sprite para dibujar el degradado del titulo
std::string *mFileList; // Lista de ficheros
std::string *mTextStrings; // Vector con los textos del juego
Lang *mLang; // Objeto para gestionar los textos en diferentes idiomas
Uint16 mBackgroundCounter; // Temporizador para el fondo de tiles de la pantalla de titulo
Uint16 mCounter; // Temporizador para la pantalla de titulo
Uint32 mTicks; // Contador de ticks para ajustar la velocidad del programa
@@ -92,7 +92,7 @@ private:
public:
// Constructor
Title(SDL_Window *window, SDL_Renderer *renderer, Input *input, std::string *fileList, options_t *options, std::string *textStrings);
Title(SDL_Window *window, SDL_Renderer *renderer, Input *input, std::string *fileList, options_t *options, Lang *lang);
// Destructor
~Title();