MCPcopy Create free account
hub / github.com/OpenDUNE/OpenDUNE / Animation_Func_PlayVoice

Function Animation_Func_PlayVoice

src/animation.c:201–204  ·  view source on GitHub ↗

* Play a Voice on the tile of animation. * @param animation The Animation which gives the position the voice plays at. * @param parameter The VoiceID to play. */

Source from the content-addressed store, hash-verified

199 * @param parameter The VoiceID to play.
200 */
201static void Animation_Func_PlayVoice(Animation *animation, int16 parameter)
202{
203 Voice_PlayAtTile(parameter, animation->tile);
204}
205
206void Animation_Init(void)
207{

Callers 1

Animation_TickFunction · 0.85

Calls 1

Voice_PlayAtTileFunction · 0.85

Tested by

no test coverage detected