Changeset 9709 in orxonox.OLD for branches/new_class_id/src/world_entities/bsp_entity.cc
- Timestamp:
- Aug 31, 2006, 10:51:08 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/new_class_id/src/world_entities/bsp_entity.cc
r9656 r9709 18 18 #include "util/loading/resource_manager.h" 19 19 20 CREATE_FACTORY(BspEntity, CL_BSP_ENTITY); 20 #include "class_id.h" 21 NewObjectListDefinitionID(BspEntity, CL_BSP_ENTITY); 22 CREATE_FACTORY(BspEntity); 21 23 22 24 … … 51 53 void BspEntity::init() 52 54 { 55 this->registerObject(this, BspEntity::_objectList); 53 56 54 57 this->bspManager = NULL; … … 69 72 if ( File(ResourceManager::getFullName(name)).exists() ) { 70 73 71 this->setClassID(CL_BSP_ENTITY, "BspEntity");72 74 this->bspManager = new BspManager(this); 73 75
Note: See TracChangeset
for help on using the changeset viewer.