Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
#include <mesh_xml.h>
Classes | |
struct | ZeLogo |
To save the constructing of a logo. More... | |
struct | ZeTexture |
Public Types | |
enum | Names { UNKNOWN, MATERIAL, AMBIENT, DIFFUSE, SPECULAR, EMISSIVE, MESH, POINTS, POINT, LOCATION, NORMAL, POLYGONS, LINE, LOD, TRI, QUAD, LODFILE, LINESTRIP, TRISTRIP, TRIFAN, QUADSTRIP, VERTEX, LOGO, REF, POWER, REFLECT, CULLFACE, LIGHTINGON, FLATSHADE, TEXTURE, TECHNIQUE, FORCETEXTURE, ALPHAMAP, SHAREVERT, ALPHA, RED, GREEN, BLUE, X, Y, Z, I, J, K, S, T, SCALE, BLENDMODE, TYPE, ROTATE, WEIGHT, SIZE, OFFSET, ANIMATEDTEXTURE, USENORMALS, USETANGENTS, REVERSE, POLYGONOFFSET, DETAILTEXTURE, DETAILPLANE, FRAMESPERSECOND, STARTFRAME, ALPHATEST } |
enum | PointState { P_X =0x1, P_Y =0x2, P_Z =0x4, P_I =0x8, P_J =0x10, P_K =0x20 } |
Saves which attributes of vertex have been set in XML file. More... | |
enum | VertexState { V_POINT =0x1, V_S =0x2, V_T =0x4 } |
Saves which attributes of vertex have been set in Polygon for XML file. More... | |
enum | LogoState { V_TYPE =0x1, V_ROTATE =0x2, V_SIZE =0x4, V_OFFSET =0x8, V_REF =0x10 } |
Save if various logo values have been set. More... | |
Public Member Functions | |
MeshXML () | |
Static Public Attributes | |
static const EnumMap::Pair | element_names [] |
static const EnumMap::Pair | attribute_names [] |
static const EnumMap | element_map |
static const EnumMap | attribute_map |
Definition at line 4 of file mesh_xml.h.
enum MeshXML::LogoState |
enum MeshXML::Names |
Definition at line 6 of file mesh_xml.h.
enum MeshXML::PointState |
enum MeshXML::VertexState |
Saves which attributes of vertex have been set in Polygon for XML file.
Enumerator | |
---|---|
V_POINT | |
V_S | |
V_T |
Definition at line 85 of file mesh_xml.h.
|
inline |
Definition at line 128 of file mesh_xml.h.
vector< int >* MeshXML::active_ind |
Definition at line 195 of file mesh_xml.h.
vector< GFXVertex >* MeshXML::active_list |
Definition at line 194 of file mesh_xml.h.
vector< int >* MeshXML::active_shade |
Definition at line 193 of file mesh_xml.h.
|
static |
Definition at line 126 of file mesh_xml.h.
|
static |
Definition at line 124 of file mesh_xml.h.
vector< ZeTexture > MeshXML::decals |
Definition at line 161 of file mesh_xml.h.
Referenced by Mesh::LoadMeshes(), and Mesh::PostProcessLoading().
|
static |
Definition at line 125 of file mesh_xml.h.
|
static |
Definition at line 123 of file mesh_xml.h.
int MeshXML::faction |
Definition at line 200 of file mesh_xml.h.
Referenced by Mesh::LoadMeshes(), and Mesh::PostProcessLoading().
class Flightgroup* MeshXML::fg |
Definition at line 122 of file mesh_xml.h.
Referenced by Mesh::LoadMeshes(), and Mesh::PostProcessLoading().
bool MeshXML::force_texture |
Definition at line 155 of file mesh_xml.h.
Referenced by Mesh::LoadMeshes().
vector< int > MeshXML::lineind |
Definition at line 179 of file mesh_xml.h.
Referenced by Mesh::LoadMeshes(), and Mesh::PostProcessLoading().
vector< GFXVertex > MeshXML::lines |
Definition at line 168 of file mesh_xml.h.
Referenced by Mesh::LoadMeshes(), and Mesh::PostProcessLoading().
vector< int > MeshXML::linestripind |
Definition at line 181 of file mesh_xml.h.
Referenced by Mesh::LoadMeshes(), and Mesh::PostProcessLoading().
vector< vector< GFXVertex > > MeshXML::linestrips |
Definition at line 171 of file mesh_xml.h.
Referenced by Mesh::LoadMeshes(), and Mesh::PostProcessLoading().
int MeshXML::load_stage |
Definition at line 156 of file mesh_xml.h.
vector< Mesh* > MeshXML::lod |
Definition at line 196 of file mesh_xml.h.
Vector MeshXML::lodscale |
Definition at line 160 of file mesh_xml.h.
Referenced by Mesh::LoadMeshes().
vector< float > MeshXML::lodsize |
Definition at line 197 of file mesh_xml.h.
vector< ZeLogo > MeshXML::logos |
All logos on this unit.
Definition at line 149 of file mesh_xml.h.
Referenced by Mesh::LoadMeshes().
int MeshXML::lstrcnt |
Definition at line 178 of file mesh_xml.h.
GFXMaterial MeshXML::material |
Definition at line 199 of file mesh_xml.h.
Referenced by Mesh::LoadMeshes(), and Mesh::PostProcessLoading().
Mesh* MeshXML::mesh |
Definition at line 201 of file mesh_xml.h.
vector< int > MeshXML::nrmllinstrip |
Definition at line 180 of file mesh_xml.h.
vector< int > MeshXML::nrmlquadstrip |
Definition at line 188 of file mesh_xml.h.
vector< int > MeshXML::nrmltrifan |
Definition at line 186 of file mesh_xml.h.
vector< int > MeshXML::nrmltristrip |
Definition at line 184 of file mesh_xml.h.
int MeshXML::num_vertices |
Definition at line 164 of file mesh_xml.h.
int MeshXML::point_state |
Definition at line 157 of file mesh_xml.h.
int MeshXML::qstrcnt |
Definition at line 177 of file mesh_xml.h.
vector< int > MeshXML::quadind |
Definition at line 190 of file mesh_xml.h.
Referenced by Mesh::LoadMeshes(), and Mesh::PostProcessLoading().
vector< GFXVertex > MeshXML::quads |
Definition at line 170 of file mesh_xml.h.
Referenced by Mesh::LoadMeshes(), and Mesh::PostProcessLoading().
vector< int > MeshXML::quadshade |
Definition at line 192 of file mesh_xml.h.
Referenced by Mesh::PostProcessLoading().
vector< int > MeshXML::quadstripind |
Definition at line 189 of file mesh_xml.h.
Referenced by Mesh::LoadMeshes(), and Mesh::PostProcessLoading().
vector< vector< GFXVertex > > MeshXML::quadstrips |
Definition at line 174 of file mesh_xml.h.
Referenced by Mesh::LoadMeshes(), and Mesh::PostProcessLoading().
bool MeshXML::recalc_norm |
Definition at line 163 of file mesh_xml.h.
bool MeshXML::reverse |
Definition at line 154 of file mesh_xml.h.
Referenced by Mesh::LoadMeshes().
Vector MeshXML::scale |
Definition at line 159 of file mesh_xml.h.
Referenced by Mesh::LoadMeshes(), and Mesh::PostProcessLoading().
bool MeshXML::sharevert |
Definition at line 151 of file mesh_xml.h.
Referenced by Mesh::LoadMeshes(), and Mesh::PostProcessLoading().
vector< Names > MeshXML::state_stack |
Definition at line 150 of file mesh_xml.h.
string MeshXML::technique |
Definition at line 162 of file mesh_xml.h.
Referenced by Mesh::LoadMeshes(), and Mesh::PostProcessLoading().
int MeshXML::tfancnt |
Definition at line 176 of file mesh_xml.h.
vector< int > MeshXML::trifanind |
Definition at line 187 of file mesh_xml.h.
Referenced by Mesh::PostProcessLoading().
vector< vector< GFXVertex > > MeshXML::trifans |
Definition at line 173 of file mesh_xml.h.
Referenced by Mesh::LoadMeshes(), and Mesh::PostProcessLoading().
vector< int > MeshXML::triind |
for possible normal computation
Definition at line 183 of file mesh_xml.h.
Referenced by Mesh::LoadMeshes(), and Mesh::PostProcessLoading().
vector< GFXVertex > MeshXML::tris |
Definition at line 169 of file mesh_xml.h.
Referenced by Mesh::LoadMeshes(), and Mesh::PostProcessLoading().
vector< int > MeshXML::trishade |
Definition at line 191 of file mesh_xml.h.
Referenced by Mesh::PostProcessLoading().
vector< int > MeshXML::tristripind |
Definition at line 185 of file mesh_xml.h.
Referenced by Mesh::LoadMeshes(), and Mesh::PostProcessLoading().
vector< vector< GFXVertex > > MeshXML::tristrips |
Definition at line 172 of file mesh_xml.h.
Referenced by Mesh::LoadMeshes(), and Mesh::PostProcessLoading().
int MeshXML::tstrcnt |
Definition at line 175 of file mesh_xml.h.
bool MeshXML::usenormals |
Definition at line 152 of file mesh_xml.h.
Referenced by Mesh::LoadMeshes(), and Mesh::PostProcessLoading().
bool MeshXML::usetangents |
Definition at line 153 of file mesh_xml.h.
Referenced by Mesh::PostProcessLoading().
GFXVertex MeshXML::vertex |
Definition at line 198 of file mesh_xml.h.
int MeshXML::vertex_state |
Definition at line 158 of file mesh_xml.h.
vector< int > MeshXML::vertexcount |
keep count to make averaging easy
Definition at line 167 of file mesh_xml.h.
Referenced by Mesh::LoadMeshes().
vector< GFXVertex > MeshXML::vertices |
Definition at line 165 of file mesh_xml.h.
Referenced by Mesh::LoadMeshes(), and Mesh::PostProcessLoading().