Balanced Аnnihilation - Translate Russian (Руссификация) - Page 2

Balanced Аnnihilation - Translate Russian (Руссификация)

All game release threads should be posted here

Moderator: Moderators

TikiRU
Posts: 4
Joined: 08 Nov 2012, 08:43

Re: Balanced Аnnihilation - Translate Russian (Руссификация)

Post by TikiRU »

have a question:
Why do I need a graphic font LuaUI\Fonts\FreeMonoBold_12.png ?
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Re: Balanced Аnnihilation - Translate Russian (Руссификация)

Post by KDR_11k »

TikiRU wrote:
KDR_11k wrote:Hm, how difficult would it be to implement translation as a widget?
It will waste resources.
We have resources to spare.
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: Balanced Аnnihilation - Translate Russian (Руссификация)

Post by jK »

abma wrote:i don't know whats needed to make glFont, i guess you need to make glPrint support utf-8 chars.

jk/kloot can be maybe more specific...
Everything is (should be) UTF-aware means UTF in console & commands are passed as those to glPrint. So there is no need to change any other file than glFont.cpp.
The only codes that aren't UTF-aware are the textureatlas generation (in a limited way it already is, so it uses UTF to render the glyphs to the atlas, it just limits the character space to Latin_I) & the final render code. Note, it is less a freetype problem (it doesn't need any modifications of the code there) it is a pure managment & render problem. So it needs a code to load new charspaces at runtime & adding them to the textureatlas, the rest is pure c++.
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: Balanced Аnnihilation - Translate Russian (Руссификация)

Post by abma »

spring 97.0 contains these changes, so next engine release should be compatible to these changes :)
Post Reply

Return to “Game Releases”