Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 3, 2006, 12:19:30 AM (18 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/story_entities/single_player_world.cc

    r9406 r9869  
    2020
    2121#include "state.h"
    22 #include "class_list.h"
     22#include "debug.h"
    2323
    2424#include "util/loading/load_param.h"
    25 #include "fast_factory.h"
     25#include "loading/fast_factory.h"
    2626#include "util/loading/factory.h"
    2727
     
    3030
    3131
    32 
    33 
    34 
     32#include "class_id_DEPRECATED.h"
    3533//! This creates a Factory to fabricate a SinglePlayerWorld
    36 CREATE_FACTORY(SinglePlayerWorld, CL_SINGLE_PLAYER_WORLD);
    37 
    38 
     34ObjectListDefinitionID(SinglePlayerWorld, CL_SINGLE_PLAYER_WORLD);
     35CREATE_FACTORY(SinglePlayerWorld);
    3936
    4037SinglePlayerWorld::SinglePlayerWorld(const TiXmlElement* root)
    4138  : GameWorld()
    4239{
    43   this->setClassID(CL_SINGLE_PLAYER_WORLD, "SinglePlayerWorld");
     40  this->registerObject(this, SinglePlayerWorld::_objectList);
    4441  this->setName("SinglePlayerWorld uninitialized");
    4542
Note: See TracChangeset for help on using the changeset viewer.