Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 18, 2009, 10:00:15 AM (15 years ago)
Author:
rgrieder
Message:

Replaced <OgrePrerequisites.h> with "util/OgreForwardRefs.h": I haven't yet realised that OgrePrerequisites.h includes about every single std header by including the OgreMemoryManager.h file.
And while at it, I took care of some type conversions (partially revealed by the missing OgrePrerequisites.h that disabled warnings)

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  
    4040    {
    4141        RegisterObject(MuzzleFlash);
    42         this->setScale(0.1);
     42        this->setScale(0.1f);
    4343       
    4444        this->delayTimer_.setTimer(0.1f, false, this, createExecutor(createFunctor(&MuzzleFlash::destroy)));
  • code/branches/pch/src/orxonox/objects/weaponsystem/projectiles/BillboardProjectile.cc

    r3188 r3192  
    4444        {
    4545            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);
    4747            this->attachOgreObject(this->billboard_.getBillboardSet());
    4848        }
  • code/branches/pch/src/orxonox/objects/weaponsystem/projectiles/LightningGunProjectile.cc

    r3185 r3192  
    4242        this->textureIndex_ = 1;
    4343        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)));
    4545       
    4646        registerVariables();
Note: See TracChangeset for help on using the changeset viewer.