EvilEngine/DYNA/ui:box: Difference between revisions
no edit summary
No edit summary |
No edit summary |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 3:
{{#vardefine:version|2}}<nowiki/>
{{#vardefine:hash|0x8C2D107D}}<nowiki/>
{{#vardefine:games|TSSM Incredibles ROTU RatProto}}<nowiki/>
{{#vardefine:sourcecode|}}<nowiki/>
{{#vardefine:image|}}<nowiki/>
</onlyinclude>
{{AutoDynaInfobox}}
==Format==
Inherits from [[EvilEngine/DYNA/zUIAsset|DYNA/zUIAsset]]
<source lang=cpp>
class zUIBoxAsset : public zUIAsset
{
public:
Part parts[9];
float borderWidth;
float borderHeight;
float widthPerUV;
float heightPerUV;
float centerWidthPerUV;
float centerHeightPerUV;
unsigned char scaleHSide;
unsigned char scaleVSide;
unsigned char scaleCenter;
unsigned char stretchUVsOnMotionScale;
unsigned char forceAlphaWrite;
};
</source>
{| class="wikitable"
! Offset !! Type !! Variable !! Description
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|}
===Part===
<source lang=cpp>
class Part
{
public:
unsigned int image;
xColor_tag color;
float u1;
float v1;
float u2;
float v2;
float u3;
float v3;
float u4;
float v4;
signed int rotation;
unsigned char enabled;
unsigned char pad[3];
};
</source>
{| class="wikitable"
! Offset !! Type !! Variable !! Description
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|}
|