z_mirror/sdl-osu
git clone https://git.raiguard.me/z_mirror/sdl-osu
836a89c
trunk
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 { 10OSU_HITSOUND_INVALID = 0 , 11OSU_HITSOUND_NORMAL = 1 , 12OSU_HITSOUND_WHISTLE = 2 , 13OSU_HITSOUND_FINISH = 4 , 14OSU_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 );