Changeset 9760 in orxonox.OLD for branches/new_class_id/src/world_entities/particles
- Timestamp:
- Sep 19, 2006, 3:44:38 PM (18 years ago)
- Location:
- branches/new_class_id/src/world_entities/particles
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/new_class_id/src/world_entities/particles/dot_particles.cc
r9716 r9760 22 22 #include "material.h" 23 23 #include "state.h" 24 #include "shell_command.h"25 24 26 25 #include "class_id_DEPRECATED.h" … … 28 27 ObjectListDefinitionID(DotParticles, CL_DOT_PARTICLES); 29 28 CREATE_FACTORY(DotParticles); 30 31 SHELL_COMMAND(texture, DotParticles, setMaterialTexture)32 ->defaultValues("maps/evil-flower.png");33 34 29 35 30 … … 80 75 { 81 76 ParticleSystem::loadParams(root); 82 83 LoadParam(root, "texture", this, DotParticles, setMaterialTexture);84 77 } 85 78 -
branches/new_class_id/src/world_entities/particles/dot_particles.h
r9715 r9760 22 22 virtual void loadParams(const TiXmlElement* root); 23 23 24 void setMaterialTexture(const std::string& textureFile);25 26 24 /** @returns the Material that lies on this particles */ 27 25 inline const Material* getMaterial() const { return &this->material; };
Note: See TracChangeset
for help on using the changeset viewer.