Changeset 3265 for code/branches/core4/src/orxonox/tools
- Timestamp:
- Jul 1, 2009, 1:24:30 PM (15 years ago)
- Location:
- code/branches/core4/src/orxonox/tools
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core4/src/orxonox/tools/BillboardSet.cc
r3250 r3265 74 74 if (GameMode::showsGraphics()) 75 75 { 76 this->billboardSet_ = scenemanager->createBillboardSet("Billboard" + convertToString(BillboardSet::billboardSetCounter_s++), count);76 this->billboardSet_ = scenemanager->createBillboardSet("Billboard" + multi_cast<std::string>(BillboardSet::billboardSetCounter_s++), count); 77 77 this->billboardSet_->createBillboard(position); 78 78 this->billboardSet_->setMaterialName(file); … … 97 97 if (GameMode::showsGraphics()) 98 98 { 99 this->billboardSet_ = scenemanager->createBillboardSet("Billboard" + convertToString(BillboardSet::billboardSetCounter_s++), count);99 this->billboardSet_ = scenemanager->createBillboardSet("Billboard" + multi_cast<std::string>(BillboardSet::billboardSetCounter_s++), count); 100 100 this->billboardSet_->createBillboard(position, colour); 101 101 this->billboardSet_->setMaterialName(file); -
code/branches/core4/src/orxonox/tools/Mesh.cc
r3250 r3265 68 68 try 69 69 { 70 this->entity_ = this->scenemanager_->createEntity("Mesh" + convertToString(Mesh::meshCounter_s++), meshsource);70 this->entity_ = this->scenemanager_->createEntity("Mesh" + multi_cast<std::string>(Mesh::meshCounter_s++), meshsource); 71 71 this->entity_->setCastShadows(this->bCastShadows_); 72 72 -
code/branches/core4/src/orxonox/tools/ParticleInterface.cc
r3257 r3265 69 69 try 70 70 { 71 this->particleSystem_ = this->scenemanager_->createParticleSystem("particles" + getConvertedValue<unsigned int,std::string>(ParticleInterface::counter_s++), templateName);71 this->particleSystem_ = this->scenemanager_->createParticleSystem("particles" + multi_cast<std::string>(ParticleInterface::counter_s++), templateName); 72 72 this->setSpeedFactor(1.0f); 73 73 } -
code/branches/core4/src/orxonox/tools/TextureGenerator.cc
r3196 r3265 72 72 if (it == colourMap.end()) 73 73 { 74 std::string materialName = textureName + "_Material_" + convertToString(materialCount_s++);74 std::string materialName = textureName + "_Material_" + multi_cast<std::string>(materialCount_s++); 75 75 Ogre::MaterialPtr material = (Ogre::MaterialPtr)Ogre::MaterialManager::getSingleton().create(materialName, "General"); 76 76 material->getTechnique(0)->getPass(0)->setSceneBlending(Ogre::SBT_TRANSPARENT_ALPHA);
Note: See TracChangeset
for help on using the changeset viewer.