Text Strings.

Discuss the future of Warzone 2100 with us.
Post Reply
User avatar
Terminator
Regular
Regular
Posts: 1063
Joined: 05 Aug 2006, 13:46
Location: Ukraine
Contact:

Text Strings.

Post by Terminator » 25 Oct 2006, 00:29

first one little thing that I wanted to see in 2.0.5_rc2 . > may be its will sounds funny but... Every time when I creat game (MP) there need to fill some fields like game name, nick,..  I noticed that in 2.0.x ver. not like in off.ver. I need to press backspace for each letter but in off  I just hold down "delete" or "backspace". I know its trifles but its begining to nervous me(as a player). ::)

ok.Topic is another. wz use like "textures" to shw the text. right ? its lettter are in image/intfac3.png & image/frend1.png. Can we just dont use that pics. Just string data. Only choose a front ? may be not everywhere use the strings to left main menu as is , but to change a chat & sys. message in game (structures names,...).

Sorry I'm not a programmer & cant value a difficulty right of this task, but as for me its sounds easy ::)
Death is the only way out... sh*t Happens !

Russian-speaking Social network Group http://vk.com/warzone2100

User avatar
DevUrandom
Regular
Regular
Posts: 1690
Joined: 31 Jul 2006, 23:14

Re: Text Strings.

Post by DevUrandom » 25 Oct 2006, 02:33

As we use OpenGL we need to get the text (string) somehow into GL.
Currently this is achieved via selecting a portion of a texture (representing a letter) and painting that onto the screen. Another method would be to transform every letter into a 3d mesh and display that. (Much work, needs artists.)
I don't know any method to directly load a font (TrueType or whatever) and display that in an GL window.

User avatar
C01eMaN
Trained
Trained
Posts: 58
Joined: 11 Aug 2006, 07:17
Location: UK
Contact:

Re: Text Strings.

Post by C01eMaN » 25 Oct 2006, 17:01

Terminator wrote: first one little thing that I wanted to see in 2.0.5_rc2 . > may be its will sounds funny but... Every time when I creat game (MP) there need to fill some fields like game name, nick,..  I noticed that in 2.0.x ver. not like in off.ver. I need to press backspace for each letter but in off  I just hold down "delete" or "backspace". I know its trifles but its begining to nervous me(as a player). ::)
ive noticed that too... i also find in skirmish that i have to select a map each time instead of the game remembering the last played one it would be nice if that was implemented too
Last edited by C01eMaN on 25 Oct 2006, 19:30, edited 1 time in total.
Im Addicted To Warzone!!!!!!!

User avatar
Terminator
Regular
Regular
Posts: 1063
Joined: 05 Aug 2006, 13:46
Location: Ukraine
Contact:

Re: Text Strings.

Post by Terminator » 25 Oct 2006, 17:37

http://prdownloads.sourceforge.net/free ... nload  - here soft that works with matrix fronts in GL or something.

here is the topic http://forum.pmg.org.ru/viewtopic.php?t=67 about fronts in GL , but its on russian (except code of course :) ). but you can use translation soft. ::)

I dont to post unnecessary info but just I want to help somehow.
Death is the only way out... sh*t Happens !

Russian-speaking Social network Group http://vk.com/warzone2100

Post Reply