Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 31, 2006, 10:51:08 PM (18 years ago)
Author:
bensch
Message:

orxonox/branches/new_class_id: new_class ID working, adapdet many classes, and reinvented some of the ClassID stuff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/new_class_id/src/world_entities/bsp_entity.cc

    r9656 r9709  
    1818#include "util/loading/resource_manager.h"
    1919
    20 CREATE_FACTORY(BspEntity, CL_BSP_ENTITY);
     20#include "class_id.h"
     21NewObjectListDefinitionID(BspEntity, CL_BSP_ENTITY);
     22CREATE_FACTORY(BspEntity);
    2123
    2224
     
    5153void BspEntity::init()
    5254{
     55  this->registerObject(this, BspEntity::_objectList);
    5356
    5457  this->bspManager = NULL;
     
    6972  if ( File(ResourceManager::getFullName(name)).exists()  ) {
    7073
    71     this->setClassID(CL_BSP_ENTITY, "BspEntity");
    7274    this->bspManager = new BspManager(this);
    7375
Note: See TracChangeset for help on using the changeset viewer.