Changeset 9667 for code/trunk/src/orxonox/sound
- Timestamp:
- Aug 25, 2013, 9:08:42 PM (11 years ago)
- Location:
- code/trunk
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/core6 merged: 9552-9554,9556-9574,9577-9579,9585-9593,9596-9612,9626-9662
- Property svn:mergeinfo changed
-
code/trunk/src/orxonox/sound/BaseSound.cc
r8858 r9667 43 43 namespace orxonox 44 44 { 45 RegisterAbstractClass(BaseSound).inheritsFrom(Class(Listable)); 46 45 47 BaseSound::BaseSound() 46 48 : bPooling_(false) … … 50 52 , pitch_ (1.0) 51 53 { 52 Register RootObject(BaseSound);54 RegisterObject(BaseSound); 53 55 54 56 // Initialise audioSource_ to a value that is not a source -
code/trunk/src/orxonox/sound/BaseSound.h
r7856 r9667 35 35 #include <boost/shared_ptr.hpp> 36 36 #include <OgreDataStream.h> 37 #include "core/ OrxonoxClass.h"37 #include "core/object/Listable.h" 38 38 39 39 namespace orxonox … … 43 43 * It serves as main interface to the OpenAL library. 44 44 */ 45 class _OrxonoxExport BaseSound : virtual public OrxonoxClass45 class _OrxonoxExport BaseSound : virtual public Listable 46 46 { 47 47 public: -
code/trunk/src/orxonox/sound/SoundManager.cc
r8903 r9667 39 39 #include "util/Clock.h" 40 40 #include "util/ScopedSingletonManager.h" 41 #include "core/ ConfigValueIncludes.h"41 #include "core/config/ConfigValueIncludes.h" 42 42 #include "core/CoreIncludes.h" 43 43 #include "core/GameMode.h" … … 69 69 : effectsPoolSize_(0) 70 70 { 71 Register RootObject(SoundManager);71 RegisterObject(SoundManager); 72 72 73 73 orxout(user_status) << "Loading sound" << endl; -
code/trunk/src/orxonox/sound/SoundManager.h
r8351 r9667 39 39 40 40 #include "util/Singleton.h" 41 #include "core/ OrxonoxClass.h"42 #include "core/ SmartPtr.h"41 #include "core/config/Configurable.h" 42 #include "core/object/SmartPtr.h" 43 43 44 44 // tolua_begin … … 59 59 class _OrxonoxExport SoundManager 60 60 // tolua_end 61 : public Singleton<SoundManager>, public OrxonoxClass61 : public Singleton<SoundManager>, public Configurable 62 62 { // tolua_export 63 63 friend class Singleton<SoundManager>; -
code/trunk/src/orxonox/sound/WorldAmbientSound.cc
r7854 r9667 36 36 namespace orxonox 37 37 { 38 CreateFactory(WorldAmbientSound);38 RegisterClass(WorldAmbientSound); 39 39 40 WorldAmbientSound::WorldAmbientSound( BaseObject* creator) : BaseObject(creator), Synchronisable(creator)40 WorldAmbientSound::WorldAmbientSound(Context* context) : BaseObject(context), Synchronisable(context) 41 41 { 42 42 RegisterObject(WorldAmbientSound); -
code/trunk/src/orxonox/sound/WorldAmbientSound.h
r7854 r9667 44 44 { 45 45 public: 46 WorldAmbientSound( BaseObject* creator);46 WorldAmbientSound(Context* context); 47 47 virtual ~WorldAmbientSound(); 48 48 -
code/trunk/src/orxonox/sound/WorldSound.cc
r8858 r9667 41 41 namespace orxonox 42 42 { 43 CreateFactory(WorldSound);43 RegisterClass(WorldSound); 44 44 45 WorldSound::WorldSound( BaseObject* creator)46 : StaticEntity(c reator)45 WorldSound::WorldSound(Context* context) 46 : StaticEntity(context) 47 47 { 48 48 RegisterObject(WorldSound); -
code/trunk/src/orxonox/sound/WorldSound.h
r7854 r9667 45 45 { 46 46 public: 47 WorldSound( BaseObject* creator);47 WorldSound(Context* context); 48 48 49 49 void XMLPort(Element& xmlelement, XMLPort::Mode mode);
Note: See TracChangeset
for help on using the changeset viewer.