Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 22, 2006, 2:36:54 PM (19 years ago)
Author:
bensch
Message:

new_class_id: many more classes done

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/new_class_id/src/lib/particles/plane_emitter.cc

    r9406 r9686  
    2323#include "util/loading/factory.h"
    2424#include "debug.h"
    25 #include "stdlibincl.h"
    2625
    27 
    28 
     26#include "class_id.h"
    2927
    3028CREATE_FACTORY(PlaneEmitter, CL_PLANE_EMITTER);
     29NewObjectListDefinitionID(PlaneEmitter, CL_PLANE_EMITTER);
    3130
    3231/**
     
    6867void PlaneEmitter::init()
    6968{
    70   this->setClassID(CL_PLANE_EMITTER, "PlaneEmitter");
     69  this->registerObject(this, PlaneEmitter::_objectList);
    7170  this->setSize(1.0f, 1.0f);
    7271}
Note: See TracChangeset for help on using the changeset viewer.