Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6222 for code


Ignore:
Timestamp:
Dec 3, 2009, 12:27:20 AM (15 years ago)
Author:
youngk
Message:

Cleaned up the code a little

Location:
code/branches/presentation2/src/orxonox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation2/src/orxonox/items/MultiStateEngine.cc

    r6207 r6222  
    5555        RegisterObject(MultiStateEngine);
    5656
    57         defEngineSndNormal_ = new WorldSound(this);
    58         defEngineSndBoost_ = new WorldSound(this);
    59         defEngineSndNormal_->setLooping(true);
    60         defEngineSndBoost_->setLooping(true);
     57        this->defEngineSndNormal_ = new WorldSound(this);
     58        this->defEngineSndBoost_ = new WorldSound(this);
     59        this->defEngineSndNormal_->setLooping(true);
     60        this->defEngineSndBoost_->setLooping(true);
    6161
    6262        this->lua_ = new LuaState();
  • code/branches/presentation2/src/orxonox/sound/BaseSound.cc

    r6205 r6222  
    4747        , bLoop_(false)
    4848        , state_(Stopped)
     49        , pitch_ (1.0)
    4950    {
    5051        RegisterRootObject(BaseSound);
    51 
    52         this->volume_ = 1;
    53         this->pitch_ = 1;
    5452
    5553        if (GameMode::playsSound())
Note: See TracChangeset for help on using the changeset viewer.