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/sprite_particles.cc

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