Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9869 in orxonox.OLD for trunk/src/world_entities/bsp_entity.cc


Ignore:
Timestamp:
Oct 3, 2006, 12:19:30 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: merged the new_class_id branche back to the trunk.
merged with command:
svn merge https://svn.orxonox.net/orxonox/branches/new_class_id trunk -r9683:HEAD
no conflicts… puh..

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/bsp_entity.cc

    r9656 r9869  
    1515
    1616#include "bsp_entity.h"
    17 #include "util/loading/resource_manager.h"
    18 #include "util/loading/resource_manager.h"
    1917
    20 CREATE_FACTORY(BspEntity, CL_BSP_ENTITY);
     18#include "debug.h"
     19#include "loading/resource_manager.h"
     20
     21#include "class_id_DEPRECATED.h"
     22ObjectListDefinitionID(BspEntity, CL_BSP_ENTITY);
     23CREATE_FACTORY(BspEntity);
    2124
    2225
     
    5154void BspEntity::init()
    5255{
     56  this->registerObject(this, BspEntity::_objectList);
    5357
    5458  this->bspManager = NULL;
     
    6771
    6872  // Check wether file exists....
    69   if ( File(ResourceManager::getFullName(name)).exists()  ) {
     73  if ( File(Resources::ResourceManager::getInstance()->prependAbsoluteMainPath(name)).exists()  ) {
    7074
    71     this->setClassID(CL_BSP_ENTITY, "BspEntity");
    7275    this->bspManager = new BspManager(this);
    7376
Note: See TracChangeset for help on using the changeset viewer.