Changeset 9869 in orxonox.OLD for trunk/src/world_entities/projectiles/hyperblast.cc
- Timestamp:
- Oct 3, 2006, 12:19:30 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/projectiles/hyperblast.cc
r9235 r9869 19 19 20 20 #include "state.h" 21 #include "class_list.h"22 21 23 #include " box_emitter.h"24 #include " spark_particles.h"22 #include "particles/box_emitter.h" 23 #include "particles/spark_particles.h" 25 24 26 25 #include "debug.h" 27 26 28 CREATE_FAST_FACTORY_STATIC(Hyperblast, CL_HYPERBLAST); 27 #include "class_id_DEPRECATED.h" 28 ObjectListDefinitionID(Hyperblast, CL_HYPERBLAST); 29 CREATE_FAST_FACTORY_STATIC(Hyperblast); 30 29 31 30 32 /** … … 33 35 Hyperblast::Hyperblast () : Projectile() 34 36 { 35 this-> setClassID(CL_HYPERBLAST, "Hyperblast");37 this->registerObject(this, Hyperblast::_objectList); 36 38 37 39 this->loadModel("models/projectiles/hyperblast.obj", 5); … … 55 57 { 56 58 /* this is normaly done by World.cc by deleting the ParticleEngine */ 57 if (Hyperblast::explosionParticles != NULL && ClassList::getList(CL_HYPERBLAST)->size() <= 1)59 if (Hyperblast::explosionParticles != NULL && Hyperblast::objectList().size() <= 1) 58 60 { 59 61 Hyperblast::explosionParticles = NULL;
Note: See TracChangeset
for help on using the changeset viewer.