Changeset 7163 for code/trunk/src/orxonox/sound
- Timestamp:
- Aug 11, 2010, 8:55:13 AM (14 years ago)
- Location:
- code/trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
-
code/trunk/src/orxonox/sound/BaseSound.cc
r6502 r7163 33 33 #include <al.h> 34 34 35 #include "util/Math.h" 35 36 #include "core/CoreIncludes.h" 36 37 #include "core/GameMode.h" … … 248 249 else // No source acquired so far, but might be set to playing or paused 249 250 { 250 State state = this->state_; // save251 State state = static_cast<State>(this->state_); // save 251 252 if (this->isPlaying() || this->isPaused()) 252 253 doPlay(); -
code/trunk/src/orxonox/sound/BaseSound.h
r6417 r7163 112 112 float volume_; 113 113 bool bLooping_; 114 State state_;114 uint8_t state_; // This Variable is actually of type State 115 115 float pitch_; 116 116 -
code/trunk/src/orxonox/sound/SoundStreamer.cc
- Property svn:eol-style set to native
-
code/trunk/src/orxonox/sound/SoundStreamer.h
- Property svn:eol-style set to native
-
code/trunk/src/orxonox/sound/WorldSound.cc
r6417 r7163 58 58 registerVariable(bLooping_, ObjectDirection::ToClient, new NetworkCallback<WorldSound>(this, &WorldSound::loopingChanged)); 59 59 registerVariable(pitch_, ObjectDirection::ToClient, new NetworkCallback<WorldSound>(this, &WorldSound::pitchChanged)); 60 registerVariable(( int&)(BaseSound::state_), ObjectDirection::ToClient, new NetworkCallback<WorldSound>(this, &WorldSound::stateChanged));60 registerVariable((uint8_t&)(BaseSound::state_), ObjectDirection::ToClient, new NetworkCallback<WorldSound>(this, &WorldSound::stateChanged)); 61 61 } 62 62
Note: See TracChangeset
for help on using the changeset viewer.