EvilEngine/DYNA/game object:text box: Difference between revisions
< EvilEngine | DYNA
Content added Content deleted
No edit summary |
m (Seil moved page DYNA/game object:text box to EvilEngine/DYNA/game object:text box) |
||
(One intermediate revision by one other user not shown) | |||
Line 3: | Line 3: | ||
{{#vardefine:version|1}}<nowiki/> |
{{#vardefine:version|1}}<nowiki/> |
||
{{#vardefine:hash|0x442E1337}}<nowiki/> |
{{#vardefine:hash|0x442E1337}}<nowiki/> |
||
{{#vardefine:games|BFBB TSSM Incredibles ROTU}}<nowiki/> |
{{#vardefine:games|BFBB TSSM Incredibles ROTU RatProto}}<nowiki/> |
||
{{#vardefine:sourcecode|[https://github.com/bfbbdecomp/bfbb/blob/master/src/Game/zTextBox.h zTextBox.h]}}<nowiki/> |
{{#vardefine:sourcecode|[https://github.com/bfbbdecomp/bfbb/blob/master/src/Game/zTextBox.h zTextBox.h]}}<nowiki/> |
||
{{#vardefine:image|}}<nowiki/> |
{{#vardefine:image|}}<nowiki/> |
Latest revision as of 14:45, 16 September 2022
game_object:text_box | |
---|---|
Version | 1 |
Hash | 0x442E1337 |
Games used | Battle for Bikini Bottom The SpongeBob SquarePants Movie |
Source code | zTextBox.h |
Offset | Type | Description |
---|---|---|
0x00 | AssetID (Text) | text |
0x04 | float | bounds.x - X position (0 to 1) |
0x08 | float | bounds.y - Y position (0 to 1) |
0x0C | float | bounds.w - Width (0 to 1) |
0x10 | float | bounds.h - Height (0 to 1) |
0x14 | uint | font
|
0x18 | float | size.width - Text width (0 to 1) |
0x1C | float | size.height - Text height (0 to 1) |
0x20 | float | space.x - Char X spacing (0 to 1) |
0x24 | float | space.y - Char Y spacing (0 to 1) |
0x28 | Color | color |
0x2C | float | inset.left (0 to 1) |
0x30 | float | inset.top (0 to 1) |
0x34 | float | inset.right (0 to 1) |
0x38 | float | inset.bottom (0 to 1) |
0x3C | int | xjustify (text alignment)
|
0x40 | int | expand (expand mode)
|
0x44 | float | max_height (0 to 1)
|
0x48 | uint | backdrop.type
|
0x4C | Color | backdrop.color |
0x50 | AssetID (Texture) | backdrop.texture - this is 0 if backdrop.type isn't set to Texture. |