Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 22, 2006, 2:36:54 PM (19 years ago)
Author:
bensch
Message:

new_class_id: many more classes done

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/new_class_id/src/lib/particles/model_particles.cc

    r9406 r9686  
    2929
    3030CREATE_FACTORY(ModelParticles, CL_MODEL_PARTICLES);
     31NewObjectListDefinitionID(ModelParticles, CL_MODEL_PARTICLES);
    3132
    3233SHELL_COMMAND(texture, ModelParticles, setMaterialTexture)
     
    6869void ModelParticles::init()
    6970{
    70   this->setClassID(CL_MODEL_PARTICLES, "ModelParticles");
     71  this->registerObject(this, ModelParticles::_objectList);
    7172
    7273  this->material.setDiffuseMap("maps/radial-trans-noise.png");
Note: See TracChangeset for help on using the changeset viewer.