removed event that's not being used
This commit is contained in:
@@ -177,7 +177,6 @@ void SoundSystem::playQueue(QueuedBuffers qb)
|
||||
alSourcePlay(qb.first);
|
||||
}
|
||||
|
||||
|
||||
void SoundSystem::stopSound(Source* source)
|
||||
{
|
||||
alSourceStop(source->ALsource);
|
||||
@@ -402,7 +401,7 @@ bool SoundSystem::OnPlayerDamage(const Events::PlayerDamage & e)
|
||||
source->Type = SoundType::SFX;
|
||||
m_Sources[child] = source;
|
||||
|
||||
// breathe
|
||||
// Breathe
|
||||
std::vector<ALuint> buffers;
|
||||
buffers.push_back(source->SoundResource->Buffer());
|
||||
int ammountOfbreaths = (static_cast<int>(e.Damage) / 10) + 2; // TEMP: Idk something stupid like this shit
|
||||
@@ -452,14 +451,6 @@ bool SoundSystem::OnComponentAttached(const Events::ComponentAttached & e)
|
||||
return false;
|
||||
}
|
||||
|
||||
bool SoundSystem::OnComponentDeleted(const Events::ComponentDeleted & e)
|
||||
{
|
||||
if (e.ComponentType == "SoundEmitter") {
|
||||
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
bool SoundSystem::OnTriggerTouch(const Events::TriggerTouch & e)
|
||||
{
|
||||
if (m_World->HasComponent(e.Trigger.ID, "CapturePoint")) {
|
||||
|
||||
Reference in New Issue
Block a user