Difference between revisions of "0349"
Jump to navigation
Jump to search
m |
|||
(2 intermediate revisions by the same user not shown) | |||
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#Intro text|text]] | ||
+ | | syntax1 = 0349: text_draw_style = [''int''] | ||
+ | | p1t = [''int''] | ||
+ | | p1d = Font style ([[#Font styles|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. |
− | == | + | == Font styles == |
− | === | + | {|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 == | |
− | + | set, draw, intro, {{K|text}}, font, style | |
− | ==Keywords== | ||
− | draw, text, font | ||
− | |||
− |
Latest revision as of 01:12, 23 November 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 styles
Font | Name | |
---|---|---|
0 | FONT_BANK | |
1 | FONT_PAGER | |
2 | FONT_HEADING | |
3 | - |
Keywords
set, draw, intro, text, font, style