Skip to content
This repository
Browse code

Added the possibility to preload a music at the script level.

  • Loading branch information...
commit 108226c46c38a4497af23fd02828c1befa7bb8c7 1 parent 82843de
Yohann Ferreira authored

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. +1 0  src/engine/engine_bindings.cpp
1  src/engine/engine_bindings.cpp
@@ -45,6 +45,7 @@ void BindEngineCode()
45 45 luabind::class_<AudioEngine>("GameAudio")
46 46 .def("PlaySound", &AudioEngine::PlaySound)
47 47 .def("PlayMusic", &AudioEngine::PlayMusic)
  48 + .def("LoadMusic", &AudioEngine::LoadMusic)
48 49 .def("PauseAllMusic", &AudioEngine::PauseAllMusic)
49 50 .def("ResumeAllMusic", &AudioEngine::ResumeAllMusic)
50 51 .def("FadeOutAllMusic", &AudioEngine::FadeOutAllMusic)

0 comments on commit 108226c

Please sign in to comment.
Something went wrong with that request. Please try again.