Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9709 in orxonox.OLD for branches/new_class_id/src/orxonox.cc


Ignore:
Timestamp:
Aug 31, 2006, 10:51:08 PM (19 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/orxonox.cc

    r9406 r9709  
    4646
    4747#include "util/loading/factory.h"
    48 #include "fast_factory.h"
     48#include "loading/fast_factory.h"
    4949
    5050#include "benchmark.h"
    5151
    52 #include "class_list.h"
    5352#include "shell_command_class.h"
    5453#include "shell_command.h"
     
    9796REGISTER_ARG_ARG(  _, write_dict,  "compression", "writedict",    "write packets to DATA/dicts/newdict",               "numBytes" );
    9897
     98NewObjectListDefinition(Orxonox);
    9999
    100100/**
     
    105105Orxonox::Orxonox ()
    106106{
    107   this->setClassID(CL_ORXONOX, "Orxonox");
     107  this->registerObject(this, Orxonox::_objectList);
    108108  this->setName("orxonox-main");
    109109
     
    146146
    147147  SDL_QuitSubSystem(SDL_INIT_TIMER);
    148   ClassList::debug();
     148
     149
     150  NewObjectListBase::debugAll(1);
    149151
    150152  Preferences::getInstance()->save();
Note: See TracChangeset for help on using the changeset viewer.