Changeset 9686 in orxonox.OLD for branches/new_class_id/src/lib/particles/sprite_particles.cc
- Timestamp:
- Aug 22, 2006, 2:36:54 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/new_class_id/src/lib/particles/sprite_particles.cc
r9406 r9686 29 29 30 30 CREATE_FACTORY(SpriteParticles, CL_SPRITE_PARTICLES); 31 NewObjectListDefinitionID(SpriteParticles, CL_SPRITE_PARTICLES); 31 32 32 33 SHELL_COMMAND(texture, SpriteParticles, setMaterialTexture) … … 68 69 void SpriteParticles::init() 69 70 { 70 this-> setClassID(CL_SPRITE_PARTICLES, "SpriteParticles");71 this->registerObject(this, SpriteParticles::_objectList); 71 72 72 73 this->material.setDiffuseMap("maps/radial-trans-noise.png");
Note: See TracChangeset
for help on using the changeset viewer.