Changeset 9869 in orxonox.OLD for trunk/src/world_entities/bsp_entity.cc
- Timestamp:
- Oct 3, 2006, 12:19:30 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/bsp_entity.cc
r9656 r9869 15 15 16 16 #include "bsp_entity.h" 17 #include "util/loading/resource_manager.h"18 #include "util/loading/resource_manager.h"19 17 20 CREATE_FACTORY(BspEntity, CL_BSP_ENTITY); 18 #include "debug.h" 19 #include "loading/resource_manager.h" 20 21 #include "class_id_DEPRECATED.h" 22 ObjectListDefinitionID(BspEntity, CL_BSP_ENTITY); 23 CREATE_FACTORY(BspEntity); 21 24 22 25 … … 51 54 void BspEntity::init() 52 55 { 56 this->registerObject(this, BspEntity::_objectList); 53 57 54 58 this->bspManager = NULL; … … 67 71 68 72 // Check wether file exists.... 69 if ( File(Resource Manager::getFullName(name)).exists() ) {73 if ( File(Resources::ResourceManager::getInstance()->prependAbsoluteMainPath(name)).exists() ) { 70 74 71 this->setClassID(CL_BSP_ENTITY, "BspEntity");72 75 this->bspManager = new BspManager(this); 73 76
Note: See TracChangeset
for help on using the changeset viewer.