Merge remote-tracking branch 'origin/Sound+Particles'

Conflicts:
	src/GameWorld.cpp
This commit is contained in:
2014-06-04 04:24:10 +02:00
10 changed files with 112 additions and 35 deletions
+2 -1
View File
@@ -10,13 +10,14 @@ namespace Components
struct SoundEmitter : Component
{
enum class SoundType
{
SOUND_3D,
SOUND_2D
};
SoundEmitter() : Gain(1.f), MaxDistance(1.f), MinDistance(1.f), Pitch(1.f), Loop(false) {}
SoundEmitter() : Gain(1.f), MaxDistance(10000.f), MinDistance(1.f), Pitch(1.f), Loop(false) {}
float Gain;
float MaxDistance;
float MinDistance;