Changeset 8355 in orxonox.OLD for branches/bsp_model/src/lib/graphics
- Timestamp:
- Jun 14, 2006, 1:52:03 AM (18 years ago)
- Location:
- branches/bsp_model/src/lib/graphics/importer/md3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/bsp_model/src/lib/graphics/importer/md3/md3_data.cc
r8354 r8355 133 133 { 134 134 if( fileOffset == this->header->boneFrameStart && !bBoneFrames) 135 {} 135 { 136 fileOffset += this->readBoneFrames(pFile, fileOffset); 137 bBoneFrames = true; 138 } 136 139 else if( fileOffset == this->header->tagStart && !bTags) 137 {} 140 { 141 fileOffset += this->readTags(pFile, fileOffset); 142 bTags = true; 143 } 138 144 else if( fileOffset == this->header->meshStart && !bMeshes) 139 {} 145 { 146 fileOffset += this->readMeshes(pFile, fileOffset); 147 bMeshes = true; 148 } 140 149 } 141 150 … … 228 237 * read heaader 229 238 */ 230 void MD3Data::readHeader() 231 {} 239 int MD3Data::readHeader(FILE* pFile, int fileOffset) 240 { 241 return 0; 242 } 232 243 233 244 … … 235 246 * read bone frames 236 247 */ 237 void MD3Data::readBoneFrames() 238 {} 248 int MD3Data::readBoneFrames(FILE* pFile, int fileOffset) 249 { 250 return 0; 251 } 239 252 240 253 … … 242 255 * read the tags 243 256 */ 244 void MD3Data::readTags() 245 {} 257 int MD3Data::readTags(FILE* pFile, int fileOffset) 258 { 259 return 0; 260 } 246 261 247 262 … … 249 264 * read meshes 250 265 */ 251 void MD3Data::readMeshes() 252 {} 253 254 } 255 266 int MD3Data::readMeshes(FILE* pFile, int fileOffset) 267 { 268 return 0; 269 } 270 271 } 272 -
branches/bsp_model/src/lib/graphics/importer/md3/md3_data.h
r8354 r8355 80 80 bool loadSkin(const std::string& fileName = ""); 81 81 82 void readHeader();83 void readBoneFrames();84 void readTags();85 void readMeshes();82 int readHeader(FILE* pFile, int fileOffset); 83 int readBoneFrames(FILE* pFile, int fileOffset); 84 int readTags(FILE* pFile, int fileOffset); 85 int readMeshes(FILE* pFile, int fileOffset); 86 86 87 87
Note: See TracChangeset
for help on using the changeset viewer.