Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 11, 2009, 2:05:00 AM (15 years ago)
Author:
scheusso
Message:

various fixes for client: NHC, sound, callback handling of Vector4 & Quaternion

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation2/src/orxonox/sound/BaseSound.h

    r6307 r6320  
    5959        virtual void pause();
    6060
    61         bool isPlaying() { return this->state_ == Playing; }
    62         bool isPaused()  { return this->state_ == Paused; }
    63         bool isStopped() { return this->state_ == Stopped; }
     61        bool isPlaying() const { return this->state_ == Playing; }
     62        bool isPaused()  const { return this->state_ == Paused; }
     63        bool isStopped() const { return this->state_ == Stopped; }
    6464
    6565        void setPlaying(bool val)
     
    8484        void setPitch(float pitch);
    8585        inline void pitchChanged(){ this->setPitch(this->pitch_); }
     86       
     87        void stateChanged();
    8688
    8789        //ALuint getALAudioSource(void);
Note: See TracChangeset for help on using the changeset viewer.