Changeset 3192 for code/branches/pch/src/orxonox/objects/weaponsystem
- Timestamp:
- Jun 18, 2009, 10:00:15 AM (15 years ago)
- Location:
- code/branches/pch/src/orxonox/objects/weaponsystem
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pch/src/orxonox/objects/weaponsystem/MuzzleFlash.cc
r3185 r3192 40 40 { 41 41 RegisterObject(MuzzleFlash); 42 this->setScale(0.1 );42 this->setScale(0.1f); 43 43 44 44 this->delayTimer_.setTimer(0.1f, false, this, createExecutor(createFunctor(&MuzzleFlash::destroy))); -
code/branches/pch/src/orxonox/objects/weaponsystem/projectiles/BillboardProjectile.cc
r3188 r3192 44 44 { 45 45 assert(this->getScene()->getSceneManager()); // getScene() was already checked by WorldEntity 46 this->billboard_.setBillboardSet(this->getScene()->getSceneManager(), "Examples/Flare", ColourValue(0.5 , 0.5, 0.7, 0.8), 1);46 this->billboard_.setBillboardSet(this->getScene()->getSceneManager(), "Examples/Flare", ColourValue(0.5f, 0.5f, 0.7f, 0.8f), 1); 47 47 this->attachOgreObject(this->billboard_.getBillboardSet()); 48 48 } -
code/branches/pch/src/orxonox/objects/weaponsystem/projectiles/LightningGunProjectile.cc
r3185 r3192 42 42 this->textureIndex_ = 1; 43 43 this->maxTextureIndex_ = 8; 44 this->textureTimer_.setTimer(0.01 , true, this, createExecutor(createFunctor(&LightningGunProjectile::changeTexture)));44 this->textureTimer_.setTimer(0.01f, true, this, createExecutor(createFunctor(&LightningGunProjectile::changeTexture))); 45 45 46 46 registerVariables();
Note: See TracChangeset
for help on using the changeset viewer.