Bflyt: Difference between revisions

2,690 bytes added ,  7 months ago
no edit summary
(Start on bflyt)
 
No edit summary
 
Line 49: Line 49:
|Pane
|Pane
|pan1
|pan1
|The default pane
|A default pane
|-
|-
|Picture Pane
|Picture Pane
Line 81: Line 81:
|Scissor Pane
|Scissor Pane
|scr1
|scr1
|A pane the scissors it's children
|A pane that scissors it's children
|-
|-
|Group Start
|Group Start
Line 303: Line 303:
|-
|-
|0x1
|0x1
|Unknown0
|Rotate Vector Count
|-
|-
|0x2
|0x2
Line 309: Line 309:
|-
|-
|0x1
|0x1
|Unknown1
|Font Color 2 Count
|-
|-
|0x1
|0x1
Line 353: Line 353:
|Blend Mode
|Blend Mode
|-
|-
|Unknown0
|Rotate Vector
|-
|-
|Projection Texture Gen
|Projection Texture Gen
|-
|-
|Unknown1
|Font Color 2
|-
|-
|DetailedCombiner
|DetailedCombiner
Line 763: Line 763:
|}
|}


==== Unknown0 (TODO) ====
==== Rotate Vector (TODO) ====


==== Projection Texture Gen (TODO) ====
==== Projection Texture Gen (TODO) ====


==== Unknown1 (TODO) ====
==== Font Color 2 (TODO) ====


==== Detailed Combiner (TODO) ====
==== Detailed Combiner (TODO) ====
Line 781: Line 781:
=== Vector Graphics Texture List (TODO) ===
=== Vector Graphics Texture List (TODO) ===


=== Pane Start (TODO) ===
=== Pane Start ===
{| class="wikitable"
!Offset
!Size
!Type
!Description
|-
|0x0
|0x8
|Ui2d Section Header
|Magic: "pas1"
|}


=== Pane End (TODO) ===
=== Pane End ===
{| class="wikitable"
!Offset
!Size
!Type
!Description
|-
|0x0
|0x8
|Ui2d Section Header
|Magic: "pae1"
|}


=== Pane (pan1) ===
=== Pane (pan1) ===
Line 847: Line 869:
|Vector2f
|Vector2f
|Size
|Size
|}
==== Pane System Data ====
0x10 onwards is runtime appended user data.
{| class="wikitable"
|+Note; 0-2 use unofficial names
!Name
!Enum Value
!Description
|-
|QuadScale0
|0
|
|-
|QuadScale1
|1
|
|-
|AlignmentOptions
|2
|
|-
|MaskTexture
|3
|
|-
|DropShadow
|4
|
|-
|ProceduralShape
|6
|
|-
|PaneEffect
|0x11
|
|-
|ProceduralShapeRuntime
|0x12
|
|-
|StateMachine
|0x13
|
|-
|Reserve0
|0x14
|
|-
|Root
|0x15
|
|}
|}


Line 1,059: Line 1,134:
=== Window Pane (TODO) ===
=== Window Pane (TODO) ===


=== Parts Pane (TODO) ===
=== Parts Pane ===
{| class="wikitable"
!Offset
!Size
!Type
!Description
|-
|0x0
|0x54
|Pane
|Magic: "prt1"
|-
|0x54
|0x4
|u32
|Property Count
|-
|0x58
|0x8
|Vector2f
|Magnification
|-
|0x60
|0x28 * Property Count
|Parts Property
|Property Array
|}


=== Alignment Pane (TODO) ===
==== Parts Property ====
{| class="wikitable"
!Offset
!Size
!Type
!Description
|-
|0x0
|0x18
|char[0x18]
|Property Name
|-
|0x18
|0x1
|u8
|Usage Flag
|-
|0x19
|0x1
|u8
|Basic Usage Flag
|-
|0x1a
|0x1
|u8
|Material  Usage Flag
|-
|0x1b
|0x1
|u8
|Reserved
|-
|0x1c
|0x4
|u32
|Pane Offset
|-
|0x20
|0x4
|u32
|User Data Offset
|-
|0x24
|0x4
|u32
|Pane Basic Info Offset
|}


=== Capture Pane (TODO) ===
==== Parts Pane Basic Info ====
{| class="wikitable"
!Offset
!Size
!Type
!Description
|-
|0x0
|0x8
|char[0x8]
|User Name
|-
|0x8
|0xc
|Vector3f
|Position
|-
|0x14
|0xc
|Vector3f
|Rotation
|-
|0x20
|0x8
|Vector2f
|Scale
|-
|0x28
|0x8
|Vector2f
|Size
|-
|0x30
|0x1
|u8
|Pane Alpha
|}


=== Bounding Pane (TODO) ===
=== Alignment Pane ===
{| class="wikitable"
!Offset
!Size
!Type
!Description
|-
|0x0
|0x54
|Pane
|Magic: "ali1"
|}


=== Scissor Pane (TODO) ===
=== Capture Pane ===
{| class="wikitable"
!Offset
!Size
!Type
!Description
|-
|0x0
|0x54
|Pane
|Magic: "cpt1"
|}


=== Group Start (TODO) ===
=== Bounding Pane ===
{| class="wikitable"
!Offset
!Size
!Type
!Description
|-
|0x0
|0x54
|Pane
|Magic: "bnd1"
|}


=== Group End (TODO) ===
=== Scissor Pane ===
{| class="wikitable"
!Offset
!Size
!Type
!Description
|-
|0x0
|0x54
|Pane
|Magic: "scr1"
|}


=== Group (TODO) ===
=== Group Start ===
{| class="wikitable"
!Offset
!Size
!Type
!Description
|-
|0x0
|0x8
|Ui2d Section Header
|Magic: "grs1"
|}


=== Control Source (TODO) ===
=== Group End ===
{| class="wikitable"
!Offset
!Size
!Type
!Description
|-
|0x0
|0x8
|Ui2d Section Header
|Magic: "gre1"
|}
 
=== Group ===
{| class="wikitable"
!Offset
!Size
!Type
!Description
|-
|0x0
|0x8
|Ui2d Section Header
|Magic: "grp1"
|-
|0x8
|0x21
|char[0x21]
|Group Name
|-
|0x29
|0x1
|u8
|Reserved
|-
|0x2a
|0x2
|u16
|Pane Count
|-
|0x2c
|0x18 * Pane Count
|char[ChildCount][0x18]
|Pane Name Array
|}
 
=== Control Source ===
{| class="wikitable"
!Offset
!Size
!Type
!Description
|-
|0x0
|0x8
|Ui2d Section Header
|Magic: "cnt1"
|-
|0x8
|0x4
|u32
|Name Offset
|-
|0xc
|0x4
|u32
|Name Array Offset
|-
|0x10
|0x2
|u16
|Pane Count
|-
|0x12
|0x2
|u16
|Anim Count
|-
|0x14
|0x4
|u32
|Pane Name Offset Array Offset
|-
|0x18
|0x4
|u32
|Anim Name Offset Array Offset
|-
|0x1c
|
|char[]
|Control Name
|}
39

edits