- Timestamp:
- Jun 16, 2006, 7:12:01 PM (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_animation_cfg.cc
r8546 r8547 188 188 Tokenizer::tokenize(line, tokens, " \t\n\r\f/"); 189 189 190 /* while( !tokens.empty())191 {192 PRINTF(5)("token: %s\n", tokens.back().c_str());193 tokens.pop_back();194 }*/195 190 anim->fps = atoi(tokens.back().c_str()); tokens.pop_back(); 196 191 anim->numLoopFrames = atoi(tokens.back().c_str()); tokens.pop_back(); -
branches/bsp_model/src/lib/graphics/importer/md3/md3_data.h
r8490 r8547 25 25 #include "md_model_structure.h" 26 26 27 #include <map> 28 27 29 28 30 //! These are the needed defines for the max values when loading .MD2 files 29 31 #define MD3_IDENT (('3'<<24) + ('P'<<16) + ('D'<<8) + 'I') //!< the md3 identifier tag in the bin file 30 32 #define MD3_VERSION 15 //!< the md2 version in the header 31 #define MD2_MAX_TRIANGLES 4096 //!< maximal triangles count32 #define MD2_MAX_VERTICES 2048 //!< maximal vertices count33 #define MD2_MAX_TEXCOORDS 2048 //!< maximal tex coordinates34 #define MD2_MAX_FRAMES 512 //!< maximal frames35 #define MD2_MAX_SKINS 32 //!< maximal skins36 #define MD2_MAX_FRAMESIZE (MD2_MAX_VERTICES * 4 + 128) //!< maximal framesize37 33 38 #define NUM_VERTEX_NORMALS 162 //!< number of vertex normals39 #define SHADEDOT_QUANT 16 //!< shade dot quantity - no idea what it is40 41 //! This stores the speed of the animation between each key frame - currently conflicting with the animation framework42 #define kAnimationSpeed 12.0f //!< animation speed43 34 44 35
Note: See TracChangeset
for help on using the changeset viewer.