group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
SfxTypes.hpp File Reference

Sound effect identifiers, categories, and the SoundClip data type. More...

#include <SDL3/SDL_audio.h>
#include <cstdint>
#include <vector>
Include dependency graph for SfxTypes.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  SoundClip
 A decoded sound clip ready for playback. More...
 

Enumerations

enum class  SfxId : uint8_t {
  RifleFire , RocketFire , RailGunFire , EnergyGunFire ,
  FleshHit , Headshot , Explosion , DamageTaken ,
  ArmorBreak , Death , Respawn , KillConfirm ,
  ChargeRifleLoad , ChargeRifleShoot , EnergyBeamLoop , Healing ,
  ShieldRecharge , _Count
}
 Identifies a loaded sound clip. More...
 
enum class  SfxCategory : uint8_t {
  Weapons , Impacts , Player , UI ,
  _Count
}
 Sound category for per-category volume control. More...
 

Detailed Description

Sound effect identifiers, categories, and the SoundClip data type.

Enumeration Type Documentation

◆ SfxCategory

enum class SfxCategory : uint8_t
strong

Sound category for per-category volume control.

Enumerator
Weapons 
Impacts 
Player 
UI 
_Count 

◆ SfxId

enum class SfxId : uint8_t
strong

Identifies a loaded sound clip.

Enumerator
RifleFire 

Voicy_Charge Rifle SFX.mp3.

RocketFire 

Voicy_Minecraft TNT Explosion.mp3.

RailGunFire 

Voicy_Charge Rifle SFX.mp3.

EnergyGunFire 

Voicy_Charge Rifle SFX.mp3.

FleshHit 

Voicy_Flesh Bullet Impact SFX.mp3.

Headshot 

Voicy_Headshot Rapid SFX.mp3.

Explosion 

Voicy_Minecraft TNT Explosion.mp3.

DamageTaken 

Voicy_roblox ooof.mp3.

ArmorBreak 

Voicy_Fortnite Shield Break.mp3.

Death 

Voicy_Minecraft Death Sound.mp3.

Respawn 

Voicy_totem of undying sfx .mp3.

KillConfirm 

Voicy_Pilot Killed Indicator SFX.mp3.

ChargeRifleLoad 

charge-rifle-load.wav (play once when charge starts)

ChargeRifleShoot 

charge-rifle-shoot.wav (play on release)

EnergyBeamLoop 

Voicy_Thunderstruck into.mp3 (play while beam active)

Healing 

Voicy_Syringe SFX .mp3.

ShieldRecharge 

Voicy_Halo Shield Recharge.mp3.

_Count