Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 2, 2009, 5:40:13 PM (14 years ago)
Author:
youngk
Message:

Speed dependent pitching of the sounds works now for engine states: normal and boost.

File:
1 edited

Legend:

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

    r6202 r6207  
    6464            void addEffectContainer(EffectContainer* effect);
    6565            EffectContainer* getEffectContainer(unsigned int index) const;
     66           
    6667            void setDefEngSndNormal(const std::string& engineSound);
    6768            const std::string& getDefEngSndNormal();
     69            void setDefEngSndBoost(const std::string& engineSound);
     70            const std::string& getDefEngSndBoost();
    6871
    6972        private:
     
    7275            std::vector<EffectContainer*> effectContainers_;
    7376            WorldSound* defEngineSndNormal_;
     77            WorldSound* defEngineSndBoost_;
    7478    };
    7579}
Note: See TracChangeset for help on using the changeset viewer.