17 lines
362 B
C++
17 lines
362 B
C++
#pragma once
|
|
|
|
#include <SDL2/SDL.h>
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
namespace lang
|
|
{
|
|
// Variables
|
|
std::vector<std::string> texts; // Vector con los textos
|
|
|
|
// Inicializa los textos del juego en el idioma seleccionado
|
|
bool loadFromFile(std::string filePath);
|
|
|
|
// Obtiene la cadena de texto del indice
|
|
std::string getText(int index);
|
|
} |