|
group2 0.1.0
CSE 125 Group 2
|
Client-side sound effects system. More...
#include "AudioMath.hpp"#include "AudioRuntime.hpp"#include "SfxTypes.hpp"#include "ecs/components/ClientId.hpp"#include "ecs/registry/Registry.hpp"#include "particles/ParticleEvents.hpp"#include <SDL3/SDL.h>#include <array>#include <cstdint>#include <mutex>#include <span>#include <string>#include <unordered_map>#include <vector>Go to the source code of this file.
Classes | |
| struct | SfxRuntimeStats |
| class | SfxSystem |
| Client-side sound effects system. More... | |
| struct | SfxSystem::Source |
Client-side sound effects system.
Owns the SDL3 audio device, clip bank, source pool, and custom mixer. Follows the same init / update / quit lifecycle as ParticleSystem. Subscribes to entt::dispatcher events (WeaponFiredEvent, ExplosionEvent) and detects client-side state changes (health, death, kills) each update().