24 #include "graphics/model/model_triangle.h" 77 int totalTriangles = 0;
99 bool variableTex2 =
true;
115 int totalCrashSpheres = 0;
117 bool hasShadowSpot =
false;
119 bool hasCameraCollisionSphere =
false;
131 int totalTriangles = 0;
171 int totalTriangles = 0;
173 int reserved[10] = {};
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)
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
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
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
3D (3x1) vector
Definition: vector.h:53
Old Colobot binary model file version 1.
Definition: model_io_structs.h:183