Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 17, 2006, 1:33:05 AM (18 years ago)
Author:
patrick
Message:

bsp: model now can be interconnected with other models on specified tags

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/bsp_model/src/lib/graphics/importer/md3/md3_data.h

    r8547 r8549  
    6969  virtual ~MD3Data();
    7070
     71  void addLinkedModel(int tagIndex, MD3Data* child);
     72
    7173
    7274 private:
     
    8587   int readMeshVertices(FILE* pFile, int fileOffset, int mesh);
    8688
     89
    8790 public:
    8891
    8992  MD3Header*          header;            //!< the header file
     93
     94  std::map<int, MD3Data*> sortedMap;         //!< map
     95  int                 parentTagIndex;    //!< the tag index of the parent model
     96  MD3Data*            parent;            //!< the parent model
    9097
    9198  std::string         filename;          //!< the name of the file as recorded in the .md3 file
     
    108115  MD3Mesh**           meshes;            //!< array of meshes in the model. each containing the mesh for each of the animation
    109116
    110   int                 parentTagIndex;    //!< tag index
    111 
    112   //MD3Model*           parent;            //!< reference to the MD3Model
    113 
    114 
    115117};
    116118
Note: See TracChangeset for help on using the changeset viewer.