Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 1, 2011, 5:16:52 AM (14 years ago)
Author:
rgrieder
Message:

Reverted last commit (forgot to tick "Switch working copy to new branch"…)

Location:
code/branches/usability
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/usability

  • code/branches/usability/src/orxonox/sound/AmbientSound.h

    r8005 r8006  
    2222 *   Author:
    2323 *      Reto Grieder
    24  *     
     24 *      Kevin Young
    2525 *   Co-authors:
    26  *      Kevin Young
     26 *      ...
    2727 *
    2828 */
     
    3131#define _AmbientSound_H__
    3232
    33 #include <boost/thread.hpp>
    34 
    35 #include "sound/SoundPrereqs.h"
     33#include "OrxonoxPrereqs.h"
    3634
    3735#include "BaseSound.h"
     
    4139{
    4240    /**
    43      * The AmbientSound class implements the non-3D sound, i.e. sound files that are used for atmospheric
    44      * highlighting.
    45      * It interfaces with BaseSound and is controllable by MoodManager.
    46      * Ambient sounds are always cross-faded. New sounds are registered and activated/deactivated as needed.
    47      *
     41     * The AmbientSound class is used to play background music. It can not be placed
     42     * directly in a level file, use WorldAmbientSound instead.
    4843     */
    4944    class _OrxonoxExport AmbientSound : public BaseSound, public MoodListener
     
    7065        ~AmbientSound() { }
    7166
    72         bool doStop();
    73         void doPlay();
    74 
    7567    private:
    7668        void preDestroy();
     
    8476        std::string ambientSource_; //!< Analogous to source_, but mood independent
    8577        bool        bPlayOnLoad_;   //!< Play the sound immediately when loaded
    86 
    87         boost::thread soundstreamthread_; // hacky solution for streaming
    88         void setStreamSource(const std::string& source);
    8978    };
    9079}
Note: See TracChangeset for help on using the changeset viewer.