Difference between revisions of "Talk:Tanks"

From WiiBrew
Jump to navigation Jump to search
Line 21: Line 21:
 
Could you maybe share the language detection code?
 
Could you maybe share the language detection code?
 
Would be really nice, as I didn't found any examples in the devkit/libogc or the internet. xander150 14:29, 10. April 2009 GMT+1
 
Would be really nice, as I didn't found any examples in the devkit/libogc or the internet. xander150 14:29, 10. April 2009 GMT+1
 +
 +
You just need to include ogcsys.h, then execute this function:
 +
 +
s32 lang = CONF_GetLanguage();
 +
 +
Then you can check the language comparing "lang" with the following constants
 +
 +
0 == CONF_LANG_JAPANESE
 +
1 == CONF_LANG_ENGLISH
 +
2 == CONF_LANG_GERMAN
 +
3 == CONF_LANG_FRENCH
 +
4 == CONF_LANG_SPANISH
 +
5 == CONF_LANG_ITALIAN
 +
6 == CONF_LANG_DUTCH
 +
7 == CONF_LANG_SIMP_CHINESE
 +
8 == CONF_LANG_TRAD_CHINESE
 +
9 == CONF_LANG_KOREAN
 +
 +
hope that this helped :) --[[User:Grillo|Grillo]] 18:41, 25 April 2009 (UTC)

Revision as of 20:41, 25 April 2009

General Chat

Looks good so far, will probably be able to test 4 player at some point in the coming week (I've only got a couple of wiimotes, but can probably get a friends to test) ;) JD 23:49, 9 June 2008 (CEST)

Thx, I'll be waiting for the results xD --Grillo 04:32, 10 June 2008 (CEST)
Not had chance to do it yet, but hopefully over this weekend ;) also I've got my wii set up through composite input on my pc, so if you want I'll record a proper little video for you? JD 17:54, 14 June 2008 (CEST)
:D it would be awesome ^^, if you do that, just change it for the one that i uploaded ;D--Grillo 20:29, 14 June 2008 (CEST)

Request/WishList

Bugs

In homebrew apps?

Should this article be under "homebrew apps"?Felix 06:59, 14 June 2008 (CEST)

I'll move it there when i rewrite the game to C++ & wiilibsprite, but looking at my calendar... I think that in 2 weeks i will have enough free time to finish that--Grillo 19:59, 14 June 2008 (CEST)

Langauge detection

Could you maybe share the language detection code? Would be really nice, as I didn't found any examples in the devkit/libogc or the internet. xander150 14:29, 10. April 2009 GMT+1

You just need to include ogcsys.h, then execute this function:

s32 lang = CONF_GetLanguage();

Then you can check the language comparing "lang" with the following constants

0 == CONF_LANG_JAPANESE
1 == CONF_LANG_ENGLISH
2 == CONF_LANG_GERMAN
3 == CONF_LANG_FRENCH
4 == CONF_LANG_SPANISH
5 == CONF_LANG_ITALIAN
6 == CONF_LANG_DUTCH
7 == CONF_LANG_SIMP_CHINESE
8 == CONF_LANG_TRAD_CHINESE
9 == CONF_LANG_KOREAN

hope that this helped :) --Grillo 18:41, 25 April 2009 (UTC)