Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9869 in orxonox.OLD for trunk/src/world_entities/environment.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/environment.cc

    r9406 r9869  
    2020#include "environment.h"
    2121
    22 #include "util/loading/resource_manager.h"
    23 
    24 #include "vector.h"
    2522#include "objModel.h"
    2623#include "obb_tree.h"
    2724#include "util/loading/factory.h"
    2825
    29 
    30 CREATE_FACTORY(Environment, CL_ENVIRONMENT);
     26#include "class_id_DEPRECATED.h"
     27ObjectListDefinitionID(Environment, CL_ENVIRONMENT);
     28CREATE_FACTORY(Environment);
    3129
    3230/**
     
    6361void Environment::init()
    6462{
    65   this->setClassID(CL_ENVIRONMENT, "Environment");
     63  this->registerObject(this, Environment::_objectList);
    6664  this->toList(OM_ENVIRON);
    6765}
Note: See TracChangeset for help on using the changeset viewer.