Changeset 3013 for code/branches
- Timestamp:
- May 21, 2009, 9:25:16 PM (15 years ago)
- Location:
- code/branches/sound2
- Files:
-
- 1 deleted
- 86 edited
- 6 copied
Legend:
- Unmodified
- Added
- Removed
-
code/branches/sound2
- Property svn:mergeinfo changed
/code/branches/sound (added) merged: 2829,2866,2899,2930-2932,2950,2955,2966-2968,2980,2982,2984,2998-2999,3010
- Property svn:mergeinfo changed
-
code/branches/sound2/bin/client1.bat.in
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/bin/client2.bat.in
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/bin/dedicated.bat.in
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/bin/run.bat.in
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/bin/server.bat.in
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/bin/standalone.bat.in
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/cmake/FindDirectX.cmake
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/cmake/LibraryConfigTardis.cmake
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/src/CMakeLists.txt
r2724 r3013 141 141 ADD_SUBDIRECTORY(util) 142 142 ADD_SUBDIRECTORY(core) 143 #ADD_SUBDIRECTORY(audio)144 143 ADD_SUBDIRECTORY(network) 145 144 ADD_SUBDIRECTORY(orxonox) -
code/branches/sound2/src/core/LuaBind.cc
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/src/core/LuaBind.h
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/src/core/Template.cc
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/src/core/Template.h
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/src/core/XMLFile.h
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/src/core/XMLIncludes.h
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/src/cpptcl/cpptcl.cc
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/src/cpptcl/cpptcl.h
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/src/network/synchronisable/NetworkCallback.h
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/src/network/synchronisable/Synchronisable.cc
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/src/network/synchronisable/Synchronisable.h
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/src/orxonox/CMakeLists.txt
r2963 r3013 31 31 ADD_SUBDIRECTORY(overlays) 32 32 ADD_SUBDIRECTORY(tools) 33 ADD_SUBDIRECTORY(sound) 33 34 GET_ALL_HEADER_FILES(ORXONOX_HDR_FILES) 34 35 SET(ORXONOX_FILES ${ORXONOX_SRC_FILES} ${ORXONOX_HDR_FILES}) … … 51 52 ${CEGUILUA_LIBRARY} 52 53 ${Boost_SYSTEM_LIBRARY} 54 ${OPENAL_LIBRARY} 55 ${ALUT_LIBRARY} 56 ${VORBISFILE_LIBRARY} 57 ${VORBIS_LIBRARY} 58 ${OGG_LIBRARY} 53 59 ogreceguirenderer_orxonox 54 60 tinyxml++_orxonox … … 58 64 core 59 65 network 60 #audio61 66 ) 62 67 -
code/branches/sound2/src/orxonox/CameraManager.cc
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/src/orxonox/CameraManager.h
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/src/orxonox/OrxonoxPrereqs.h
r2911 r3013 250 250 //gui 251 251 class GUIManager; 252 253 //sound 254 class SoundBase; 255 class SoundManger; 252 256 } 253 257 -
code/branches/sound2/src/orxonox/objects/Level.cc
- Property svn:mergeinfo changed
/code/branches/sound/src/orxonox/objects/Level.cc (added) merged: 2950,2955,2966,2980
r2911 r3013 41 41 #include "objects/gametypes/Gametype.h" 42 42 #include "overlays/OverlayGroup.h" 43 #include "sound/SoundBase.h" 43 44 44 45 #include "util/Math.h" … … 68 69 if (this->xmlfile_) 69 70 Loader::unload(this->xmlfile_); 71 72 if(this->ambientsound_ != NULL) 73 delete this->ambientsound_; 70 74 } 71 75 } … … 77 81 XMLPortParam(Level, "description", setDescription, getDescription, xmlelement, mode); 78 82 XMLPortParam(Level, "gametype", setGametypeString, getGametypeString, xmlelement, mode).defaultValues("Gametype"); 83 84 XMLPortParamLoadOnly(Level, "ambientsound", loadAmbientSound, xmlelement, mode); 79 85 80 86 XMLPortObjectExtended(Level, BaseObject, "", addObject, getObject, xmlelement, mode, true, false); … … 148 154 } 149 155 156 void Level::loadAmbientSound(const std::string& filename) 157 { 158 if(filename == "") return; 159 else 160 { 161 if(this->ambientsound_ == NULL) 162 { 163 this->ambientsound_ = new SoundBase(); 164 } 165 166 this->ambientsound_->loadFile(filename); 167 this->ambientsound_->play(true); 168 } 169 } 170 150 171 void Level::playerEntered(PlayerInfo* player) 151 172 { - Property svn:mergeinfo changed
-
code/branches/sound2/src/orxonox/objects/Level.h
- Property svn:mergeinfo changed
/code/branches/sound/src/orxonox/objects/Level.h (added) merged: 2950,2966,2980
r2911 r3013 51 51 { return this->description_; } 52 52 53 void loadAmbientSound(const std::string& filename); 54 53 55 void playerEntered(PlayerInfo* player); 54 56 void playerLeft(PlayerInfo* player); … … 69 71 XMLFile* xmlfile_; 70 72 std::list<BaseObject*> objects_; 73 74 SoundBase* ambientsound_; 71 75 }; 72 76 } - Property svn:mergeinfo changed
-
code/branches/sound2/src/orxonox/objects/collisionshapes
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/src/orxonox/objects/gametypes/TeamDeathmatch.cc
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/src/orxonox/objects/gametypes/TeamDeathmatch.h
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/src/orxonox/objects/items/Engine.cc
r2662 r3013 36 36 #include "objects/worldentities/pawns/SpaceShip.h" 37 37 #include "tools/Shader.h" 38 #include "sound/SoundBase.h" 38 39 39 40 namespace orxonox … … 66 67 this->setConfigValues(); 67 68 this->registerVariables(); 69 70 this->sound_ = NULL; 68 71 } 69 72 … … 76 79 if (this->boostBlur_) 77 80 delete this->boostBlur_; 81 82 if(this->sound_ != NULL) 83 delete this->sound_; 78 84 } 79 85 } … … 95 101 XMLPortParam(Engine, "accelerationleftright", setAccelerationLeftRight, setAccelerationLeftRight, xmlelement, mode); 96 102 XMLPortParam(Engine, "accelerationupdown", setAccelerationUpDown, setAccelerationUpDown, xmlelement, mode); 103 104 XMLPortParamLoadOnly(Engine, "sound", loadSound, xmlelement, mode); 97 105 } 98 106 … … 219 227 { 220 228 this->ship_ = ship; 229 221 230 if (ship) 222 231 { … … 230 239 this->boostBlur_ = 0; 231 240 } 241 242 if(this->sound_ != NULL) 243 this->sound_->attachToEntity(ship); 232 244 } 233 245 } … … 240 252 return Vector3::ZERO; 241 253 } 254 255 void Engine::loadSound(const std::string filename) 256 { 257 if(filename == "") return; 258 else 259 { 260 if(this->sound_ == NULL) 261 { 262 this->sound_ = new SoundBase(this->ship_); 263 } 264 265 this->sound_->loadFile(filename); 266 this->sound_->play(true); 267 } 268 } 242 269 } -
code/branches/sound2/src/orxonox/objects/items/Engine.h
r2662 r3013 107 107 virtual const Vector3& getDirection() const; 108 108 109 void loadSound(const std::string filename); 110 109 111 private: 110 112 void networkcallback_shipID(); … … 129 131 Shader* boostBlur_; 130 132 float blurStrength_; 133 134 SoundBase* sound_; 131 135 }; 132 136 } -
code/branches/sound2/src/orxonox/objects/pickup/Usable.h
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/src/orxonox/objects/quest/AddQuest.cc
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/src/orxonox/objects/quest/AddQuest.h
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/src/orxonox/objects/quest/AddQuestHint.cc
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/src/orxonox/objects/quest/AddQuestHint.h
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/src/orxonox/objects/quest/AddReward.cc
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/src/orxonox/objects/quest/AddReward.h
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/src/orxonox/objects/quest/ChangeQuestStatus.cc
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/src/orxonox/objects/quest/ChangeQuestStatus.h
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/src/orxonox/objects/quest/CompleteQuest.cc
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/src/orxonox/objects/quest/CompleteQuest.h
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/src/orxonox/objects/quest/FailQuest.cc
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/src/orxonox/objects/quest/FailQuest.h
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/src/orxonox/objects/quest/GlobalQuest.cc
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/src/orxonox/objects/quest/GlobalQuest.h
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/src/orxonox/objects/quest/LocalQuest.cc
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/src/orxonox/objects/quest/LocalQuest.h
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/src/orxonox/objects/quest/Quest.cc
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/src/orxonox/objects/quest/Quest.h
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/src/orxonox/objects/quest/QuestDescription.cc
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/src/orxonox/objects/quest/QuestDescription.h
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/src/orxonox/objects/quest/QuestEffect.cc
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/src/orxonox/objects/quest/QuestEffect.h
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/src/orxonox/objects/quest/QuestHint.cc
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/src/orxonox/objects/quest/QuestHint.h
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/src/orxonox/objects/quest/QuestItem.cc
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/src/orxonox/objects/quest/QuestItem.h
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/src/orxonox/objects/quest/QuestManager.cc
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/src/orxonox/objects/quest/QuestManager.h
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/src/orxonox/objects/quest/Rewardable.cc
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/src/orxonox/objects/quest/Rewardable.h
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/src/orxonox/objects/weaponSystem/WeaponSystem.cc
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/src/orxonox/objects/weaponSystem/WeaponSystem.h
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/src/orxonox/objects/worldentities/Backlight.cc
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/src/orxonox/objects/worldentities/Backlight.h
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/src/orxonox/objects/worldentities/Camera.cc
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/src/orxonox/objects/worldentities/Camera.h
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/src/orxonox/objects/worldentities/MobileEntity.cc
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/src/orxonox/objects/worldentities/MobileEntity.h
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/src/orxonox/objects/worldentities/ParticleSpawner.cc
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/src/orxonox/objects/worldentities/ParticleSpawner.h
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/src/orxonox/objects/worldentities/StaticEntity.cc
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/src/orxonox/objects/worldentities/StaticEntity.h
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/src/orxonox/objects/worldentities/triggers/DistanceTrigger.cc
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/src/orxonox/objects/worldentities/triggers/DistanceTrigger.h
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/src/orxonox/objects/worldentities/triggers/Trigger.cc
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/src/orxonox/objects/worldentities/triggers/Trigger.h
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/src/orxonox/sound/SoundBase.cc
r3011 r3013 34 34 #include "SoundBase.h" 35 35 #include "SoundManager.h" 36 #include "core/Core.h" 36 37 37 38 namespace orxonox -
code/branches/sound2/src/tolua/all-5.0.lua
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/src/tolua/all-5.1.lua
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/src/util
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/src/util/Exception.cc
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/src/util/Exception.h
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/src/util/SignalHandler.cc
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/sound2/src/util/SignalHandler.h
- Property svn:mergeinfo changed (with no actual effect on merging)
Note: See TracChangeset
for help on using the changeset viewer.