Changeset 6205
- Timestamp:
- Dec 2, 2009, 5:12:06 PM (15 years ago)
- Location:
- code/branches/presentation2/src/orxonox
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/src/orxonox/MoodManager.cc
r6182 r6205 78 78 ResetConfigValue(mood_); 79 79 } 80 COUT( 0) << "MoodManager: Mood now set to " << mood_ << std::endl;80 COUT(3) << "MoodManager: Mood now set to " << mood_ << std::endl; 81 81 return; 82 82 } -
code/branches/presentation2/src/orxonox/items/MultiStateEngine.cc
r6202 r6205 107 107 { 108 108 newState = Boost; 109 pitch = pitch/MAX_VELOCITY_BOOST + 1;109 /*pitch = pitch/MAX_VELOCITY_BOOST + 1; 110 110 pitch = pitch > 2 ? 2 : pitch; 111 111 pitch = pitch < 0.5 ? 0.5 : pitch; 112 defEngineSndNormal_->setPitch(pitch); 112 defEngineSndNormal_->setPitch(pitch);*/ 113 113 } 114 114 else if (forward && !newState) // newState == Boost -
code/branches/presentation2/src/orxonox/sound/BaseSound.cc
r6204 r6205 151 151 if (int error = alGetError()) 152 152 COUT(2) << "Sound: Error setting pitch: " << error << std::endl; 153 alSource i(this->audioSource_, AL_PITCH, pitch);153 alSourcef(this->audioSource_, AL_PITCH, pitch); 154 154 } 155 155 }
Note: See TracChangeset
for help on using the changeset viewer.