Changes

885 bytes added ,  00:02, 24 October 2021
Added properties to the txt1 section and a quick summary
Line 286: Line 286:     
== txt1 (Text 1) ==
 
== txt1 (Text 1) ==
 +
A textbox used in layouts.
 +
The first 0x4C bytes are defined the same as [[CLYT_format#pan1_(Pane_1)|pan1]] with minor differences.
 +
{| class="wikitable" border="1"
 +
|-
 +
!  Offset
 +
!  Size
 +
!  Type
 +
!  Description
 +
|-
 +
|0x00||0x4||String||Signature (txt1)
 +
|-
 +
|0x04||0x4||UInt32||Section size (including the textbox string)
 +
|-
 +
! colspan="4"|Duplicate of pan1 from 0x8 to 0x4c
 +
|-
 +
|0x4C||0x2||Unknown||Flags
 +
|-
 +
|0x4E||0x2||Unknown||Flags
 +
|-
 +
|0x50||0x4||UInt32||Material ID
 +
|-
 +
|0x54||0x2||Unknown||Flags
 +
|-
 +
|0x56||0x2||Unknown||Padding
 +
|-
 +
|0x58||0x4||UInt32||Offset from signature to beginning of the string
 +
|-
 +
|0x5C||0x4||RGBA8||Font top color
 +
|-
 +
|0x60||0x4||RGBA8||Font bottom color
 +
|-
 +
|0x64||0x8||Vector2||Font scale
 +
|-
 +
|0x6C||0x4||Float||Horizontal font spacing
 +
|-
 +
|0x70||0x4||Float||Vertical font spacing
 +
|-
 +
|0x74||User defined||String||Textbox text (must be multiple of 4), can be usd1
 +
 +
|}
 +
 
== wnd1 (Window 1) ==
 
== wnd1 (Window 1) ==
  
7

edits