Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement a sound source tracking mechanism #4

Open
irydacea opened this issue Dec 28, 2013 · 0 comments
Open

Implement a sound source tracking mechanism #4

irydacea opened this issue Dec 28, 2013 · 0 comments
Assignees

Comments

@irydacea
Copy link
Member

Currently, there is no mechanism provided by the Wesnoth engine to list existing [sound_source]s according to any given set of criteria. This makes it awkward at this time to disable or enable sound sources temporarily in the middle of a scenario.

A possible solution that doesn't require modifying the engine is wrapping the implementation of [sound_source] in Lua so that each time a sound source is configured, it is added to a table (WML variable, say, $__lua_AtS_sound_sources) that can be queried later and potentially filtered by some criteria. [remove_sound_source] could use additional filtering like that.

@ghost ghost assigned irydacea Dec 28, 2013
@irydacea irydacea removed this from the 0.9.9 milestone Nov 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant