diff --git a/changes.txt b/changes.txt index b8b227feb..96dc121dd 100644 --- a/changes.txt +++ b/changes.txt @@ -4,6 +4,7 @@ LOVE 0.7.0 * Added love.thread module. * Added Source:play, Source:pause, etc. * Added Source:isStatic(). + * Added get/setPosition, get/setVelocity, and get/setDirection to Source. * Added get/setGroupIndex to CircleShape and PolygonShape. * Added Font:getWrap. * Added identity field to love.conf. diff --git a/src/modules/audio/wrap_Source.cpp b/src/modules/audio/wrap_Source.cpp index ad735874b..0196de0ef 100644 --- a/src/modules/audio/wrap_Source.cpp +++ b/src/modules/audio/wrap_Source.cpp @@ -199,6 +199,13 @@ namespace audio { "getPitch", w_Source_getPitch }, { "setVolume", w_Source_setVolume }, { "getVolume", w_Source_getVolume }, + { "setPosition", w_Source_setPosition }, + { "getPosition", w_Source_getPosition }, + { "setVelocity", w_Source_setVelocity }, + { "getVelocity", w_Source_getVelocity }, + { "setDirection", w_Source_setDirection }, + { "getDirection", w_Source_getDirection }, + { "setLooping", w_Source_setLooping }, { "isLooping", w_Source_isLooping }, { "isStopped", w_Source_isStopped },