Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5994 in orxonox.OLD for trunk/src/lib


Ignore:
Timestamp:
Dec 9, 2005, 10:43:31 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: much cleaner Model Loading unloading, model is now private to WorldEntity (not protected)

Location:
trunk/src/lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/particles/particle_system.cc

    r5944 r5994  
    383383      break;
    384384    case PARTICLE_MODEL:
    385       if (this->model)
    386         return this->count * this->model->getFaceCount();
     385      if (this->getModel(0))
     386        return this->count * this->getModel()->getFaceCount();
    387387      break;
    388388  }
     
    483483        GLfloat matrix[4][4];
    484484
    485         if (likely(this->model != NULL))
     485        if (likely(this->getModel() != NULL))
    486486          while (likely(drawPart != NULL))
    487487        {
     
    496496          glMultMatrixf((float*)matrix);
    497497
    498           this->model->draw();
     498          this->getModel()->draw();
    499499
    500500          glPopMatrix();
  • trunk/src/lib/sound/sound_engine.cc

    r5982 r5994  
    289289  }
    290290  // INITIALIZING THE DEVICE:
    291 #ifndef AL_VERSION_1_1
     291#ifdef AL_VERSION_1_1
    292292  ALubyte deviceName[] =
    293293#else
Note: See TracChangeset for help on using the changeset viewer.