Difference between revisions of "0349"
Jump to navigation
Jump to search
(page rewrite) |
|||
Line 1: | Line 1: | ||
− | + | [[File:0349.png|thumb|0349 in action]] | |
− | + | {{OpCode | |
− | ''' | + | | games = {{Icon|3}} {{Icon|SA}} |
− | ''' | + | | command = SET_<wbr>TEXT_<wbr>FONT |
+ | | description = Sets the [[GXT#Character maps|font]] of the [[Text#Display text|text]] | ||
+ | | syntax1 = 0349: text_draw_style = [''int''] | ||
+ | | p1t = [''int''] | ||
+ | | p1d = Font style (see below) | ||
+ | }} | ||
− | This sets the font | + | This opcode sets the font of the text. Using fonts outside the allowed range will produce white rectangles and may adversely affect other text. The lead image on this page shows text displayed in GTA III starting with font 0 at the top. |
− | == | + | {|class="wikitable center-col-1" |
− | + | !rowspan="2" |Font ||colspan="2" |Name | |
− | + | |- | |
− | + | !{{a|c}} |{{Icon|3}} ||{{a|c}} |{{Icon|SA}} | |
− | + | |- | |
− | + | |0 ||FONT_BANK || | |
+ | |- | ||
+ | |1 ||FONT_PAGER || | ||
+ | |- | ||
+ | |2 ||FONT_HEADING || | ||
+ | |- | ||
+ | |3 || - || | ||
+ | |} | ||
− | ==Keywords== | + | == Keywords == |
− | draw, text, font | + | set, draw, text, font, style |
− | |||
− |
Revision as of 18:32, 3 June 2016
- Description
- Sets the font of the text
- Syntax
- 0349: text_draw_style = [int]
- Parameter
- [int]
- Font style (see below)
This opcode sets the font of the text. Using fonts outside the allowed range will produce white rectangles and may adversely affect other text. The lead image on this page shows text displayed in GTA III starting with font 0 at the top.
Font | Name | |
---|---|---|
0 | FONT_BANK | |
1 | FONT_PAGER | |
2 | FONT_HEADING | |
3 | - |
Keywords
set, draw, text, font, style