Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 10, 2005, 12:08:18 PM (19 years ago)
Author:
patrick
Message:

orxonox/branches/md2_laoder: changed to vector container, since its faster for this application. there are compile errors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/md2_loader/src/lib/graphics/importer/md2Model.cc

    r4141 r4142  
    2020#include <string>
    2121
    22 #include "list.h"
     22#include <vector>
    2323
    2424
     
    5656void MD2Model::draw(t3DModel *pModel)
    5757{
    58   if( pModel->objectList->getSize() <= 0) return;
     58  if( pModel->objectList->size() <= 0) return;
    5959
    6060  t3DObject *pObject = pModel->objectList->firstElement();
     
    113113{
    114114
    115   pModel->animationList = new tList<tAnimationInfo>();
    116   pModel->objectList = new tList<t3DObject>();
    117   pModel->materialList = new tList<tMaterialInfo>();
     115  pModel->animationList = new vector<tAnimationInfo>();
     116  pModel->objectList = new vector<t3DObject>();
     117  pModel->materialList = new vector<tMaterialInfo>();
    118118
    119119  this->pFile = fopen(fileName, "rb");
     
    231231          if( strLastName != "")
    232232            {
    233       printf("YYYYYYYYYYEEEEEEEEEEEEEEELLLLLLLLLLLLLLLLLLDDDDDDDDD-2!\n");
    234233              strcpy(animationInfo->strName, strLastName.c_str());
    235234              animationInfo->endFrame = i;
Note: See TracChangeset for help on using the changeset viewer.