#include <FrontierMesh.h>
Collaboration diagram for Teddy::SpaceGame::FrontierMesh:
Public Methods | |
FrontierMesh (FrontierFile *f, int ob_id, const char *name) | |
Constructor. More... | |
virtual void | debug (Uint32 command, void *data) |
Debugging information. More... | |
Protected Methods | |
void | faceBegin () |
void | faceInsertVertex (int index) |
void | faceInsertSpline (int p1, int p2, int c1, int c2) |
void | faceClose (int normal_index=-1) |
void | makeVertex (Vertex &v1, Vertex &v2) |
void | parseObject (const int object_index) |
Parse object structure from file. More... | |
void | parseVertices () |
void | parseNormals () |
Parse normals. More... | |
void | parseSpecs () |
void | parseElements () |
void | printVertices () |
Protected Attributes | |
char * | mesh_pointer |
char * | vertex_pointer |
Sint32 | vertex_count |
char * | normal_pointer |
Uint32 | normal_count |
Uint32 | unknown_2 |
Uint32 | unknown_3 |
Uint32 | radius |
Sint32 | primitive_count |
Uint32 | unknown_4 |
Uint32 | unknown_5 |
Uint32 | unknown_6 |
Uint32 | unknown_7 |
char * | collision_pointer |
char * | spec_pointer |
Uint32 | unknown_8 |
Uint32 | unknown_9 |
FrontierFile * | f |
Face * | face |
bool | face_open |
bool | face_good |
int | face_num_vertices |
int | last_vertex_index |
int_to_Vertex | vertices |
int_to_Vertex | normals |
list< Element *>::const_iterator | debug_selected_element_it |
Definition at line 46 of file FrontierMesh.h.
|
Constructor.
Definition at line 323 of file FrontierMesh.cpp. References f, parseElements(), parseNormals(), parseObject(), parseSpecs(), parseVertices(), and radius. |
|
Debugging information.
Definition at line 314 of file FrontierMesh.cpp. |
|
Definition at line 47 of file FrontierMesh.cpp. References face, face_good, and face_open. Referenced by faceInsertVertex(), and parseElements(). |
|
Definition at line 154 of file FrontierMesh.cpp. References face, face_good, face_open, and normals. Referenced by parseElements(). |
|
Definition at line 80 of file FrontierMesh.cpp. References face, face_num_vertices, face_open, last_vertex_index, and vertices. Referenced by parseElements(). |
|
Definition at line 53 of file FrontierMesh.cpp. References face, face_good, face_num_vertices, face_open, faceBegin(), last_vertex_index, and vertices. Referenced by parseElements(). |
|
Definition at line 189 of file FrontierMesh.cpp. Referenced by parseNormals(), and parseVertices(). |
|
Definition at line 541 of file FrontierMesh.cpp. References f, face, faceBegin(), faceClose(), faceInsertSpline(), faceInsertVertex(), FF_BYTE, last_vertex_index, mesh_pointer, and vertices. Referenced by FrontierMesh(). |
|
Parse normals.
Definition at line 501 of file FrontierMesh.cpp. References f, FF_BYTE, makeVertex(), normal_pointer, and normals. Referenced by FrontierMesh(). |
|
Parse object structure from file.
Definition at line 356 of file FrontierMesh.cpp. References collision_pointer, f, mesh_pointer, normal_count, normal_pointer, primitive_count, radius, spec_pointer, unknown_2, unknown_3, unknown_4, unknown_5, unknown_6, unknown_7, unknown_8, unknown_9, vertex_count, and vertex_pointer. Referenced by FrontierMesh(). |
|
Definition at line 421 of file FrontierMesh.cpp. References f, and spec_pointer. Referenced by FrontierMesh(). |
|
Definition at line 477 of file FrontierMesh.cpp. References f, FF_BYTE, makeVertex(), vertex_count, vertex_pointer, and vertices. Referenced by FrontierMesh(). |
|
Definition at line 528 of file FrontierMesh.cpp. References vertex_count, and vertices. |
|
Definition at line 80 of file FrontierMesh.h. Referenced by parseObject(). |
|
Definition at line 93 of file FrontierMesh.h. |
|
Definition at line 85 of file FrontierMesh.h. Referenced by FrontierMesh(), makeVertex(), parseElements(), parseNormals(), parseObject(), parseSpecs(), and parseVertices(). |
|
Definition at line 86 of file FrontierMesh.h. Referenced by faceBegin(), faceClose(), faceInsertSpline(), faceInsertVertex(), and parseElements(). |
|
Definition at line 88 of file FrontierMesh.h. Referenced by faceBegin(), faceClose(), and faceInsertVertex(). |
|
Definition at line 89 of file FrontierMesh.h. Referenced by faceInsertSpline(), and faceInsertVertex(). |
|
Definition at line 87 of file FrontierMesh.h. Referenced by faceBegin(), faceClose(), faceInsertSpline(), and faceInsertVertex(). |
|
Definition at line 90 of file FrontierMesh.h. Referenced by faceInsertSpline(), faceInsertVertex(), and parseElements(). |
|
Definition at line 67 of file FrontierMesh.h. Referenced by parseElements(), and parseObject(). |
|
Definition at line 71 of file FrontierMesh.h. Referenced by parseObject(). |
|
Definition at line 70 of file FrontierMesh.h. Referenced by parseNormals(), and parseObject(). |
|
Definition at line 92 of file FrontierMesh.h. Referenced by faceClose(), and parseNormals(). |
|
Definition at line 75 of file FrontierMesh.h. Referenced by parseObject(). |
|
Definition at line 74 of file FrontierMesh.h. Referenced by FrontierMesh(), and parseObject(). |
|
Definition at line 81 of file FrontierMesh.h. Referenced by parseObject(), and parseSpecs(). |
|
Definition at line 72 of file FrontierMesh.h. Referenced by parseObject(). |
|
Definition at line 73 of file FrontierMesh.h. Referenced by parseObject(). |
|
Definition at line 76 of file FrontierMesh.h. Referenced by parseObject(). |
|
Definition at line 77 of file FrontierMesh.h. Referenced by parseObject(). |
|
Definition at line 78 of file FrontierMesh.h. Referenced by parseObject(). |
|
Definition at line 79 of file FrontierMesh.h. Referenced by parseObject(). |
|
Definition at line 82 of file FrontierMesh.h. Referenced by parseObject(). |
|
Definition at line 83 of file FrontierMesh.h. Referenced by parseObject(). |
|
Definition at line 69 of file FrontierMesh.h. Referenced by parseObject(), parseVertices(), and printVertices(). |
|
Definition at line 68 of file FrontierMesh.h. Referenced by parseObject(), and parseVertices(). |
|
Definition at line 91 of file FrontierMesh.h. Referenced by faceInsertSpline(), faceInsertVertex(), makeVertex(), parseElements(), parseVertices(), and printVertices(). |