Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела

Notices

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 21.04.2005, 08:00   #11
reijii
Архивный участник
 
Join Date: Mar 2005
Posts: 39
Default

In it gly all is estimated in dwords. First two words - width and height of a texture with fonts. It's not very importlant values.
The "structure" begins with 4 dword. Such "structures" in such file can be a several. And so the third dword is a quantity of such "structures".
Each such structure describes consistently certain symbols (width height and position on a structure). The first dword in it is about a code of a symbol with which the description begin, the second dword - quantity of described symbols in this structure.
Then the description of symbols in such order (all in dwords) begins:
X-?oordinate position of a symbol on texture
width of a symbol
Y-?oordinate position of a symbol on texture
height of a symbol.
Example. If you need to describe numerals.
1st dword - texture width.
2nd dword - texture height.
3d dword - quantity of "structures" (in that example only one).
4th dword - begining from "0", 0x39 there.
5th dword - In total 10 figures, 0x0A there.
-- Describe "0" --
6th dword - position the image of zero on a texture on x-coordinate (if this coordinate is equal 0 write in dword 0xFFFFFFFF don't 0)
7th dword - zero image width on texture.
8th dword - position the image of zero on a texture on y-coordinate
9th dword - zero image height on texture.
Further describing other figures are in the same way.
In the end shit is written:
in smallfont-e.gly i wrote 0, 1, 4, 0x3BA6B24E, 0
in largefont-e.gly: 0, 1, 4, 0x765608F7, 0

(c)Ayzen (i post his patches upper)

translate by me ) sry for not very good inglis :wink:
если кому нада дам оригинал )

p.s. for texture editing i want to advise DXTbmp program
because with photoshop plugin i have some problems...
reijii is offline  
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 21:07.