24 #include "graphics/model/model_triangle.h"
191 char texName[20] = {};
210 char texName[20] = {};
234 char texName[20] = {};
old ENG_RSTATE_TTEXTURE_WHITE
Vertex of a primitive.
Definition: vertex.h:52
Vertex with secondary texture coordinates.
Definition: vertex.h:113
old ENG_RSTATE_TTEXTURE_BLACK
triangle is always visible, no matter at what distance
VertexTex2 p2
2nd vertex
Definition: model_io_structs.h:89
triangle is visible at closest distance (highest quality)
std::string tex2Name
Name of 2nd texture.
Definition: model_io_structs.h:97
VertexTex2 p1
1st vertex
Definition: model_io_structs.h:87
Material of a surface.
Definition: material.h:45
triangle is visible at medium distance (medium quality)
int totalTriangles
Total number of triangles.
Definition: model_io_structs.h:77
VertexTex2 p3
3rd vertex
Definition: model_io_structs.h:91
ModelLODLevel
Old level-of-detail enum.
Definition: model_io_structs.h:39
Old Colobot binary model file version 3.
Definition: model_io_structs.h:226
bool variableTex2
If true, 2nd texture will be taken from current engine setting.
Definition: model_io_structs.h:99
std::string tex1Name
Name of 1st texture.
Definition: model_io_structs.h:95
Old Colobot binary model file version 2.
Definition: model_io_structs.h:202
int state
Rendering state to be set.
Definition: model_io_structs.h:103
Namespace for (new) graphics code.
Definition: app.h:49
triangle is visible at farthest distance (lowest quality)
Triangle of new model file version 1 and 2.
Definition: model_io_structs.h:84
Mesh triangle saved in new model file version 3.
Definition: model_io_structs.h:150
ModelRenderState
Old render state enum (values copied from EngineRenderState)
Definition: model_io_structs.h:53
Material material
Material.
Definition: model_io_structs.h:93
A single triangle in mesh as saved in model file.
Definition: model_triangle.h:60
Header for new model file version 1 and 2.
Definition: model_io_structs.h:72
ModelLODLevel lodLevel
LOD level (only version 1)
Definition: model_io_structs.h:101
3D (3x1) vector
Definition: vector.h:53
Old Colobot binary model file version 1.
Definition: model_io_structs.h:183
int version
File version (1, 2, ...)
Definition: model_io_structs.h:75