- 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:
wagic.the.homebrew@gmail.com
2009-11-13 16:10:06 +00:00
parent 3b49f65958
commit 8390a94440
15 changed files with 13549 additions and 10923 deletions

View File

@@ -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();