Changeset 8351 in orxonox.OLD for branches/bsp_model/src/lib/graphics
- Timestamp:
- Jun 14, 2006, 12:17:35 AM (18 years ago)
- Location:
- branches/bsp_model/src/lib/graphics/importer
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/bsp_model/src/lib/graphics/importer/Makefile.am
r8346 r8351 29 29 md3/md3_bone_frame.cc \ 30 30 md3/md3_mesh.cc \ 31 md3/md3_data.cc 31 md3/md3_data.cc \ 32 md3/md3_tag.cc 32 33 33 34 … … 65 66 md3/md3_bone_frame.h \ 66 67 md3/md3_mesh.h \ 67 md3/md3_data.h 68 md3/md3_data.h \ 69 md3/md3_tag.h 68 70 -
branches/bsp_model/src/lib/graphics/importer/md3/md3_animation.cc
r8348 r8351 19 19 20 20 21 using namespace std; 21 namespace md3 22 { 23 24 25 26 /** 27 * create an empty MD3Animation object 28 */ 29 MD3Animation::MD3Animation() 30 { 31 this->init(); 32 } 33 34 35 /** 36 * create a new MD3 Anumation object and initialize it with the data on the given line 37 * @param line: the line to read from 38 */ 39 MD3Animation::MD3Animation(std::string line) 40 { 41 this->init(); 42 // loadAnimation() 43 } 44 45 46 /** 47 * deconstructor 48 */ 49 MD3Animation::~MD3Animation() 50 {} 51 52 53 void MD3Animation::init() 54 { 55 this->first = 0; 56 this->numFrames = 0; 57 this->fps = 0; 58 } 59 60 61 62 63 } 64 -
branches/bsp_model/src/lib/graphics/importer/md3/md3_animation.h
r8348 r8351 23 23 24 24 public: 25 /** create an empty MD3Animation object */ 26 MD3Animation() : first(0), numFrames(0), fps(0) {} 27 /** create a new MD3 Anumation object and initialize it with the data on the given line @param line: the line to read from*/ 28 MD3Animation(std::string line) : first(0), numFrames(0), fps(0) { /* loadAnimation(); */ } 25 MD3Animation(); 26 MD3Animation(std::string line); 27 virtual ~MD3Animation(); 28 29 void init(); 29 30 30 31 std::string toString() { return std::string("Name: " + this->name); } -
branches/bsp_model/src/lib/graphics/importer/md3/md3_data.cc
r8348 r8351 18 18 19 19 20 namespace md3 21 { 20 22 21 23 /******************************************************************************** … … 212 214 void MD3Data::readMeshes() 213 215 {} 216 217 } -
branches/bsp_model/src/lib/graphics/importer/md3/md3_data.h
r8348 r8351 42 42 #define kAnimationSpeed 12.0f //!< animation speed 43 43 44 45 namespace md3 46 { 44 47 45 48 //! This holds the header information that is read in at the beginning of the file: id software definition … … 109 112 110 113 111 114 } 112 115 113 116 -
branches/bsp_model/src/lib/graphics/importer/md3/md3_mesh.cc
r8348 r8351 16 16 17 17 #include "md3_mesh.h" 18 19 20 namespace md3 21 { 22 23 /** 24 * md3 mesh constructor 25 */ 26 MD3Mesh::MD3Mesh(FILE *pFile, int dataOffset) 27 { 28 } 29 30 31 /** 32 * md3 mesh deconstructor 33 */ 34 MD3Mesh::~MD3Mesh() 35 {} 36 37 } 38 -
branches/bsp_model/src/lib/graphics/importer/md3/md3_mesh.h
r8348 r8351 16 16 #include "vector.h" 17 17 18 19 namespace md3 20 { 21 18 22 class MD3Mesh 19 23 { 20 24 public: 21 MD3Mesh( ) { /* loadMesh(this, din) */ }25 MD3Mesh(FILE *pFile, int dataOffset); 22 26 virtual ~MD3Mesh(); 23 24 // FILE *pFile; //file stream25 27 26 28 … … 48 50 }; 49 51 52 } 50 53 51 54 #endif /* _MD3_MESH_H */ -
branches/bsp_model/src/lib/graphics/importer/md3/md3_model.cc
r8348 r8351 19 19 20 20 21 using namespace std; 21 namespace md3 22 { 23 24 /** 25 * md3 model 26 */ 27 MD3Model::MD3Model(FILE *pFile, int dataOffset) 28 {} 29 30 31 32 MD3Model::~MD3Model() 33 {} 34 35 36 } -
branches/bsp_model/src/lib/graphics/importer/md3/md3_model.h
r8343 r8351 16 16 17 17 18 namespace md3 19 { 20 18 21 class MD3Model 19 22 { 20 23 21 24 public: 22 MD3Model( );25 MD3Model(FILE *pFile, int dataOffset); 23 26 ~MD3Model(); 24 27 … … 48 51 MD3Model* parent; //!< reference to the MD3Model 49 52 }; 50 53 } 51 54 52 55 #endif /* _MD3_MODEL_H */
Note: See TracChangeset
for help on using the changeset viewer.