Commit graph

6 commits

Author SHA1 Message Date
Anders Jenbo
4a7ba94702 🎨 Run clang-format 2021-05-07 23:26:39 +02:00
Anders Jenbo
c11945e62b 🎨 Fix line endings 2021-05-07 23:22:51 +02:00
Vladimir Olteanu
d9a4ff8729
Use std::string_view for towners' names (#1750) 2021-05-02 06:51:32 +02:00
Gleb Mazovetskiy
7bdfb0655c 🐞 Support multiple playback of the same sound 2021-05-02 00:36:36 +02:00
Gleb Mazovetskiy
acee2ef14c 🎉 Switch from SDL_mixer to SDL_audiolib
SDL_mixer can only stream a single music track
SDL_audiolib has unlimited streams.

With this change, we finally have streaming sounds (respecting
sfx_STREAM).

Audio options can now also be set via diablo.ini, which should help us
better diagnose the static noise issues.
2021-04-27 00:54:50 +01:00
Jmgr
2b672289e1 Fix optional being in experimental/ with some compilers 2021-04-25 22:26:37 +02:00