EvilEngine/DYNA/game object:text box
< EvilEngine | DYNA
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. |