Changeset 655 for code/branches/FICN/src
- Timestamp:
- Dec 19, 2007, 1:10:23 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/src/loader/LevelLoader.cc
r625 r655 145 145 audio::AudioManager* auMan = orxonox::Orxonox::getSingleton()->getAudioManagerPointer(); 146 146 audioElem = rootElement->FirstChildElement("audio"); 147 147 148 if (audioElem) 148 149 { … … 155 156 if (tNode->Type() == TiXmlNode::ELEMENT) 156 157 { 158 157 159 tElem = tNode->ToElement(); 158 160 std::string elemVal = tElem->Value(); 159 161 if (elemVal == "ogg") 160 162 { 163 COUT(0) << "Adding sound "<< tElem->Attribute("src") << "\n\n\n"; 164 161 165 auMan->ambientAdd(tElem->Attribute("src")); 162 166 } 163 167 } 164 168 } 169 auMan->ambientStart(); 165 170 } 166 171 } … … 194 199 mLoadOverlay->hide(); 195 200 } 201 202 196 203 COUT(0) << "Loading finished!\n\n\n\n\n"; 197 204 }
Note: See TracChangeset
for help on using the changeset viewer.