48 #define MESH_HASTHABLE_SIZE (503)
54 std::vector< Vector >
v;
83 bool Update(
float ttime );
110 #define NUM_MESH_SEQUENCE (5)
111 #define NUM_ZBUF_SEQ (4)
112 #define MESH_SPECIAL_FX_ONLY (3)
130 Texture * TempGetTexture(
struct MeshXML*, std::string filename, std::string factionname,
GFXBOOL detail )
const;
133 void LoadXML(
const char *filename,
138 const vector< string >&overrideTexture );
144 const vector< string >&overrideTexture );
146 void LoadBinary(
const char *filename,
int faction );
149 static void beginElement(
void *userData,
const XML_Char *name,
const XML_Char **atts );
150 static void endElement(
void *userData,
const XML_Char *name );
153 void endElement(
struct MeshXML *xml,
const string &name );
165 private:
Mesh(
const char *filename,
const Vector &scalex,
int faction,
class Flightgroup *fg,
bool orig,
166 const std::vector< std::string > &textureOverride = std::vector< std::string > () );
170 Mesh( std::string filename,
const Vector &scalex,
int faction,
class Flightgroup *fg,
bool orig =
false );
235 Mesh *
getLOD(
float lod,
bool bBypassDamping =
true );
239 void ProcessFixedDrawQueue(
size_t whichpass,
int whichdrawqueue,
bool zsort,
const QVector &sortctr );
242 void ProcessShaderDrawQueue(
size_t whichpass,
int whichdrawqueue,
bool zsort,
const QVector &sortctr );
282 const std::vector< std::string > &textureOverride = std::vector< std::string > () );
284 const std::vector< std::string > &textureOverride = std::vector< std::string > () );
287 const std::vector< std::string > &textureOverride = std::vector< std::string > () );
310 void GetPolys( vector< mesh_polygon >& );
331 void Draw(
float lod,
336 unsigned char damage = 0,
337 bool renormalize_normals =
false,
348 static void ProcessUndrawnMeshes(
bool pushSpecialEffects =
false,
bool nocamerasetup =
false );
366 if (lodcascade && orig)
377 if (lodcascade && orig)