EvilEngine/WIRE: Difference between revisions
Content added Content deleted
No edit summary |
EnergyDrink (talk | contribs) No edit summary |
||
Line 10: | Line 10: | ||
{{AutoAssetInfobox}} |
{{AutoAssetInfobox}} |
||
'''WIRE''' defines a wireframe model. Each wireframe data is stored in mnui.hip whereas loaded during the loading screens for The Incredibles |
'''WIRE''' defines a wireframe model. Each wireframe data is stored in mnui.hip whereas loaded during the loading screens for The Incredibles. |
||
==Format== |
==Format== |
||
'''zWireframeAsset''' |
|||
<pre> |
|||
{| class="wikitable" |
|||
struct WireframeData |
|||
|- |
|||
{ |
|||
! Offset !! Type !! Variable !! Description |
|||
unsigned int totalFileSize; |
|||
|- |
|||
unsigned int vertexAmount; |
|||
| 0x00 || uint || '''size''' || Total file size. |
|||
unsigned int lineAmount; |
|||
|- |
|||
unsigned int hashID; |
|||
| 0x04 || uint || '''vertexCount''' || |
|||
unsigned int hashID2; |
|||
|- |
|||
Vector3[vertexAmount] vertices; |
|||
| 0x08 || uint || '''lineCount''' || |
|||
Line[lineAmount] lines |
|||
|- |
|||
}; |
|||
| 0x0C || uint || '''hashID''' || |
|||
</pre> |
|||
|- |
|||
<pre> |
|||
| 0x10 || uint || '''hashID2''' || |
|||
struct Line |
|||
|- |
|||
{ |
|||
| 0x14 || [[Vector3]][vertexCount] || '''vertices''' || |
|||
unsigned short vertex0; |
|||
|- |
|||
unsigned short vertex1; |
|||
| || zWireframeLine*[lineCount] || '''lines''' || |
|||
}; |
|||
|} |
|||
</pre> |
|||
'''zWireframeLine''' |
|||
{| class="wikitable" |
|||
|- |
|||
! Offset !! Type !! Variable !! Description |
|||
|- |
|||
| 0x00 || short || '''start''' || |
|||
|- |
|||
| 0x02 || short || '''end''' || |
|||
|} |
|||
{{Assets}} |
{{Assets}} |