Erwan
- Language is now an option at startup - "text" line translation for cards made easier, check Res/lang/xx_cards.txt - TODO: test on PSP/Linux, performance issues ? Allow possibility to change language in options menu
This commit is contained in:
@@ -26,6 +26,7 @@ class GameStateMenu: public GameState, public JGuiListener
|
||||
//JMusic * bgMusic;
|
||||
int mVolume;
|
||||
char nbcardsStr[400];
|
||||
vector<string> langs;
|
||||
|
||||
DIR *mDip;
|
||||
struct dirent *mDit;
|
||||
@@ -38,6 +39,11 @@ class GameStateMenu: public GameState, public JGuiListener
|
||||
float angleW;
|
||||
float yW;
|
||||
void fillScroller();
|
||||
|
||||
void setLang(int id);
|
||||
string getLang(string s);
|
||||
void loadLangMenu();
|
||||
|
||||
public:
|
||||
GameStateMenu(GameApp* parent);
|
||||
virtual ~GameStateMenu();
|
||||
|
||||
Reference in New Issue
Block a user