Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8547 in orxonox.OLD for branches/bsp_model/src/lib


Ignore:
Timestamp:
Jun 16, 2006, 7:12:01 PM (18 years ago)
Author:
patrick
Message:

bsp: working on sorted maps for model links

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  
    188188    Tokenizer::tokenize(line, tokens, " \t\n\r\f/");
    189189
    190 /*    while( !tokens.empty())
    191     {
    192       PRINTF(5)("token: %s\n", tokens.back().c_str());
    193       tokens.pop_back();
    194     }*/
    195190    anim->fps = atoi(tokens.back().c_str()); tokens.pop_back();
    196191    anim->numLoopFrames = atoi(tokens.back().c_str()); tokens.pop_back();
  • branches/bsp_model/src/lib/graphics/importer/md3/md3_data.h

    r8490 r8547  
    2525#include "md_model_structure.h"
    2626
     27#include <map>
     28
    2729
    2830//! These are the needed defines for the max values when loading .MD2 files
    2931#define MD3_IDENT                       (('3'<<24) + ('P'<<16) + ('D'<<8) + 'I') //!< the md3 identifier tag in the bin file
    3032#define MD3_VERSION                     15                                       //!< the md2 version in the header
    31 #define MD2_MAX_TRIANGLES               4096                                     //!< maximal triangles count
    32 #define MD2_MAX_VERTICES                2048                                     //!< maximal vertices count
    33 #define MD2_MAX_TEXCOORDS               2048                                     //!< maximal tex coordinates
    34 #define MD2_MAX_FRAMES                  512                                      //!< maximal frames
    35 #define MD2_MAX_SKINS                   32                                       //!< maximal skins
    36 #define MD2_MAX_FRAMESIZE               (MD2_MAX_VERTICES * 4 + 128)             //!< maximal framesize
    3733
    38 #define NUM_VERTEX_NORMALS              162                                      //!< number of vertex normals
    39 #define SHADEDOT_QUANT                  16                                       //!< shade dot quantity - no idea what it is
    40 
    41 //! This stores the speed of the animation between each key frame - currently conflicting with the animation framework
    42 #define kAnimationSpeed                 12.0f                                    //!< animation speed
    4334
    4435
Note: See TracChangeset for help on using the changeset viewer.