OBD:TSGA: Difference between revisions

471 bytes added ,  14 September 2007
no edit summary
m (design + update)
No edit summary
Line 14: Line 14:
{{OBDtr| 0x04 | lev_id  |FFFF00| 01 00 00 00 | 0    | level 0 }}
{{OBDtr| 0x04 | lev_id  |FFFF00| 01 00 00 00 | 0    | level 0 }}
{{OBDtrBK}}
{{OBDtrBK}}
{{OBDtr| 0x00 | int16    |FFC8C8| 00 00      |unused| unknown }}
{{OBDtr| 0x00 | int16    |FFC8C8| 00 00      |unused| unknown; same value as the index of the element or 0 if not used }}
{{OBDtr| 0x02 | int16    |FFFFC8| 00 00      |unused| unknown }}
{{OBDtr| 0x02 | int16    |FFFFC8| 00 00      |unused| width (in pixels) }}
{{OBDtr| 0x04 | int16    |C8FFC8| 00 00      |unused| unknown }}
{{OBDtr| 0x04 | int16    |C8FFC8| 00 00      |unused| width again? }}
{{OBDtr| 0x06 | int32   |C8FFFF| 00 00 00 00 |unused| unknown }}
{{OBDtr| 0x06 | int16   |C8FFFF| 00 00       |unused| height (in pixels) }}
{{OBDtr| 0x0A | int16    |FFC8FF| 00 00      |unused| number of used elements in the [[OBD:TSFT|TSFT]] file }}
{{OBDtr| 0x08 | int16    |C8FFFF| 00 00       |unused| unknown; always 0 }}
{{OBDtr| 0x0A | int16    |FFC8FF| 00 00      |unused| unknown }}
{{OBDtr| 0x0C | int32    |FFC800| 00 00 00 00 |unused| start element in the [[OBD:TSFT|TSFT]] file }}
{{OBDtr| 0x0C | int32    |FFC800| 00 00 00 00 |unused| start element in the [[OBD:TSFT|TSFT]] file }}
{{OBDtr| 0x10 | int32    |C800C8| 00 00 00 00 |unused| unknown; always zero }}
{{OBDtr| 0x10 | int32    |C800C8| 00 00 00 00 |unused| unknown; always 0 }}
|}
|}
A glyph is basically a monochrome bitmap width * height pixels in size. Each pixel is stored in one byte in the [[OBD:TSFT|TSFT]] file (fonts are antialiased so shades of gray are needed rather than storing each pixel in one bit) so each element in the TSFT file contains 4 pixels. Rows of pixels are not 4 bytes aligned so a row can start inside an element.




{{OBD_File_Footer | type=TSGA | prev=TSFT | next=TStr | name=Glyph Array | family=Global}}
{{OBD_File_Footer | type=TSGA | prev=TSFT | next=TStr | name=Glyph Array | family=Global}}
708

edits