OpenGothic
Open source reimplementation of Gothic I and II
Loading...
Searching...
No Matches
sounddefinitions.h
Go to the documentation of this file.
1#pragma once
2
3#include <zenkit/addon/daedalus.hh>
4
5#include <unordered_map>
6
7class SoundDefinitions final {
8 public:
10
11 const zenkit::ISoundEffect& operator [](std::string_view name) const;
12
13 private:
14 std::unordered_map<std::string, std::shared_ptr<zenkit::ISoundEffect>> sfx;
15 };
16
const zenkit::ISoundEffect & operator[](std::string_view name) const