Add GitHub Actions

This commit is contained in:
TheBrokenRail
2023-10-10 16:29:42 -04:00
parent 100dd1db5d
commit 9d4fb44a89
4 changed files with 39 additions and 0 deletions

View File

@@ -23,6 +23,7 @@ void SoundEngine::init(Options* options)
// TODO: Who's the genius who decided it'd be better to check a name string rather than an enum?
m_pOptions = options;
#ifndef MISSING_SOUND_DATA
m_repository.add("step.cloth", SA_cloth1);
m_repository.add("step.cloth", SA_cloth2);
m_repository.add("step.cloth", SA_cloth3);
@@ -56,6 +57,7 @@ void SoundEngine::init(Options* options)
m_repository.add("random.splash", SA_splash);
m_repository.add("random.explode", SA_explode);
m_repository.add("random.click", SA_click);
#endif
}
void SoundEngine::play(const std::string& name)