Changeset 6512 in orxonox.OLD for trunk/src/lib
- Timestamp:
- Jan 17, 2006, 10:01:07 PM (19 years ago)
- Location:
- trunk/src/lib
- Files:
-
- 19 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/coord/p_node.cc
r6498 r6512 123 123 void PNode::loadParams(const TiXmlElement* root) 124 124 { 125 static_cast<BaseObject*>(this)->loadParams(root);125 BaseObject::loadParams(root); 126 126 127 127 LoadParam(root, "rel-coor", this, PNode, setRelCoor) -
trunk/src/lib/coord/p_node.h
r6498 r6512 78 78 virtual ~PNode (); 79 79 80 v oid loadParams(const TiXmlElement* root);80 virtual void loadParams(const TiXmlElement* root); 81 81 82 82 void init(); -
trunk/src/lib/graphics/light.cc
r5982 r6512 86 86 void Light::loadParams(const TiXmlElement* root) 87 87 { 88 static_cast<PNode*>(this)->loadParams(root);88 PNode::loadParams(root); 89 89 90 90 LoadParam(root, "diffuse-color", this, Light, setDiffuseColor) -
trunk/src/lib/graphics/light.h
r5405 r6512 29 29 virtual ~Light(); 30 30 31 v oid loadParams(const TiXmlElement* root);31 virtual void loadParams(const TiXmlElement* root); 32 32 33 33 void setDiffuseColor(GLfloat r, GLfloat g, GLfloat b); … … 95 95 inline static LightManager* getInstance() { if (!singletonRef) singletonRef = new LightManager(); return singletonRef; }; 96 96 97 v oid loadParams(const TiXmlElement* root);97 virtual void loadParams(const TiXmlElement* root); 98 98 void loadLights(const TiXmlElement* root); 99 99 -
trunk/src/lib/graphics/render2D/element_2d.cc
r6307 r6512 131 131 void Element2D::loadParams(const TiXmlElement* root) 132 132 { 133 BaseObject::loadParams(root); 134 133 135 // ELEMENT2D-native settings. 134 136 LoadParam(root, "alignment", this, Element2D, setAlignment) -
trunk/src/lib/graphics/render2D/element_2d.h
r6299 r6512 91 91 virtual ~Element2D(); 92 92 93 v oid loadParams(const TiXmlElement* root);93 virtual void loadParams(const TiXmlElement* root); 94 94 95 95 // ACTIVATION // -
trunk/src/lib/gui/gl_gui/glmenu/glmenu_imagescreen.h
r5312 r6512 17 17 public: 18 18 GLMenuImageScreen (const TiXmlElement* root = NULL); 19 v oid loadParams(const TiXmlElement* root);19 virtual void loadParams(const TiXmlElement* root); 20 20 virtual ~GLMenuImageScreen (); 21 21 -
trunk/src/lib/lang/base_object.h
r6341 r6512 28 28 virtual ~BaseObject (); 29 29 30 v oid loadParams(const TiXmlElement* root);30 virtual void loadParams(const TiXmlElement* root); 31 31 void setName (const char* newName); 32 32 /** returns the Name of this Object */ -
trunk/src/lib/particles/particle_emitter.cc
r5750 r6512 93 93 void ParticleEmitter::loadParams(const TiXmlElement* root) 94 94 { 95 static_cast<PNode*>(this)->loadParams(root);95 PNode::loadParams(root); 96 96 97 97 LoadParam(root, "type", this, ParticleEmitter, setType) -
trunk/src/lib/particles/particle_emitter.h
r5405 r6512 39 39 40 40 void init(); 41 v oid loadParams(const TiXmlElement* root);41 virtual void loadParams(const TiXmlElement* root); 42 42 43 43 /* controlling the emitter: interface */ -
trunk/src/lib/particles/particle_engine.h
r5944 r6512 37 37 inline static ParticleEngine* getInstance() { if (!singletonRef) singletonRef = new ParticleEngine(); return singletonRef; }; 38 38 39 v oid loadParams(const TiXmlElement* root);39 virtual void loadParams(const TiXmlElement* root); 40 40 41 41 void tick(float dt); -
trunk/src/lib/particles/particle_system.cc
r6308 r6512 116 116 void ParticleSystem::loadParams(const TiXmlElement* root) 117 117 { 118 static_cast<WorldEntity*>(this)->loadParams(root);119 static_cast<PhysicsInterface*>(this)->loadParams(root);118 WorldEntity::loadParams(root); 119 PhysicsInterface::loadParams(root); 120 120 121 121 LoadParam(root, "max-count", this, ParticleSystem, setMaxCount) -
trunk/src/lib/particles/particle_system.h
r5446 r6512 74 74 75 75 void init(); 76 v oid loadParams(const TiXmlElement* root);76 virtual void loadParams(const TiXmlElement* root); 77 77 78 78 void setType(const char* particleType); -
trunk/src/lib/physics/fields/field.cc
r5708 r6512 58 58 void Field::loadParams(const TiXmlElement* root) 59 59 { 60 static_cast<PNode*>(this)->loadParams(root);60 PNode::loadParams(root); 61 61 62 62 LoadParam(root, "magnitude", this, Field, setMagnitude) -
trunk/src/lib/physics/fields/field.h
r5405 r6512 39 39 40 40 void init(); 41 v oid loadParams(const TiXmlElement* root);41 virtual void loadParams(const TiXmlElement* root); 42 42 43 43 /** -
trunk/src/lib/physics/fields/gravity.cc
r5750 r6512 44 44 void Gravity::loadParams(const TiXmlElement* root) 45 45 { 46 static_cast<Field*>(this)->loadParams(root);46 Field::loadParams(root); 47 47 } 48 48 -
trunk/src/lib/physics/fields/gravity.h
r5405 r6512 21 21 virtual ~Gravity(); 22 22 23 v oid loadParams(const TiXmlElement* root);23 virtual void loadParams(const TiXmlElement* root); 24 24 25 25 virtual Vector calcForce(const Vector& data) const; -
trunk/src/lib/physics/physics_connection.cc
r5750 r6512 50 50 this->type = PCON_PhysIField; 51 51 52 static_cast<BaseObject*>(this)->loadParams(root);52 BaseObject::loadParams(root); 53 53 54 54 LoadParam(root, "subject", this, PhysicsConnection, setSubject) -
trunk/src/lib/physics/physics_engine.h
r5779 r6512 27 27 inline static PhysicsEngine* getInstance() { if (!singletonRef) singletonRef = new PhysicsEngine(); return singletonRef; }; 28 28 29 v oid loadParams(const TiXmlElement* root);29 virtual void loadParams(const TiXmlElement* root); 30 30 void loadFields(const TiXmlElement* root); 31 31 void loadConnections(const TiXmlElement* root);
Note: See TracChangeset
for help on using the changeset viewer.