Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 22, 2006, 2:36:54 PM (18 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/graphics/effects/lense_flare.cc

    r9406 r9686  
    3333#include "camera.h"
    3434
    35 
    36 
    37 
     35#include "class_id.h"
    3836
    3937CREATE_FACTORY(LenseFlare, CL_LENSE_FLARE);
    40 
     38NewObjectListDefinitionID(LenseFlare, CL_LENSE_FLARE);
    4139
    4240/**
     
    4543 */
    4644LenseFlare::LenseFlare(const TiXmlElement* root) {
    47     this->setClassID(CL_LENSE_FLARE, "LenseFlare");
     45  this->registerObject(this, LenseFlare::_objectList);
    4846
    4947    /*          length                      image scale */
Note: See TracChangeset for help on using the changeset viewer.