corwinn / h3r

As of 23.08.2023 this project continues elsewhere.____A remake to be of the game engine of the well-known computer game "Heroes of Might and Magic III" and its official expansions.
BSD 3-Clause "New" or "Revised" License
3 stars 0 forks source link

Solve the number of audio channels mystery #23

Closed corwinn closed 1 year ago

corwinn commented 1 year ago

Perhaps I shall dynamically increase them on an "as needed" basis; then: 0: music; 1: UI fx; 2+: game fx; or 0, 1: music (fade in/out), 2:UI, 3+: game fx?

corwinn commented 1 year ago

Description (at the temp. auio code location: os/ui/gl/sdl/h3r_sdlwindow.cpp): https://github.com/corwinn/h3r/commit/2ecdce0037dd648c7619cbca1546832a0c850657 Code(at Button::OnMouseDown()): https://github.com/corwinn/h3r/commit/703ba78f0806473e0dc37bb6b7c8bf0167aef3d1