EvilEngine/WIRE: Difference between revisions

From Heavy Iron Modding
Content added Content deleted
Battlepedia>Crazy Muzzarino
(Ensuring everything is in the pre table.)
Battlepedia>Igorseabra4
No edit summary
Line 4:
|games=The Incredibles<br>Rise of the Underminer}}
 
'''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==
<pre>
struct WireframeData
{
unsigned int FileSizetotalFileSize;
unsigned int ProbablyVertexAmountvertexAmount;
unsigned int UnknownlineAmount;
unsigned int HashIDhashID;
unsigned int HashIDhashID2;
floatVector3[VertexAmountvertexAmount] Verticiesvertices;
Line[lineAmount] lines
};
</pre>
<pre>
struct Line
{
unsigned short vertex0;
unsigned short vertex1;
};
</pre>

Revision as of 15:03, 19 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;
};