z_mirror/sdl-osu

git clone https://git.raiguard.me/z_mirror/sdl-osu

Caleb HeuerSwitch to four-space indents and inline braces836a89c

trunk
572 B21 linesraw
1// TODO: Does this file need to exist?
2
3#pragma once
4#include <SDL3/SDL_stdinc.h>
5
6struct Osu_Game;
7struct Osu_HitObject;
8
9enum Osu_HitSound : Uint8 {
10    OSU_HITSOUND_INVALID = 0,
11    OSU_HITSOUND_NORMAL = 1,
12    OSU_HITSOUND_WHISTLE = 2,
13    OSU_HITSOUND_FINISH = 4,
14    OSU_HITSOUND_CLAP = 8,
15};
16
17// If none are specified, the normal hitsound is used by default.
18// LayeredHitSounds skin property will force Normal to always be included, and is on by default.
19typedef Uint8 Osu_HitSounds;
20
21bool Osu_ShouldPlayHitSound(Osu_HitSounds hitSounds, enum Osu_HitSound sound);