EvilEngine/WIRE: Difference between revisions

From Heavy Iron Modding
Content added Content deleted
Battlepedia>Igorseabra4
No edit summary
Battlepedia>Crazy Muzzarino
No edit summary
Line 26: Line 26:
};
};
</pre>
</pre>

[[Category:Asset]]

Revision as of 10:50, 21 March 2020

WIRE
Wireframe Model
TypeBinary
Games usedThe Incredibles

WIRE defines a wireframe model. Each wireframe data is stored in mnui.hip whereas loaded during the loading screens for The Incredibles. The amount of verticies start at 0x14.

Format

struct WireframeData
{
    unsigned int totalFileSize;
    unsigned int vertexAmount;
    unsigned int lineAmount;
    unsigned int hashID;
    unsigned int hashID2;
    Vector3[vertexAmount] vertices;
    Line[lineAmount] lines
};
struct Line
{
    unsigned short vertex0;
    unsigned short vertex1;
};