Changeset 9686 in orxonox.OLD for branches/new_class_id/src/lib/graphics/effects/cloud_effect.cc
- Timestamp:
- Aug 22, 2006, 2:36:54 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/new_class_id/src/lib/graphics/effects/cloud_effect.cc
r9406 r9686 29 29 #include "script_class.h" 30 30 31 #include " parser/tinyxml/tinyxml.h"31 #include "class_id.h" 32 32 33 33 Vector CloudEffect::cloudColor; … … 48 48 49 49 50 CREATE_SCRIPTABLE_CLASS(CloudEffect, C L_CLOUD_EFFECT,50 CREATE_SCRIPTABLE_CLASS(CloudEffect, CloudEffect::classID(), 51 51 addMethod("skyColor", ExecutorLua4<CloudEffect,float,float,float,float>(&CloudEffect::shellSkyColor)) 52 52 ->addMethod("cloudColor", ExecutorLua4<CloudEffect,float,float,float,float>(&CloudEffect::shellCloudColor)) … … 57 57 58 58 CREATE_FACTORY(CloudEffect, CL_CLOUD_EFFECT); 59 NewObjectListDefinitionID(CloudEffect, CL_CLOUD_EFFECT); 59 60 60 61 CloudEffect::CloudEffect(const TiXmlElement* root) { 61 this->setClassID(CL_CLOUD_EFFECT, "CloudEffect");62 this->registerObject(this, CloudEffect::_objectList); 62 63 63 64 this->init();
Note: See TracChangeset
for help on using the changeset viewer.